Learn R Programming

mlogit (version 1.1-2)

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 mlogit
plot(x, par = NULL, norm = NULL, type = c("density", "probability"), ...)

# S3 method for 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.

Author

Yves Croissant

Details

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

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.