Title: | Generalized Hermite Distribution |
---|---|
Description: | Probability functions and other utilities for the generalized Hermite distribution. |
Authors: | David Moriña, Manuel Higueras, Pedro Puig and María Oliveira |
Maintainer: | David Moriña Soler <[email protected]> |
License: | GPL (>= 2) |
Version: | 1.1.2 |
Built: | 2024-11-29 08:44:12 UTC |
Source: | CRAN |
Probability mass, distribution and quantile functions; random generation; and regression models for the generalized Hermite distribution.
Package: | hermite |
Type: | Package |
Version: | 1.1.2 |
Date: | 2018-05-17 |
License: | GPL version 2 or newer |
LazyLoad: | yes |
The package implements probability mass function dhermite
,
distribution function phermite
, quantile function
qhermite
and random generation rhermite
for the
generalized Hermite distribution. The probability mass function is usually
parametrized in terms of the mean and the index of dispersion
:
where
,
m
is the degree of
the generalized Poisson distribution and is the integer part of
.
The package is able to fit Hermite regression models as well, by means of the
function glm.hermite
, also in the presence of covariates.
David Moriña, Manuel Higueras, Pedro Puig and María Oliveira
Mantainer: David Moriña Soler <[email protected]>
Kemp C D, Kemp A W. Some Properties of the Hermite Distribution. Biometrika 1965;52 (3-4):381–394.
McKendrick A G Applications of Mathematics to Medical Problems. Proceedings of the Edinburgh Mathematical Society 1926;44:98–130.
Kemp A W, Kemp C D. An alternative derivation of the Hermite distribution. Biometrika 1966;53 (3-4):627–628.
Patel Y C. Even Point Estimation and Moment Estimation in Hermite Distribution. Biometrics 1976;32 (4):865–873.
Gupta R P, Jain G C. A Generalized Hermite distribution and Its Properties. SIAM Journal on Applied Mathematics 1974;27:359–363.
Bekelis, D. Convolutions of the Poisson laws in number theory. In Analytic & Probabilistic Methods in Number Theory: Proceedings of the 2nd International Conference in Honour of J. Kubilius, Lithuania 1996;4:283–296.
Zhang J, Huang H. On Nonnegative Integer-Valued Lévy Processes and Applications in Probabilistic Number Theory and Inventory Policies. American Journal of Theoretical and Applied Statistics 2013;2:110–121.
Kotz S. Encyclopedia of statistical sciences. John Wiley 1982-1989.
Kotz S. Univariate discrete distributions. Norman L. Johnson 2005.
Puig P. (2003). Characterizing Additively Closed Discrete Models by a Property of Their Maximum Likelihood Estimators, with an Application to Generalized Hermite Distributions. Journal of the American Statistical Association 2003; 98:687–692.
Distributions
for some other distributions,
qhermite
, phermite
, rhermite
,
hermite-package
, glm.hermite
Probability mass function for the generalized Hermite distribution with
parameters a
, b
and m
.
dhermite(x, a, b, m=2)
dhermite(x, a, b, m=2)
x |
vector of non-negative integer quantiles. |
a |
first parameter for the Hermite distribution. |
b |
second parameter for the Hermite distribution. |
m |
degree of the generalized Hermite distribution. Its default value is |
Probability for a generalized Hermite random varible with parameters a
,
b
and m
of taking x
counts.
David Moriña, Manuel Higueras, Pedro Puig and María Oliveira
Kemp C D, Kemp A W. Some Properties of the Hermite Distribution. Biometrika 1965;52 (3-4):381–394.
McKendrick A G Applications of Mathematics to Medical Problems. Proceedings of the Edinburgh Mathematical Society 1926;44:98–130.
Kemp A W, Kemp C D. An alternative derivation of the Hermite distribution. Biometrika 1966;53 (3-4):627–628.
Patel Y C. Even Point Estimation and Moment Estimation in Hermite Distribution. Biometrics 1976;32 (4):865–873.
Gupta R P, Jain G C. A Generalized Hermite distribution and Its Properties. SIAM Journal on Applied Mathematics 1974;27:359–363.
Bekelis, D. Convolutions of the Poisson laws in number theory. In Analytic & Probabilistic Methods in Number Theory: Proceedings of the 2nd International Conference in Honour of J. Kubilius, Lithuania 1996;4:283–296.
Zhang J, Huang H. On Nonnegative Integer-Valued Lévy Processes and Applications in Probabilistic Number Theory and Inventory Policies. American Journal of Theoretical and Applied Statistics 2013;2:110–121.
Kotz S. Encyclopedia of statistical sciences. John Wiley 1982-1989.
Kotz S. Univariate discrete distributions. Norman L. Johnson 2005.
Puig P. (2003). Characterizing Additively Closed Discrete Models by a Property of Their Maximum Likelihood Estimators, with an Application to Generalized Hermite Distributions. Journal of the American Statistical Association 2003; 98:687–692.
Distributions
for some other distributions,
qhermite
, phermite
, rhermite
,
hermite-package
, glm.hermite
d <- dhermite(3, 0.8, 0.3)
d <- dhermite(3, 0.8, 0.3)
glm.hermite
is used to fit generalized linear models with count
responses following a Hermite distribution, specified by giving a symbolic
description of the linear predictor. A summary
method providing the
most meaningful information on the fitted model is available for objects of
class glm.hermite
.
glm.hermite(formula, data, link="log", start=NULL, m = NULL)
glm.hermite(formula, data, link="log", start=NULL, m = NULL)
formula |
symbolic description of the model. A typical predictor has the form
|
data |
an optional data frame containing the variables in the model. |
link |
character specification of link function: "log" or "identity". By default
|
start |
a vector containing the starting values for the parameters of the specified
model. Its default value is |
m |
value for parameter |
glm.hermite
returns an object of class glm.hermite
, which is a
list including the following components:
coefs the vector of coefficients.
data an optional data frame containing the variables in the model.
loglik log-likelihood of the fitted model.
vcov
covariance matrix of all coefficients in the model (derived from the Hessian of
the maxLik
output).
hessHessian matrix, returned by the maxLik
output.
fitted.values the fitted mean values, obtained by transforming the linear predictors by the inverse of the link function.
wLikelihood ratio test statistic.
pvalLikelihood ratio test p-value.
María Oliveira, Manuel Higueras, David Moriña and Pere Puig
Kemp C D, Kemp A W. Some Properties of the Hermite Distribution. Biometrika 1965;52 (3-4):381–394.
McKendrick A G Applications of Mathematics to Medical Problems. Proceedings of the Edinburgh Mathematical Society 1926;44:98–130.
Kemp A W, Kemp C D. An alternative derivation of the Hermite distribution. Biometrika 1966;53 (3-4):627–628.
Patel Y C. Even Point Estimation and Moment Estimation in Hermite Distribution. Biometrics 1976;32 (4):865–873.
Gupta R P, Jain G C. A Generalized Hermite distribution and Its Properties. SIAM Journal on Applied Mathematics 1974;27:359–363.
Bekelis, D. Convolutions of the Poisson laws in number theory. In Analytic & Probabilistic Methods in Number Theory: Proceedings of the 2nd International Conference in Honour of J. Kubilius, Lithuania 1996;4:283–296.
Zhang J, Huang H. On Nonnegative Integer-Valued Lévy Processes and Applications in Probabilistic Number Theory and Inventory Policies. American Journal of Theoretical and Applied Statistics 2013;2:110–121.
Kotz S. Encyclopedia of statistical sciences. John Wiley 1982-1989.
Kotz S. Univariate discrete distributions. Norman L. Johnson 2005.
Puig P. (2003). Characterizing Additively Closed Discrete Models by a Property of Their Maximum Likelihood Estimators, with an Application to Generalized Hermite Distributions. Journal of the American Statistical Association 2003; 98:687–692.
Distributions
for some other distributions,
qhermite
, phermite
, rhermite
,
hermite-package
data <- c(rep(0,122), rep(1,40), rep(2,14), rep(3,16), rep(4,6), rep(5,2)) mle1 <- glm.hermite(data~1, link="log", start=NULL, m=3) mle1
data <- c(rep(0,122), rep(1,40), rep(2,14), rep(3,16), rep(4,6), rep(5,2)) mle1 <- glm.hermite(data~1, link="log", start=NULL, m=3) mle1
This data corresponds to an experimental simulation of in vitro whole body irradiation for high-LET radiation exposure, where peripheral blood samples were exposed to 10 different doses of 1480MeV oxygen ions. For each dose, the number of dicentrics chromosomes per blood cell were scored.
hi_let
hi_let
A data frame with 7413 rows and 3 columns.
DiGiorgio M. et al. (2004) Chromosome aberrations induced in human lymphocytes by heavycharged particles in track segment mode. Radiation Protection Dosimetry, 108, 47-53.
DiGiorgio M., Edwards A. A., Moquet J. E., Finnon P., Hone P. A., Lloyd D. C., Kreiner A. J., Schuff J. A., Taja M. R., Vallerga M. B., López F. O. and Burlón A., Debray M. E., Valda A. (2004) Chromosome aberrations induced in human lymphocytes by heavycharged particles in track segment mode. Radiation Protection Dosimetry, 108, 47-53.
This data corresponds to the 965 "number 1" hits on the Hot 100 chart over the period January 1955 to December 2003. For a recording that reaches the number one spot, Weeks measures the number of weeks that it stays at number one. The covariates are: Elvis = 1 if the recording was by Elvis Presley, = 0 otherwise; Beatles = 1 if the recording was by the Beatles, = 0 otherwise; Group = 1 if the recording was by a band, = 0 otherwise; Female = 1 if the artist was a solo female, = 0 otherwise; Male = 1 if the artist was a solo male, = 0 otherwise; Inst = 1 if the recording was purely instrumental, = 0 otherwise; and NonCon = 1 if the recording topped the charts in nonconsecutive weeks, = 0 otherwise.
hot100
hot100
A data frame with 965 rows and 9 columns.
http://web.uvic.ca/~dgiles/downloads/data/hot100.xls
Giles, D. E. (2006) Superstardom in the US popular music industry revisited. Economics Letters, 92(1):68–74. Giles, D. E. (2007) Modeling inflated count data. In Y. Berbers and W. Zwaenepoel, editors, Proceedings of the MODSIM 2007 International Congress on Modelling and Simulation, pages 919–925. L. Oxley and D. Kulasiri, Eds., Modelling and Simulation Society of Australia and New Zealand
Distribution function for the generalized Hermite distribution with
parameters a
, b
and m
.
phermite(q, a, b, m=2, lower.tail=TRUE)
phermite(q, a, b, m=2, lower.tail=TRUE)
q |
vector of non-negative integer quantiles. |
a |
first parameter for the Hermite distribution. |
b |
second parameter for the Hermite distribution. |
m |
degree of the generalized Hermite distribution. Its default value is |
lower.tail |
logical; if TRUE (default), probabilities are |
Probability for a generalized Hermite random varible with parameters a
,
b and m
to be lower (or greater) than q
.
David Moriña, Manuel Higueras, Pedro Puig and María Oliveira
Kemp C D, Kemp A W. Some Properties of the Hermite Distribution. Biometrika 1965;52 (3-4):381–394.
McKendrick A G Applications of Mathematics to Medical Problems. Proceedings of the Edinburgh Mathematical Society 1926;44:98–130.
Kemp A W, Kemp C D. An alternative derivation of the Hermite distribution. Biometrika 1966;53 (3-4):627–628.
Patel Y C. Even Point Estimation and Moment Estimation in Hermite Distribution. Biometrics 1976;32 (4):865–873.
Gupta R P, Jain G C. A Generalized Hermite distribution and Its Properties. SIAM Journal on Applied Mathematics 1974;27:359–363.
Bekelis, D. Convolutions of the Poisson laws in number theory. In Analytic & Probabilistic Methods in Number Theory: Proceedings of the 2nd International Conference in Honour of J. Kubilius, Lithuania 1996;4:283–296.
Zhang J, Huang H. On Nonnegative Integer-Valued Lévy Processes and Applications in Probabilistic Number Theory and Inventory Policies. American Journal of Theoretical and Applied Statistics 2013;2:110–121.
Kotz S. Encyclopedia of statistical sciences. John Wiley 1982-1989.
Kotz S. Univariate discrete distributions. Norman L. Johnson 2005.
Puig P. (2003). Characterizing Additively Closed Discrete Models by a Property of Their Maximum Likelihood Estimators, with an Application to Generalized Hermite Distributions. Journal of the American Statistical Association 2003; 98:687–692.
Distributions
for some other distributions,
dhermite
, qhermite
, rhermite
,
hermite-package
, glm.hermite
d <- phermite(4, 0.8, 0.3, m=3)
d <- phermite(4, 0.8, 0.3, m=3)
Quantile function for the generalized Hermite distribution with parameters
a
, b
and m
.
qhermite(p, a, b, m=2, lower.tail=TRUE)
qhermite(p, a, b, m=2, lower.tail=TRUE)
p |
vector of probabilities. |
a |
first parameter for the Hermite distribution. |
b |
second parameter for the Hermite distribution. |
m |
degree of the generalized Hermite distribution. Its default value is |
lower.tail |
logical; if TRUE (default), probabilities are |
The smallest integer such that
(or such that
if
lower.tail
is set to FALSE
), where X is a generalized Hermite random variable with
parameters a
, b
and m
.
David Moriña, Manuel Higueras, Pedro Puig and María Oliveira
Kemp C D, Kemp A W. Some Properties of the Hermite Distribution. Biometrika 1965;52 (3-4):381–394.
McKendrick A G Applications of Mathematics to Medical Problems. Proceedings of the Edinburgh Mathematical Society 1926;44:98–130.
Kemp A W, Kemp C D. An alternative derivation of the Hermite distribution. Biometrika 1966;53 (3-4):627–628.
Patel Y C. Even Point Estimation and Moment Estimation in Hermite Distribution. Biometrics 1976;32 (4):865–873.
Gupta R P, Jain G C. A Generalized Hermite distribution and Its Properties. SIAM Journal on Applied Mathematics 1974;27:359–363.
Bekelis, D. Convolutions of the Poisson laws in number theory. In Analytic & Probabilistic Methods in Number Theory: Proceedings of the 2nd International Conference in Honour of J. Kubilius, Lithuania 1996;4:283–296.
Zhang J, Huang H. On Nonnegative Integer-Valued Lévy Processes and Applications in Probabilistic Number Theory and Inventory Policies. American Journal of Theoretical and Applied Statistics 2013;2:110–121.
Kotz S. Encyclopedia of statistical sciences. John Wiley 1982-1989.
Kotz S. Univariate discrete distributions. Norman L. Johnson 2005.
Puig P. (2003). Characterizing Additively Closed Discrete Models by a Property of Their Maximum Likelihood Estimators, with an Application to Generalized Hermite Distributions. Journal of the American Statistical Association 2003; 98:687–692.
Distributions
for some other distributions,
dhermite
, phermite
, rhermite
,
hermite-package
, glm.hermite
d <- qhermite(0.9999987, 0.8, 0.3, m=3)
d <- qhermite(0.9999987, 0.8, 0.3, m=3)
Random generation for the generalized Hermite distribution with parameters
a
, b
and m
.
rhermite(n, a, b, m=2)
rhermite(n, a, b, m=2)
n |
number of observations. |
a |
first parameter for the Hermite distribution. |
b |
second parameter for the Hermite distribution. |
m |
degree of the generalized Hermite distribution. Its default value is |
A vector containing n
random deviates from a generalized Hermite
distribution.
David Moriña, Manuel Higueras, Pedro Puig and María Oliveira
Kemp C D, Kemp A W. Some Properties of the Hermite Distribution. Biometrika 1965;52 (3-4):381–394.
McKendrick A G Applications of Mathematics to Medical Problems. Proceedings of the Edinburgh Mathematical Society 1926;44:98–130.
Kemp A W, Kemp C D. An alternative derivation of the Hermite distribution. Biometrika 1966;53 (3-4):627–628.
Patel Y C. Even Point Estimation and Moment Estimation in Hermite Distribution. Biometrics 1976;32 (4):865–873.
Gupta R P, Jain G C. A Generalized Hermite distribution and Its Properties. SIAM Journal on Applied Mathematics 1974;27:359–363.
Bekelis, D. Convolutions of the Poisson laws in number theory. In Analytic & Probabilistic Methods in Number Theory: Proceedings of the 2nd International Conference in Honour of J. Kubilius, Lithuania 1996;4:283–296.
Zhang J, Huang H. On Nonnegative Integer-Valued Lévy Processes and Applications in Probabilistic Number Theory and Inventory Policies. American Journal of Theoretical and Applied Statistics 2013;2:110–121.
Kotz S. Encyclopedia of statistical sciences. John Wiley 1982-1989.
Kotz S. Univariate discrete distributions. Norman L. Johnson 2005.
Puig P. (2003). Characterizing Additively Closed Discrete Models by a Property of Their Maximum Likelihood Estimators, with an Application to Generalized Hermite Distributions. Journal of the American Statistical Association 2003; 98:687–692.
Distributions
for some other distributions,
dhermite
, phermite
, qhermite
,
hermite-package
, glm.hermite
rnd <- rhermite(1000, 0.8, 0.3)
rnd <- rhermite(1000, 0.8, 0.3)