simPredpolr: Calculate Predictions for Proportional Odds Logistic...

Description Usage Arguments Value Author(s)

Description

Calculates predicted probabilities from models of class polr from a model object and a vector of coefficient values. This is an auxiliary function used in pre if sim=TRUE.

Usage

1
simPredpolr(object, coefs, n.coef) 

Arguments

object

An object of class polr.

n.coef

Number of coefficients (minus intercepts) for the polr model.

coefs

A vector of coefficients where elements 1 to n.coef give model coefficients and elements n.coef+1 to k have intercepts.

Value

An n x m-category matrix of predicted probabilities

Author(s)

Dave Armstrong (UW-Milwaukee, Department of Political Science)



Search within the DAMisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.