R: Plot of the distribution of estimated random parameters
plot.mlogit
R Documentation
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,
type
the function to be plotted, whether the density or the
probability density function,
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,
...
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 for 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.