odds.msm: Calculate tables of odds ratios for covariates on...

View source: R/outputs.R

odds.msmR Documentation

Calculate tables of odds ratios for covariates on misclassification probabilities

Description

Odds ratios are computed by exponentiating the estimated covariate effects on the logit-misclassification probabilities.

Usage

odds.msm(x, odds.scale = 1, cl = 0.95)

Arguments

x

Output from msm representing a fitted multi-state model.

odds.scale

Vector with same elements as number of covariates on misclassification probabilities. Corresponds to the increase in each covariate used to calculate its odds ratio. Defaults to all 1.

cl

Width of the symmetric confidence interval to present. Defaults to 0.95.

Value

A list of tables containing odds ratio estimates, one table for each covariate. Each table has three columns, containing the odds ratio, and an approximate upper 95% and lower 95% confidence limit respectively (assuming normality on the log scale), for each misclassification probability.

Author(s)

C. H. Jackson chris.jackson@mrc-bsu.cam.ac.uk

See Also

msm, hazard.msm


chjackson/msm documentation built on March 3, 2024, 1:05 a.m.