Description Usage Arguments Details Value Author(s) See Also
Functions used to describe the characteristics of estimated random parameters
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | stdev(x, ...)
rg(x, ...)
med(x, ...)
## S3 method for class 'rpar'
mean(x, norm = NULL, ...)
## S3 method for class 'rpar'
med(x, norm = NULL, ...)
## S3 method for class 'rpar'
stdev(x, norm = NULL, ...)
## S3 method for class 'rpar'
rg(x, norm = NULL, ...)
## S3 method for class 'mlogit'
mean(x, par = NULL, norm = NULL, ...)
## S3 method for class 'mlogit'
med(x, par = NULL, norm = NULL, ...)
## S3 method for class 'mlogit'
stdev(x, par = NULL, norm = NULL, ...)
## S3 method for class 'mlogit'
rg(x, par = NULL, norm = NULL, ...)
qrpar(x, ...)
prpar(x, ...)
drpar(x, ...)
## S3 method for class 'rpar'
qrpar(x, norm = NULL, ...)
## S3 method for class 'rpar'
prpar(x, norm = NULL, ...)
## S3 method for class 'rpar'
drpar(x, norm = NULL, ...)
## S3 method for class 'mlogit'
qrpar(x, par = 1, y = NULL, norm = NULL, ...)
## S3 method for class 'mlogit'
prpar(x, par = 1, y = NULL, norm = NULL, ...)
## S3 method for class 'mlogit'
drpar(x, par = 1, y = NULL, norm = NULL, ...)
|
x |
a |
... |
further arguments. |
norm |
the variable used for normalization if any : for the
|
par |
the required parameter(s) for the |
y |
values for which the function has to be evaluated, |
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.
mean
, med
, stdev
and rg
compute respectively the mean, the
median, the standard deviation and the range of the random
parameter. qrpar
, prpar
, drpar
return functions that compute
the quantiles, the probability and the density of the random
parameters (note that sd
and range
are not generic function in
R
and that median
is, but without ...
).
a numeric vector for qrpar
, drpar
and prpar
, a
numeric vector for mean
, stdev
and med
and a numeric
matrix for rg
.
Yves Croissant
mlogit()
for the estimation of random parameters logit
models and rpar()
for the description of rpar
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.