estimate_p_mat {AutoScore}R 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".


[Package AutoScore version 1.0.0 Index]