data YesNo; input Gender $ NumYes Total; Response="Yes"; Count=NumYes; output; Response="No "; Count=Total-NumYes; output; datalines; Men 30 100 Women 45 100 ;
proc print noobs; var Gender Response Count; run;
proc freq order=data; weight Count; table Gender * Response / chisq riskdiff; exact riskdiff; run;
Check the number of cases within each group (i.e. treatment and control group).
Check if the number of treatment school and control school is balanced within block.
The UCLA site explains Cronbach's alpha as the average internal correlation among survey items. It also says that it is not a measure of unidimensionality. Rather, it is a measurement of internal consistency (though just intuitively I feel what is coherent tends to be also uni-dimensional… I think the point is that the measure […]
I wrote this Excel program to calculate sample size for surveys.
www.nippondream.com/file/sample size calculation 11 30 2015.xlsx
Phil of SAS helped me identify this function. Thank you.
T-test conducted in PROC GLIMMIX (or most likely other regression procedures) is expressed in Excel function as:
=2*(1-T.DIST( T_VALUE , DEG_OF_FREEDOM ,TRUE))
where T_value must be an absolute value of the original t-value (e.g., if -2 then 2).
This expresses CDF (cumulative distribution function), not […]