summary.samediff {sensR} | R Documentation |
Makes a summary of a samediff
object with option to use profile
likelihood for confidence intervals and p-values or the assymptotic
variance-covariance matrix.
## S3 method for class 'samediff': summary(object, profile = TRUE, ...)
object |
a samediff object |
profile |
logical: Should the profile likelihood be used for
confidence intervals and p-values for the parameters? Defaults to
TRUE . If FALSE the assymptotic variance-covariance
matrix derived from the observed Fisher information matrix will be
used. See Details for more information. |
... |
can be level , eg 0.95 to specify the confidence
level of the intervals. |
Note that the variance-covariance matrix does not always exist in
contrast to the profile likelihood. profile = FALSE
may
therefore cause confidence intervals etc. to be NA
.
An object of class summary.samediff
inheriting elements from the
samediff
object and with the following additional elements
table |
matrix with parameter estimates, standard errors, confidence intervals and p-values. |
AIC |
the AIC of the object. |
Rune Haubo B Christensen
confint.samediff
, profile.samediff
# data: 8 of the same samples were judged to be same # 5 of the same samples were judged to be different # 4 of the different samples were judged to be same # 9 of the different samples were judged to be different sadi <- samediff(8, 5, 4, 9) summary(sadi) summary(sadi, FALSE)