test.nb.inar1: Testing Hypotheses in NB-INAR(1) model
Description
test.nb.inar1 tests hypotheses for rate ratios of two groups in an NB-INAR(1) model
Usage
test.nb.inar1(dataC, dataE, h0 = 1)
Arguments
dataC
a matrix or data frame containing count data from the control group. Columns correspond to time points, rows to observations.
dataE
a matrix or data frame containing count data from the experiment group. Columns correspond to time points, rows to observations.
h0
the value against which h is tested, see 'Details'.
Value
test.nb.inar1 returns effect size, standard error, Z-statistic and p-value attained through standard normal approximation.
Details
the function test.nb.inar1 tests for the null hypothesis \(\lambda_T/\lambda_C = h0\) against the alternative \(\lambda_T/\lambda_C \neq h_0\).
For attaining estimates, method of moments estimators are used.
See Also
rnbinom.inar1 for information on the NB-INAR(1) model, n.nb.inar1 for calculating
initial sample size required when performing inference, fit.nb.inar1 for calculating
initial parameters required when performing sample size estimation