cdf_cpmgee: Calculate CDFs conditional on covariates

View source: R/conditional_functions.R

cdf_cpmgeeR Documentation

Calculate CDFs conditional on covariates

Description

This functions calculates the CDFs conditional on covariates based on the fitted model and new data.

Usage

cdf_cpmgee(mod, cont_y, new.data, at.y = 0, se = TRUE)

Arguments

mod

the model

cont_y

the continuous response data

new.data

the new data

at.y

a numeric vector of cut-off points P(y <= at.y | new.data)

se

if confidence intervals needed (default = TRUE)

Value

A list containing the following components:

est

a vector of estimated condtional CDFs

se

a vector of estimated standard errors

lb

a vector of estimated lower bounds of 95% confidence intervals

ub

a vector of estimated upper bounds of 95% confidence intervals


YuqiTian35/cpmgee documentation built on Aug. 6, 2023, 4:30 a.m.