Returns a summary list for objects of class marg
.
# S3 method for marg
summary(object, alpha = 0.05, test = NULL, all = FALSE,
coef = TRUE, int = ifelse((is.null(test) || all), TRUE, FALSE),
digits = NULL, …)
a marg
object. This is assumed to be the result returned
by the cond.rsm
function.
a vector of levels for confidence intervals; the default is 5%.
a vector of values of the parameter of interest one wants to test
for. If NULL
no test is performed. The default is
NULL
.
logical value; if TRUE
all the information stored in the
summary.marg
object is printed, else only a subset of it.
The default is FALSE
.
logical value; if TRUE
the unconditional and approximate
conditional/marginal MLEs are printed. The default is
TRUE
.
logical value; if TRUE
confidence intervals are printed.
The default is TRUE
.
the number of significant digits to be printed. The default depends
on the value of digits
set by options
absorbs any additional argument.
A list is returned with the following components:
a \(2\times 2\) matrix containing the unconditional and approximate conditional/marginal MLEs and their standard errors.
a matrix containing, for each level given in alpha
, the
upper and lower confidence bounds derived from several first and
higher order test statistics. One-sided and two-sided confidence
intervals are considered. See marg.object
for
details on the test statistics used.
a list with two elements. The first (stats
) contains, for
each value given in test
, the values and tail probabilities
of several first and higher order test statistics. See
marg.object
for details on the test statistics. The
second element of the list (qTerm
) contains for each tested
hypothesis the correction term used in the higher order solutions.
the function call that created the marg
object.
the model formula.
the name of the error distribution.
the covariate occurring in the model formula whose coefficient
represents the parameter of interest or scale
if the
parameter of interest is the scale parameter.
the vector of levels used to compute the confidence intervals.
the values for the parameter of interest that have been tested for.
the information and nuisance parameters aspects; see
marg.object
for details.
the number of output points that have been calculated exactly.
logical value; if TRUE
, all the information stored in the
summary.marg
object is printed.
logical value; if TRUE
, the parameter estimates are printed.
logical value; if TRUE
, confidence intervals are printed.
a logical value indicating whether there are any nuisance
parameters. If FALSE
there are none.
the number of significant digits to be printed.
This function is a method for the generic function summary()
for objects of class marg
. It can be invoked by calling
summary
or directly summary.marg
for an object of the
appropriate class.
# NOT RUN {
## House Price Data
data(houses)
houses.rsm <- rsm(price ~ ., family = student(5), data = houses)
houses.marg <- cond(houses.rsm, floor)
summary(houses.marg, test = 0, coef = FALSE)
# }
Run the code above in your browser using DataLab