Description Usage Arguments Value Author(s) See Also Examples
This function calculates the power, the sample size required for a given power, or the value of the parameter(delta) for a given sample size and power for testing for treatment effect on time to progression and for test for non-inferiority in terms of the survival at a fixed time point
| 1 2 3 4 | 
| parameter | A character vector of parameters to be calculated.  For "N", "Delta" and "Power" the calculation proceeds by first calculating the standard error of the parameter measuring the treatment effect in a trial with  | 
| endpoint |  A character vector with either  | 
| progression.delta | The log of the hazard ratio of placebo to active treatment. This used to calculate the sample size  | 
| nsamp |  This is the sample size used to calculate 
 | 
| alpha | The one sided significance level to be used. | 
| pow |  The power required. This is used in the calculation of  | 
| tsurv | The time used for the survival difference. | 
| h0 | The non-inferiority boundary for the survival difference given as a positive number. | 
| prior.surv | The prior precision of the parameter that measures the effect of treatment on survival after progression. Note that this is 1/σ^2 where σ is the prior standard deviation of this parameter. | 
| alloc | Allocation between control and treatment group  | 
| phaz | Log hazard of progression in the placebo group | 
| shaz | Log hazard of survival after progression in the placebo and treatment group | 
| accrual | Accrual period | 
| followup | Follow up period. | 
| inc | Time period between visits for acessing progression. | 
| delta | Variation around visit times | 
| intervals | Number of intervals to fit hazards | 
| nsims | Number of simulations | 
| n | Sample size used to estimate the standard Error. | 
| seed | Seed for the random number generator if you don't want the data that is analyzed to change. | 
A data frame is returned with variables, "parameter", "endpoint" and "value".
David A. Schoenfeld
pssm-class,
pssm-package,
pssm.generate.data,
pssm.object,
pssm,
pssm.simulate,
pssm.survivalcurv,
plot-methods
| 1 2 3 4 | ##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.
pssm.power(parameter="Power",progression.delta=.4,nsamp=450,h0=0.04,nsims=100)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.