ncp_power | R Documentation |
ncp_power
returns the approximate non-centrality parameter and power of a modestWLRT for a range
of possible values of t*.
ncp_power(t_star = NULL, rho = NULL, gamma = NULL, model,
recruitment, dco, length_t, alpha_one_sided = 0.025)
{t_star} |
A vector. A range of possible values for t*. |
{rho} |
rho parameter in a Fleming-Harrington test. Default is NULL. Only used if F-H test used instead of MWLRT. |
{gamma} |
gamma parameter in a Fleming-Harrington test. Default is NULL. Only used if F-H test used instead of MWLRT. |
{model} |
A piecewise constant hazard model.
A list containing the |
{recruitment} |
List of recruitment information. Containing
|
{dco} |
Time of data cut-off. |
{length_t} |
Number of cutpoints to use when approximating the distribution of the MWLRT-statistic. Default is 18. Can be increased for greater accuracy. |
{alpha_one_sided} |
One-sided alpha level. |
A list containing
non-centrality parameter corresponding to each t* ncp
power corresponding to each t* power
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.