MSurvPGW2tpn: MEGH II. twopiece normal random effects

View source: R/routines.R

MSurvPGW2tpnR Documentation

MEGH II. twopiece normal random effects

Description

MEGH II. twopiece normal random effects

Usage

MSurvPGW2tpn(t, par, des, des_t, index, NMC)

Arguments

des

: Design matrix

des_t

: Design matrix for time-dependent effects

index

: individual ID

NMC

: number of Monte Carlo samples to be used to produce the marginal

t:

time

par:

Marginal maximum likelihood estimator (original parameterisation)

Value

Marginal survival function with PGW baseline hazard for cluster "index" at time t


FJRubio67/MEGH documentation built on Jan. 29, 2024, 11:30 a.m.