Internal ELYP functions
1 2 3 4 5 6 7 8 9 10 11 12 13 | cumsumsurv(x)
Haz3(d, S, gam, lam, fvec)
Haz4(d, S, gam)
YP3(y, d, Z, b1, b2, k, lam, fun)
YP4(y, d, Z, b1, b2, k)
YP41(y, d, Z, b1, b2, k)
ELcomp(Haz, Sur, gam)
rYP(th1, th2, n, aX)
myffitYP3(x, myY, myd, myZ)
myffitYP4(x, myY, myd, myZ)
myffitYP41(x, myY, myd, myZ)
myffitYP411(x1, myY, myd, myZ, beta2)
myffitYP412(x2, myY, myd, myZ, beta1)
|
These are not intended to be called by the user. They compute the baseline hazard function inside a YP model.
cumsumsurv
is a faster version of rev(cumsum(rev(x))).
Haz3
is used in YP3
.
Haz4
is used by fitYP4
.
YP3
is used by fitYP3
.
YP4
is used bu fitYP4
.
YP41
is used by fitYP41
.
ELcomp
is used for computation of the Log Empirical Likelihood value. Used by fitYP3
.
rYP
is used only by simuDataYP.
myffitYP***
are for using the optim( ) function, to find
NPmle etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.