Sample size and power calculation in r as viable alternative to proc power in SAS?
问题 So I am trying to see how close the sample size calculations (for two sample independent proportions with unequal samples sizes) are between proc power in SAS and some sample size functions in r. I am using the data found here at a UCLA website. The UCLA site gives parameters as follows: p1=.3,p2=.15,power=.8,null difference=0, and for the two-sided tests it assumes equal sample sizes; for the unequal sample size tests the parameters are the same, with group weights of 1 for group1 and 2 for