-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
39 lines (29 loc) · 1.05 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
output: github_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# TVQRLB: Censored Quantile Regression Model with Time-Varying Covariates under Length-Biased Sampling
The __TVQRLB__ package implements the estimation and inference procedure for the censored quantile regression model which is based on an estimating equation, with time-varying covariates under length-biased sampling scheme.
## Installation
You can install the released version of TVQRLB from GitHub with:
```{r install_github, eval = FALSE}
devtools::install_github("ZexiCAI/TVQRLB")
library(TVQRLB)
```
## Example
This is a basic example with some simulation data:
```{r example}
library(survival)
library(TVQRLB)
TVQRLB(fixedCP.cen20, c(-1, 0.5, 1.5), 100, 0.5)
TVQRLB_OP(fixedCP.cen20, c(-1, 0.5, 1.5), 100, 0.5, 10000)
```
## Reference
Cai, Z. and Sit, T. (2020+), "Censored Quantile regression model with time-varying covariates under length-biased sampling," Under Revision.