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

plot.mlogit

Plot of the distribution of estimated random parameters


Description

Methods for rpar and mlogit objects which provide a plot of the distribution of one or all of the estimated random parameters

Usage

## S3 method for class 'mlogit'
plot(x, par = NULL, norm = NULL, type = c("density", "probability"), ...)

## S3 method for class 'rpar'
plot(x, norm = NULL, type = c("density", "probability"), ...)

Arguments

x

a mlogit or a rpar object,

par

a subset of the random parameters ; if NULL, all the parameters are selected,

norm

the coefficient's name for the mlogit method or the coefficient's value for the rpar method used for normalization,

type

the function to be plotted, whether the density or the probability density function,

...

further arguments, passed to plot.rpar for the mlogit method and to plot for the rpar method.

Details

For the rpar method, one plot is drawn. For the mlogit method, one plot for each selected random parameter is drawn.

Author(s)

Yves Croissant

See Also

mlogit() the estimation of random parameters logit models and rpar() for the description of rpar objects and distribution for functions which return informations about the distribution of random parameters.


mlogit

Multinomial Logit Models

v1.1-1
GPL (>= 2)
Authors
Yves Croissant [aut, cre]
Initial release
2020-10-01

We don't support your browser anymore

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