Analysis of Variance
Analysis of Variance
As we want the relative % (magnitude) and not the objective values S2A% = intraclass
correlation coefficient: a value that represents the variability expected within the groups in
comparison to the variability within the groups; the higher this value, the lower the variability
within, meaning all groups are similar
The higher the F, the higher the differences between groups in comparison to the differences
within the higher the chance to have a significant association
Report
1. Description of variables/definition of u’s for stating hypothesis
2. Definition of hypothesis
3. Alpha and p values
4. Test statistic: F value + DF, p value, conclusion (reject H0 or do not reject)
5. 95%CI if applicable
Logit is a transformation that allows to relate x and an outcome that either has a yes or no
value.
Logit x= logit a -logit b= b0+b1x= log odds ratio= ln odds ratio= e^b1c
Using the inverse, we can calculate the probability of the outcome Y (0 or 1), given a certain
value of x.
Output
Hypothesis
Alpha, p values
Test statistic: Wald= , value
Model equation:
OR= , 95%CI
We can obtain the OR using either the cross tabs or the output from logistic regression.
Linear regression
Y=bo+b1x + e
Residuals= observed-predicted
Conditions:
» observations are independent of each other
» residuals have mean of zero and constant variance (histogram)
» residuals follow a normal distribution (residual plot -2;2) + histogram
Look for: R2; sig; partial correlation (the importance of that variable in the adjusted model when
excluding the other predicting variables); anova (- ; + modelo explicado)
» changes in b confounding
» changes in standard error collinearity
» interaction! Add variable to the variables alone
If there is interaction, 2 predictors interact between eachother, thus influencing the
true association of a and b
NOTE: same for confounding, if one added variable leads to first one to cease being singicant,
we eliminate this first one.
When accounting for the effect of b in c, a stop affect c; meaning that the true association
between a and b was mascarating the effect of a third variable.