Exam 3 - December 9th Flashcards
What sort of test would you use on a data set with a quantitative response variable and no explanatory variable?
One-Sample T
What sort of tests could potentially be used on data sets with a quantitative response variable and one categorical explanatory variable?
Two-Sample T, Paired T, One-Way ANOVA
What sort of tests could potentially be used on data sets with a quantitative response variable variable, one categorical explanatory variable, and two groups?
Two-Sample T or Paired T
What sort of test would you use on a data set with a quantitative response variable, one categorical explanatory variable, and two independent groups?
Two-Sample T
What sort of test would you use on a data set with a quantitative response variable, one categorical explanatory variable, and two dependent groups?
Paired T
What sort of test would you use on a data set with a quantitative response variable, one categorical explanatory variable, and more than two groups?
One-Way ANOVA
What sort of test would you use on a data set with a quantitative response variable and two categorical explanatory variables?
Two-Way ANOVA
What sort of test would you use on a data set with a quantitative response variable and one quantitative explanatory variable?
Simple Linear Regression
What sort of test would you use on a data set with a categorical response variable and no explanatory variable?
One-Sample Proportion
What sort of test would you use on a data set with a categorical response variable and one explanatory variable?
Two-Sample Proportion
What is the factor effects model for the two-way ANOVA?
Yijk = μ + 𝞪I + 𝜷J + (𝞪𝜷)IJ + εijk
What does the factor effects model for the two-way ANOVA mean?
Each observation is equal to the overall mean, plus the effects of Factor A, Factor B, and the interaction between them, plus some error
What are the constraints for the Two-Way ANOVA?
∑ 𝞪I = ∑ 𝜷J = ∑ 𝞪𝜷IJ = 0
Zero-Sum Constraint
How can you check the constraint for the Two-Way ANOVA?
For Main Effects: The sum the means for each level of factor A (or B) minus the overall mean is zero
- if a and b = 2, half of the individuals are at each level (A1, A2, B1, and B2)
For Interaction: The sum of the means at each treatment combination, minus the means for factor level A, minus the means for factor level B, plus the overall mean is zero
- if a and b = 2, one-quarter of the individuals are in each treatment combination
What are the assumptions for the Two-Way ANOVA?
Optional → Equal Sample Sizes or Balanced Design, same number of individuals at each treatment combination
εijk (IID) ~ N(0, σ^2) → Errors are normal, independent, and have constant variance
What is an interaction plot for a Two-Way ANOVA?
Plot means for each treatment combination against
levels of a factor, with different lines for each factor
Parallel lines indicate no interaction, crossing lines indicate a possible interaction
Can be antagonistic or reinforcing/synergistic
If there is a significant interaction for a Two-Way ANOVA, how does that change the interpretation of the main effects?
You cannot interpret the main effects separately, and must instead conduct a Tukey Pairwise Comparison to test for Factor A effects for each level of Factor B and vice versa
What is the Two-Way ANOVA hypothesis for the main effects?
Main Effect A → H0: 𝞪I = 0 for all I versus HA: Not all 𝞪I equal zero
Main Effect B → H0: 𝜷J = 0 for all J versus HA: Not all 𝜷J equal zero
What is the Two-Way ANOVA hypothesis for interaction?
Interaction → H0: (𝞪𝜷)IJ = 0 for all I, J versus HA: Not all (𝞪𝜷)IJ equal zero
What is the next step for the Two-Way ANOVA if the interaction is found to be significant?
Both factors are important and main effects need to be analyzed using pairwise comparisons (instead of F tests)
What is the next step for the Two-Way ANOVA if the interaction is not significant, but a two level main effect is?
State level with higher mean
What is the next step for the Two-Way ANOVA if the interaction is not significant, but a multilevel main effect is?
Use Tukey Pairwise Comparisons to test for levels that are significantly different, state higher mean
How can you check the assumptions for a Two-Way ANOVA?
Normal Probability Plot of Residuals
Residuals versus Fitted/Factor Levels
Residuals versus Order/Time
Define sample size, effect size, significance level, and power
Sample size (n) - number of subjects in the study Effect size (△/σ) - effect relative to noise Significance level (𝞪) - probability of false positive Power (1-𝜷) - probability of true positive