Description Usage Arguments Details Value Author(s) See Also
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.
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, ...)
|
x |
a |
norm |
the variable used for normalization if any, |
par |
the required parameter for the |
y |
values for which the function has to be evaluated, |
... |
further arguments. |
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.
a numeric vector for qrlogit
, drlogit
and prlogit
, a
numeric value for mean
, stdev
and med
.
Yves Croissant
rlogit
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.