summary.samediff | 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 |
profile |
logical: Should the profile likelihood be used for
confidence intervals and p-values for the parameters? Defaults to
|
... |
can be |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.