plot.mlogit: Plot of the distribution of estimated random parameters

View source: R/rpar.R

plot.mlogitR 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,

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 documentation built on June 10, 2025, 9:10 a.m.