plot.mlogit | R Documentation |
Methods for 'rpar' and 'mlogit' objects which provide a plot of the distribution of one or all of the estimated random parameters
## 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"), ...)
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. |
For the 'rpar' method, one plot is drawn. For the 'mlogit' method, one plot for each selected random parameter is drawn.
Yves Croissant
[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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.