Statistical Tests and Shit Flashcards
Odds (eq and notable point)
p of x occurring/(1 - p)
Difference b/w odds and probability gets bigger as events become more common
RR vs. OR Equation and Event Size
As a and c become smaller (events less frequent), RR starts to resemble OR eq. So THE TWO APPROXIMATE EACH OTHER WHEN EVENTS ARE RARE, BUT NOT WHEN EVENTS ARE COMMON
RR vs. OR in terms of failure to occur
RR is not symmetrical when measuring disease’s occurrence or failure to occur, whereas OR is
T Test
Basically a comparison of two means over variance (so dependent on N), used to generate a p value and determine if statistically significant difference
CI in T Tests
Significant if don’t contain null value of 0 (no difference in means)
Condition Required for T Tests
2 samples have to have equal/similar variances
Paired-Sample Mean Comparisons
T test where mean difference is now difference b/w two scores for same person (beginning and end)
Contingency (2x2) Table
Determine null (expected) value for each cell by doing (Total row x Total column) / Total
3 Tests to Determine Significance from Different Types of Variables
2 Categorical Variables - Chi Squared
2 Continuous Variables - Correlation
1 Each - T Test
Correlation
Used for 2 continuous variables just to show association. Not causation. Can determine significance from null r = 0 by using DoF to calculate t
Linear Regression
Study of relationships b/w single outcome variable and 1+ exposure variables. y = intercept + X*beta coefficient (slope, just like y = mx + b)
R squared
Tells what percentage of the variance around the mean is explained by changes to the predictor variable we’re looking at
Linear Equations to Adjust for Confounding
Addition of another independent variable to the model suggests confounding if after addition of new variable, the beta coefficient of your primary predictor variable changes significantly
Logistic Regression (4)
If outcomes are binary (often the case in medicine), log transformation allows calculating probability of outcome occurring and calculate the OR. Can control for confounding
Survival Analysis
Time until an event - survival time