Specific Question:
In Tuesday’s class, we were given some SAS examples. One’s code is like this:
proc glm data=isqs6348.pgs; class ethnic; model facknowledge= ethnic; lsmeans ethnic / tdiff pdiff; run; quit;
I found that R-square = 0.028908 and F value = 9.82.
Then you put survyear as another control variable, we got R-square = 0.033777and F value =9.88.
Next you put gender as the third control variable, we got R-square = 0.039503and F value =9.03.
After this I put Level (in the dataset) as the fourth control variable,
proc glm data=isqs6348.pgs; class ethnic gender level; model facknowledge= ethnic survyear gender level/solution; lsmeans ethnic / tdiff pdiff; run; quit;
and also I got R-square = 0.040470 and F value =8.33.
Therefore, can we get a conclusion that in all cases when we put more control variables, we get larger SSM and smaller SSE, which make the R-square bigger? If this is true, how does it make sense?
Also, I remembered that in last week’s class, you said that we can get F value if we know R-square and at the same time we can get R-square if we know F value. However, here, I didn’t see any trends of F values when R-square is getting larger. Then why?
The last, can you explain again why we look at the Type III error instead of Type I error in the SAS result?
General Question:
First question, in the gun example, we were taught that P(death,10 plays)= 1-(5/6)^10=84%=FWER. In Thursday’s SAS example (given k=50, run=7 and at 0.05 level), we got the result: using Bonferroni, P(reject at least one true H0)<=α (FWER<=α).Is the FWER here 1-(.95)^50? Also, I don’t understand why we use Bonferroni method, is that just because we got more significances (Type I error), for example, in the case above? So we use Bonferroni to reduce the significances by using the Pi<=.001? Second, it seems that the Boferroni-Holm method is more superior than Bonferroni method because the Bonferroni method is conservative. But why we got the same result(FWER<=α) in Boferroni-Holm method? Is the α the in Bonferroni method the same as the α in Boferroni-Holm method? And when to use which in practice?