Dr Sherri Brocks diet pills are supposed to cause significan
     Dr. Sherri Brock\'s diet pills are supposed to cause significant weight loss. The following table shows the results of recent study where some individuals took the diet pills and some did not  We want to see if losing weight is independent of taking the diet pills,  Find expected count for Weight Loss with No Diet Pills.  How many degrees of the freedom are there?  The Chi-square for the table is 25. What can you say about the P-value? Test to determine if weight loss is independent on taking the pill at the significance level 0.01.  The rest of expected frequencies for the table are 60.40. and 120 corresponding to cell frequencies 80. 20. and 100. Find an expression that gives the test statistic 25.     
 
  
  Solution
E- Table Matrix
a)
P( Expected weight loss with NO DIET PILLS) = 80
b)
^2 degrees of freedom = ( r-1 ) * ( c-1 ) =1 * 1 = 1, tab is 6.63
c)
^2 p_value =0.000000573
| ^2 tab | < | ^2 cal | i.e.Reject Ho,
 Weight loss is independent on taking the pill
| A | 80 | 20 | 100 | A1 | 
| B | 100 | 100 | 200 | A2 | 
| Totals | 180 | 120 | 300 | |
| B1 | B2 | 

