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

cov.mnp

Extract Multinomial Probit Model Covariance Matrix


Description

cov.mnp is a function which extracts the posterior draws of covariance matrix from objects returned by mnp.

Usage

cov.mnp(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 covariance matrix 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

When a numerical vector or NULL is specified for subset argument, cov.mnp returns a three dimensional array where the third dimension indexes posterior draws. When a scalar is specified for subset arugment, cov.mnp returns a matrix.

Author(s)

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

See Also

mnp, coef.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.