View source: R/est.power.R View source: R/ss_functions.R
est.power | R Documentation |
Calculates the estimated power to detect a valid surrogate given a total sample size and specified alternative
est.power(n.total, rho = 0.8, u.y.alt, delta.alt, power.want.s = 0.7)
n.total |
total sample size in study |
rho |
rank correlation between Y and S in group 0, default is 0.8 |
u.y.alt |
specified alternative for u.y |
delta.alt |
specified alternative for u.s |
power.want.s |
desired power for u.s, default is 0.7 |
estimated power
Layla Parast
est.power(n.total = 50, rho = 0.8, u.y.alt=0.9, delta.alt = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.