Object of class eq_dist
with components r_gen
and r_eq
.
The function r_gen(n, mean)
generates random deviates from a uniform distribution with specified
mean
\(\mu\) on the interval \((0, 2 \mu)\). The cumulative distribution function
is given by \(F(x) = x / 2 \mu\).
The function r_eq(n, mean)
generates random deviates from the equilibrium distribution corresponding
to a uniform distribution on the interval \((0, 2 \mu)\). The cumulative distribution function is given by
$$F(x) = x (4 \mu - x) / (4 \mu^2).$$