11-14-2017 11:55 AM
I need some help figuring out how to use the loss=exp(hazard=hazard rate) option in proc seqdesign correctly. If the trial is expected to have 10% drop out total, but most is early (within 4 months of randomization), what's the proper (or best) way to calculate the hazard rate? Any help vastly appreciated.
ods graphics on;
proc seqdesign plots=boundary(hscale=samplesize) boundaryscale=stdz errspend ;
OneSidedOBrienFleming: design nstages=2 method=errfuncobf alpha=0.02 alt=upper beta=0.10 info=cum(0.50 1) stop=both(betaboundary=nonbinding);
samplesize model(ceiladjdesign=include)=twosamplesurvival (nullhazard=0.0608 hazard=0.0385 weight= 1 1 accrual=uniform acctime=&rectime. loss=exp(hazard=&droprate.) totaltime=&total_time. ceiling=n);
ods graphics off;