rpar: random parameter objects

Description Usage Arguments Details Value Author(s) See Also

View source: R/rpar.R

Description

rpar objects contain the relevant information about estimated random parameters. The homonymous function extract on rpar object from a mlogit object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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, ...)

Arguments

x, object

a mlogit object,

par

the name or the index of the parameters to be extracted ; if NULL, all the parameters are selected,

norm

the coefficient used for normalization if any,

...

further arguments.

digits

the number of digits

width

the width of the printed output

Details

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.

Value

a rpar object, which contains:

Author(s)

Yves Croissant

See Also

mlogit() for the estimation of a random parameters logit model.


mlogit documentation built on Oct. 23, 2020, 5:29 p.m.