var_em_illness_death_phmm: Variance of parameters in MSM Illness-death General Markov...

View source: R/general_markov_model.R

var_em_illness_death_phmmR Documentation

Variance of parameters in MSM Illness-death General Markov Model

Description

Use bootstrap to obtain the variance estimator for parameters in MSM illness-death general markov model.

Usage

var_em_illness_death_phmm(data,sigma_2_0,VARS.)

Arguments

data

The output dataset from em_illness_death_phmm_weight.

sigma_2_0

Initial value for σ^2, the variance of zero-mean normal frailty, usually starts with 1.

VARS.

Confounder sets.

Details

See em_illness_death_phmm_weight. In each bootstrap, the propensity score model needs to be re-fitted, and fit the MSM illness-death general markov model with new IP weights.

Value

List of bootstrap SE for all the parameters in the general Markov model


semicmprskcoxmsm documentation built on April 30, 2022, 1:08 a.m.