Category: R

r code

One-tailed vs Two-tailed Test for P value

R day 3 In clinical trial studies, P-value is critical for measuring drug efficacy. Typically, the statistical analysis Plan will describe statistical significance as: P-value <0.05 for two-tailed Log Rank Test. Recently, I came across a study with the statistical significance as P-value <0.025 for one-tailed Log Rank test in the analysis plan. Question: Does two-tailed P-value= 0.05 means the…

Median vs Mean

R day 2: I was working on a dataset of Airbnb in New York City from Kaggle, when i run the summary function for the price variable in R, i noticed there’s a strong difference between Mean and Median of the variable. summary(ab$price) Min. 1st Qu. Median Mean  3rd Qu. Max. 0.0    69.0      106.0     152.7  175.0 …

Fractal Art

R day 1: Fractal Background I am reading Godel, Escher, Bach, and recursion is one of the main topics the book discussed. Recursion is a pattern and never ends, or goes to infinite. ( EX. Bach’s Fugue, Escher’s stairs, Godel incompleteness theorem).

Social media & sharing icons powered by UltimatelySocial