8-14 Flashcards
If two way anova AxB isn’t sig, should you re run and remove the interaction?
In a balanced design this won’t be a differenc, in unbalanced it can
A:B and A*B in R…
A:B is a by b interaction
A*B is short for A, B, A:B
How to run one factor repeated measures ANOVA? (With no replication within subject)
Two factors, treatment and subject
Looking at one way ANOVA will give too many df and is an example of pseudoreplication
How to run one factor repeated ANOVA with replication within subject?
Look at treatment, subject and the interaction
Y~ treatment + error (subject/treatment)
Fixed vs random effects
Fixed effect - interested in differences between the levels of the factor
Random - no interested in doffs between levels but them as a random sample of a population of possible levels - eg subject
3 solutions if data correlated within subjects?
Summarise
Multivariate
Multi level modelling
It can adjust df in ANOVA to alllw for correlation
How do you decide when to go multivariate?
Maucley’s test lf sphercity
How does multi level model work?
The variances at each level in hierarchy and the correlation between them are used to estimate how much data needs to be pooled
(Averaged, so reducing df to 1 for each level)
Degree of pooling known as shrinkage
If data are no more correlated within levels than between levels there isn’t much shrinkage
What test uses deviance as a model fit?
Logistic regression
Null model vs Saturated
X has no effect, so proportions same for all values of x
Saturdated - model fits perfectly, proportions are allowed to vary independently for every value of x
Generlalized linear models - testing effects via the change in deviance between a model with and without a predictor using chi sqr is more robust than using Z score for coefficient … true or false?
True
WhT needs doing when checking models in parametric test
Check error distribution (after analysis, should be straight line- 4 graphs on R
Check homogeneity of variance
Check for independence of data points
Check model fit
How does normal probability plot work?
Sorts data from lowest to highest and calculated cumulative percentage of data of each value
What are the 4 error distribution graphs?
Residuals vs fitted
Normal quartile plot (QQplot)
Standardised residuals vs fitted
Residuals vs leverage
When do you not need to do model simplification?
If it’s a balanced design as effects are orthogonal
Or
If it’s an experiment