hboxcox {event} | R Documentation |
Log Hazard Function for a Box-Cox Process
Description
This function provides information about the Box-Cox
distribution with location parameter equal to m
, dispersion
equal to s
, and power transformation equal to f
: log hazard.
(See 'rmutil' for the d/p/q/r boxcox functions density,
cumulative distribution, quantiles, and random generation).
The Box-Cox distribution has density
where is the location parameter of the distribution,
is the dispersion,
is the family
parameter,
is the indicator function, and
.
gives a truncated normal distribution.
Usage
hboxcox(y, m, s, f)
Arguments
y |
vector of responses. |
m |
vector of location parameters. |
s |
vector of dispersion parameters. |
f |
vector of power parameters. |
Author(s)
J.K. Lindsey
See Also
dnorm
for the normal or Gaussian distribution.
Examples
hboxcox(2, 5, 5, 2)
[Package event version 1.1.1 Index]