Description Usage Arguments Value Author(s) References See Also Examples
View source: R/YPmodel.estimate.R
The main function to fit the short-term and long-term hazard ration model.
1 2 3 4 5 6 |
... |
For S4 method only. |
data |
A properly qualified filename where text data is to be saved, or a dataframe of input data set with three vectors: the event / censoring time (unite: year), the censoring indicator, and the group membership indicator. See the structure of sample data set |
startPoint |
Start point for estimating \hat{β}. |
nm |
The upper boundary for the absolute value of \hat{β}, and the default value is \log(100). |
maxIter1 |
Parameter of out-cycle iteration numbers. |
maxIter2 |
Parameter of inner-cycle iteration numbers. |
interval |
A binary parameter to control whether or not to perform interval estimation of \hat{β}, when it is set as 1, the interval estimation will be performed. |
Internal |
A dataframe of internal parameters, used only to perform hypothesis tests and plot (and to accelerate the speed). |
x |
A dataframe of estimation results, including estimation of \hat{β} and and its confidential intervals and \hat{R}(t,\hat{β}), generated by |
object |
A dataframe of estimation results, including estimation of \hat{β} and and its confidential intervals and \hat{R}(t,\hat{β}), generated by |
beta |
Value of \hat{β}. |
r |
Value of \hat{R}(t,\hat{β}). |
variance.beta1 |
Variance of the first variable of \hat{β}. |
variance.beta2 |
Variance of the second variable of \hat{β}. |
Junlong Sun and Song Yang
YANG, S. AND PRENTICE, R. L. (2005). Semiparametric analysis of short-term and long-term hazard ratios with two-sample survival data. Biometrika 92, 1-17.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.