random parameter objects
rpar
objects contain the relevant information about estimated
random parameters. The homonymous function extract on rpar
object
from a mlogit
object.
rpar(x, par = NULL, norm = NULL, ...) ## S3 method for class 'rpar' print( x, digits = max(3, getOption("digits") - 2), width = getOption("width"), ... ) ## S3 method for class 'rpar' summary(object, ...)
x, object |
a |
par |
the name or the index of the parameters to be extracted
; if |
norm |
the coefficient used for normalization if any, |
... |
further arguments. |
digits |
the number of digits |
width |
the width of the printed output |
mlogit
objects contain an element called rpar
which contain a
list of rpar
objects, one for each estimated random
parameter. The print
method prints the name of the distribution
and the parameter, the summary
behave like the one for numeric
vectors.
a rpar
object, which contains:
dist: the name of the distribution,
mean: the first parameter of the distribution,
sigma: the second parameter of the distribution,
name: the name of the parameter.
Yves Croissant
mlogit()
for the estimation of a random parameters logit
model.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.