CTU-Bern / presize

Precision Based Sample Size Calculation
https://ctu-bern.github.io/presize/
GNU General Public License v3.0
15 stars 13 forks source link

pre_riskratio lwr limit setting #108

Closed piaclarapafundi closed 1 year ago

piaclarapafundi commented 1 year ago

Hi I need to extract sample size and rr possibilities which return a lwr >2. How can I set this lwr in prec_riskratio?

Thank for your support Pia

aghaynes commented 1 year ago

Hi Pia, This isn't currently supported in the package. It's probably more of a case for power.prop.test or the pwr package (calculate the proportion of events in the comparitor group that would be consistent with a lower CI of 2 and use a one-sided test). Hope that helps!