This function computes the bound
censbnd(lambda, p, crate, rootint = c(0.1, 1000))
This function returns a list from the uniroot
function. The
root component of this list in the
Baseline exponential hazard rate
Relative genotype frequency
Desired censoring rate
Interval to be searched for the root
Kouros Owzar, Zhiguo Li, Nancy Cox, Sin-Ho Jung and Chanhee Yi
The time to event distribution \(T\) is assumed to be a mixture of exponentials with parameter \(lambda0\), \(lambda1\) and \(lambda2\) with mixing proportion \(p0\),\(p1\) and \(p2\). Suppose that the censoring distribution is uniform on the interval \([0,b]\). This function calculates \(b\) for a desired censoring rate. It is not intended to be called directly by the user. To conduct power calculations, use sim.snp.expsurv.power or the convenience wrapper function survSNP.power.table.
Kouros Owzar, Zhiguo Li, Nancy Cox and Sin-Ho Jung. Power and Sample Size Calculations for SNP Association Studies with Censored Time-to-Event Outcomes. https://onlinelibrary.wiley.com/doi/full/10.1002/gepi.21645
censbnd(0.1,hwe(0.1),0.9)$root
Run the code above in your browser using DataLab