choicevar: Handle Choice-Specific Covariates in Multinomial Choice...

choicevarR Documentation

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)

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.

Value

The new variable used by the MCMCmnl() function.

See Also

MCMCmnl


MCMCpack documentation built on Sept. 11, 2024, 8:13 p.m.

Related to choicevar in MCMCpack...