Last chance! 50% off unlimited learning
Sale ends in
Density for the Husler-Reiss angular surface distribution.
dhurea(x, shape, log = FALSE)
dhurea
gives the density.
Same as Uniform
.
the positive (shape) parameter.
It is often called
Logical.
If log = TRUE
then the logarithm of the
density is returned.
T. W. Yee
The cases x == 0
, x == 1
,
shape == 0
and
shape == Inf
may not be handled correctly.
See hurea
, the VGAM
family function for
estimating the (shape) parameter
hurea
.
integrate(dhurea, 0, 1, shape = 0.20) # Incorrect
integrate(dhurea, 0, 1, shape = 0.35) # struggling but okay
if (FALSE) x <- seq(0, 1, length = 501)
par(mfrow = c(2, 2))
plot(x, dhurea(x, 0.7), col = "blue", type = "l")
plot(x, dhurea(x, 1.1), col = "blue", type = "l")
plot(x, dhurea(x, 1.4), col = "blue", type = "l")
plot(x, dhurea(x, 3.0), col = "blue", type = "l")
Run the code above in your browser using DataLab