estimate_p_mat: Internal function: generate probability matrix for ordinal...

estimate_p_matR Documentation

Internal function: generate probability matrix for ordinal outcomes given thresholds, linear predictor and link function

Description

Internal function: generate probability matrix for ordinal outcomes given thresholds, linear predictor and link function

Usage

estimate_p_mat(theta, z, link)

Arguments

theta

numeric vector of thresholds

z

numeric vector of linear predictor

link

The link function used to model ordinal outcomes. Default is "logit" for proportional odds model. Other options are "cloglog" (proportional hazards model) and "probit".


AutoScore documentation built on Oct. 16, 2022, 1:06 a.m.