CompC {SemiPar.depCens}R Documentation

Compute phi function

Description

This function estimates phi function at fixed time point t

Usage

CompC(theta, t, X, W, ld, cop, dist)

Arguments

theta

Estimated parameter values/initial values for finite dimensional parameters

t

A fixed time point

X

Data matrix with covariates related to T

W

Data matrix with covariates related to C. First column of W should be ones

ld

Output of SolveL function at a fixed time t

cop

Which copula should be computed to account for dependency between T and C. This argument can take one of the values from c("Gumbel", "Frank", "Normal"). The default copula model is "Frank".

dist

The distribution to be used for the dependent censoring C. Only two distributions are allowed, i.e, Weibull and lognormal distributions. With the value "Weibull" as the default.


[Package SemiPar.depCens version 0.1.2 Index]