Description Usage Arguments Details See Also Examples
View source: R/summary.ssest.r
summary
method for class "ssest
".
1 2 |
object |
an object of class " |
... |
Arguments to be passed to or from other methods. |
summary.ssest
gives back initial sample size estimates required. Furthermore, inputs are displayed for double checking.
n.nb.inar1
for initial sample size estimates within the NB-INAR(1) model.
1 2 3 4 5 6 7 | #Calculate required sample size to find significant difference with
#80% probability when testing the Nullhypothesis H_0: mu_T/mu_C >= 1
#assuming the true effect delta is 0.8 and rate, size and correlation
#parameter in the control group are 2, 1 and 0.5, respectively.
estimate<-n.nb.inar1(alpha=0.025, power=0.8, delta=0.8, muC=2, size=1, rho=0.5, tp=7, k=1)
summary(estimate)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.