Description Usage Arguments Value Author(s) References Examples
Score test for the extra (with respect to the Poisson) parameter in the Touchard
model (Null: δ = 0) performed without the need to fit
the Touchard model. Analogous likelihood-ratio and Wald tests (which require fitting
the full model) are available in the output of toureg
.
1 | score.delta(x, freq = NULL, max = 50, data)
|
x |
for univariate data: either an object of class |
freq |
unnecessary (and ignored) if |
max |
number of Poisson terms used in calculations of necessary moments |
data |
data frame containing the variables in the model. |
A list with elements
stat |
the value the chi-squared test statistic. |
pval |
the p-value for the test (from chi^2(df=1)). |
Bernardo Andrade and Sandro Oliveira
Andrade, BB; Matsushita, RY; Oliveira, SB (submitted) Analyzing Count Data with the Touchard Model. available upon request.
1 2 3 4 5 | data(Epilepsy)
score.delta(seizures)
data(Crabs)
score.delta( y ~ weight + color, data = Crabs )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.