Hi, I am trying to calculate power for a hypothetical cohort study, I have run in multiple times this code but I still receive the same error 180-322.
Thanks in advance!
groupweights=(1 9)/*Divide ntotal 9 to 1 between the groups => n2=9*n1, where n1 = exposed sample size & n2 = unexposed sample size*/
ntotal=120000 /*120,000 total participants in the study*/
power=.; /*Calculate power*/
OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 proc groupweights=(1|9)/*Divide ntotal 9 to 1 between the groups => n2=9*n1, where n1 = exposed sample size & n2 =
73 ! unexposed sample size*/
ERROR: Procedure GROUPWEIGHTS not found.
74 ntotal=120000 /*120,000 total participants in the study*/
75 power=.; /*Calculate power*/
76
77 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;