Stats Exam 3
STAT 330 Exam Review Notes
Concepts/Objectives
ANOVA (Analysis of Variance)
Definition: ANOVA is a statistical method used when comparing more than two sample means/groups.
Null Hypothesis: The null hypothesis of ANOVA states that all population means are equal across the treatments:
Where represents the population means for the groups being compared and is the total number of groups/sample means.
ANOVA Table
Source of Variation: The ANOVA table summarizes the sources of variation in the data.
Sum of Squares: Represents the total variation explained by different sources.
Degrees of Freedom (df): The number of independent values that can vary in an analysis without violating any given constraints.
Mean Squares: The average of the sum of squares divided by the corresponding degrees of freedom.
F-ratio: The ratio of variances that helps determine if the means are statistically different.
P-value: The probability value used to evaluate the statistical significance of results.
ANOVA Components
Mean Square Groups (MSTrt): It represents the variation among the sampled individuals belonging to different groups.
Defined as where
Mean Square Error (MSE): The pooled sample variance that measures the variation among individuals within the same groups.
Defined as
Where is the total number of observations.
F-Test (ANOVA)
F-ratio Definition: The F-test compares the variances between group means:
This ratio is compared to a critical value from the F-Table to make hypothesis decisions.
Note: The F-Table does not provide exact p-values.
Example ANOVA
Task: Fill in the ANOVA table with provided statistics:
Source of Variation:
Groups (Treatment): 7.224
df: 2
Mean Squares: ???
F-ratio: ???
P-value: ???
Error:
Sum of Squares: 19
Calculating Additional Metrics:
Total df ():
Sums of Squares Error (SSE):
Derived:
Mean Square Treatment (MSTrt):
Mean Square Error (MSE):
F Value Calculation:
ANOVA Recap
In ANOVA:
When analyzing sample groups/means: represents the number of groups.
When analyzing regression: represents the number of estimated parameters.
Example in a simple linear regression model where you estimate 2 parameters: and
Important to note: is NOT the number of independent variables.
Regression: Prediction Equation
Model Definition: The model is used for predicting the age of elephants based on the length of their tusks.
Prediction Equation:
Where:
is the dependent variable (age of the elephant)
is the independent variable (length of the tusks)
is the y-intercept
is the slope of the regression line.
Interpretation:
If = 0, the predicted age () is equal to .
For each unit increase in , the predicted age increases by units.
JMP Output: Prediction Equation
From lab results with tusk length and elephant age:
Prediction Equation:
Regression: Finding Fitted Values & Residuals
Fitted Values: To calculate, plug in your x variables and derive your output .
Finding Residuals:
Residuals = Actual value - Predicted value: .
Mean Square Error (MSE):
Sum of Squared Errors (SSE):
Testing Significance of Variables
Objective: Determine the significance of a variable in the prediction model.
Hypotheses:
Null Hypothesis: (variable has no effect)
If : Reject ; conclude the variable is significant to the prediction of .
If or greater: Fail to reject ; conclude the variable is not significant in predicting .
Coefficient of Determination
Definition: The Coefficient of Determination () is the squared value of the correlation coefficient .
Range of Values: ; indicates the proportion of variation in the dependent variable explained by the independent variable(s).
Interpretation: "The variation of explained by ."
Multiple Regression
Model Structure: In a multiple regression analysis, it involves independent variables:
Model equation:
where .
Degrees of Freedom:
(where we estimate parameters and include the intercept)
For error: .