linkfun: Compute the linear predictors implied by trinomial...

View source: R/linkfun.R

linkfunR Documentation

Compute the linear predictors implied by trinomial probability distributions

Description

Given the probability distributions P\in[0,\,1]^{n\times 3} of the dependent variable, it computes the the values of linear predictors XB\in\textbf{R}^{n\times 2} according to notation used in \insertCitesanti2019;textualplot3logit.

Usage

linkfun(P, model)

linkfun_cat3logit(P)

linkfun_ord3logit(P, alpha)

Arguments

P

object of class matrix (or other coercible classes) such that P\in[0,\,1]^{n\times 3}.

model

object of class field3logit.

alpha

numeric vector of length two where constants α^{(1)} and α^{(2)} are stored (only for ordinal models), as defined in Equation (7) of \insertCitesanti2019;textualplot3logit.

Value

Numeric matrix \textbf{R}^{n\times 2} of linear predictors.

References

\insertAllCited

See Also

linkinv.


plot3logit documentation built on July 19, 2022, 9:07 a.m.