Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

coef.mnp

Extract Multinomial Probit Model Coefficients


Description

coef.mnp is a function which extracts multinomial probit model coefficients from ojbects returned by mnp. coefficients.mnp is an alias for it. coef method for class mnp.

Usage

## S3 method for class 'mnp'
coef(object, subset = NULL, ...)

Arguments

object

An output object from mnp.

subset

A scalar or a numerical vector specifying the row number(s) of param in the output object from mnp. If specified, the posterior draws of coefficients for those rows are extracted. The default is NULL where all the posterior draws are extracted.

...

further arguments passed to or from other methods.

Value

coef.mnp returns a matrix (when a numerical vector or NULL is specified for subset argument) or a vector (when a scalar is specified for subset arugment) of multinomila probit model coefficients.

Author(s)

Kosuke Imai, Department of Politics, Princeton University kimai@Princeton.Edu

See Also

mnp, cov.mnp;


MNP

Fitting the Multinomial Probit Model

v3.1-1
GPL (>= 2)
Authors
Kosuke Imai [aut, cre], David van Dyk [aut], Hubert Jin [ctb]
Initial release
2020-10-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.