PLAC_TI: C++ Function for Solving the PLAC Estimator. (with...

View source: R/RcppExports.R

PLAC_TIR Documentation

C++ Function for Solving the PLAC Estimator. (with time-invariant convariates only)

Description

C++ Function for Solving the PLAC Estimator. (with time-invariant convariates only)

Usage

PLAC_TI(Z, X, W, Ind1, Ind2, Dn, b, h, K = 100L)

Arguments

Z

matrix for all the covariates history.

X

the response matrix (As, Xs, Ds).

W

the ordered observed event times.

Ind1

risk-set indicators.

Ind2

truncation pair indicators.

Dn

number of ties at each observed event time.

b

initial values of the regression coefficients.

h

initial values of the baseline hazard function.

K

maximal iteration number, the default is K = 100.

Value

list of model fitting results for both conditional approach and the PLAC estimator.


plac documentation built on July 9, 2023, 6:37 p.m.