MCMCpack (version 1.7-0)

choicevar: Handle Choice-Specific Covariates in Multinomial Choice Models

Description

This function handles choice-specific covariates in multinomial choice models. See the example for an example of useage.

Usage

choicevar(var, varname, choicelevel)

Value

The new variable used by the MCMCmnl() function.

Arguments

var

The is the name of the variable in the dataframe.

varname

The name of the new variable to be created.

choicelevel

The level of y that the variable corresponds to.

See Also

MCMCmnl