rJeffreys(n, prior, range.int = c(-Inf, Inf))
Jeffreys
.
The prior must be specified as a function taking a quantile and returning a density, such as is returned by Jeffreys
(note that prior could be any density function, not just a Jeffreys prior, in which case it would return random deviates distributed according to that density).
Jeffreys
, which can be used to create a prior density function; also, iota.c
, which uses rJeffreys to estimate the criterion information utility.
ltm.lsat <- ltm(LSAT~z1, IRT=FALSE)
rJeffreys(100, Jeffreys(ltm.lsat))
Run the code above in your browser using DataLab