Learn R Programming

MNP (version 3.1-5)

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 mnp
coef(object, subset = NULL, ...)

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.

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.

Author

Kosuke Imai, Department of Government and Department of Statistics, Harvard University kimai@Princeton.Edu

See Also

mnp, vcov.mnp;