Lecture 7: Models, Conditions, Analysis Models Models Two independent samples Two independent samples Y is the observed value. is the grand population mean. is the effect of treatment i. is the random error. Y is the observed value. is the population mean for the treatment i. is the random error. 1 Models 2 Conditions “true” value Observed value = “true” value + residual error Constant. Pieces add. 3 Conditions 4 Conditions Residual (random) error The conditions on the random error are exactly the same as we saw in Stat 401. Add to zero. Same standard deviation ( ). Independent. Normally distributed. 5 6 1 Lecture 7: Models, Conditions, Analysis Analysis Informal Analysis Informal. Formal. Check Conditions (secondary). Estimate the “true” values (parameters) using the data from the experiment. 7 8 Estimates Estimates Use the overall sample mean ( ) to estimate the overall population mean ( ). Use the treatment sample mean ( ) to estimate the treatment population mean ( ). 9 Estimates 10 Visualizing the Model Use the difference ( ̂ ) to estimate the effect of treatment i ). ( + Overall Mean 11 + + Treatment Residual + Error Effect 12 2 Lecture 7: Models, Conditions, Analysis Informal Analysis Sodium in diet experiment Analysis Compute estimates of the “true” values (parameters) from the experimental data. Informal. Formal. Check Conditions. 13 14 Informal Analysis Informal Analysis ∑ 50 mmol Na/day 153.05 mmHg The average blood pressure for all 20 men in the experiment. 143.10 mmHg 200 mmol Na/day 163.00 mmHg 15 16 Informal Analysis +9.95 Effect of 50 mmol Na/day 9.95 mmHg –9.95 Effect of 200 mmol Na/day 9.95 mmHg 17 18 3 Lecture 7: Models, Conditions, Analysis Formal Analysis Partitioning Variability The Analysis of Variance – ANOVA Quantify the total amount of variability and split it among the sources. Total Variability Variability due to treatments effects. + Variability due to chance (random) error. Measurement Experimental Material Planned Systematic 19 Total Variability 20 Total Variability ∑ How much variability is there for the entire set of experimental data? Compute a sample variance. 4140.95 19 1 21 22 Partitioning Variability Partitioning Variability Sum of Squares C Total Degrees of Freedom C Total Sum of Squares Treatments + Degrees of Freedom Treatments Sum of Squares Error 23 + Degrees of Freedom Error 24 4