Functions used to describe the characteristics of estimated random parameters

Description

rpar objects contain all the relevant information about the distribution of random parameters. These functions enables to obtain easily descriptive statistics, density, probability and quantiles of the distribution.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
med(x, ...)
stdev(x, ...)
qrlogit(x, ...)
prlogit(x, ...)
drlogit(x, ...)
## S3 method for class 'rpar'
mean(x, norm = TRUE, ...)
## S3 method for class 'rpar'
med(x, norm = TRUE, ...)
## S3 method for class 'rpar'
stdev(x, norm = TRUE, ...)
## S3 method for class 'rpar'
qrlogit(x, norm = TRUE, ...)
## S3 method for class 'rpar'
prlogit(x, norm = TRUE, ...)
## S3 method for class 'rpar'
drlogit(x, norm = TRUE, ...)
## S3 method for class 'rlogit'
qrlogit(x, par = 1, y = NULL, norm = TRUE, ...)
## S3 method for class 'rlogit'
prlogit(x, par = 1, y = NULL, norm = TRUE, ...)
## S3 method for class 'rlogit'
drlogit(x, par = 1, y = NULL, norm = TRUE, ...)

Arguments

x

a rlogit or a rpar object,

norm

the variable used for normalization if any,

par

the required parameter for the rlogit methods (either the name or the position of the parameter,

y

values for which the function has to be evaluated,

...

further arguments.

Details

mean, med and stdev compute respectively the mean, the median and the standard deviation of the random parameter. qrlogit, prlogit, drlogit return functions that compute the quantiles, the probability and the density of the random parameters.

Value

a numeric vector for qrlogit, drlogit and prlogit, a numeric value for mean, stdev and med.

Author(s)

Yves Croissant

See Also

rlogit for the estimation of random parameters logit models and rpar for the description of rpar objects.