summary.DSA {DSA}R Documentation

Summarization of the results of a call to the DSA routine

Description

Provides a useful summary of a call to the DSA routine.

Usage

summary.DSA(object, ...)

Arguments

object an object of class 'DSA'.
... currently ignored.

Value

An object of class 'summary.DSA'. Objects of class 'summary.DSA' have the following attributes:

model a formula representing the final model selected by the DSA routine.
family a description of the link function for model.selected: gaussian indicates the indentity function while binomial indicates the logit function.
n.obs number of observations in the data frame data passed in to the DSA routine.
n.nonna number of complete observations on which model.selected is based (no missing values).
average.CVrisks.best minimum average cross-validated risk among all average cross-validated risks associated with all model sizes and interaction orders considered by the DSA routine.
average.CVrisk.model.selected average cross-validated risk for model.selected.
coefficients the coefficients of model.selected fitted on n.nonna observations from the learning set.
n.id number of independent experimental units in the data frame data passed in to the DSA routine.
n.id.nonna number of complete independent experimental units on which model.selected is based (no missing values).

Author(s)

James Bullard.

See Also

DSA.

Examples

library(DSA)

## an example using the state census data. (gaussian)  
data(state)
state.data <- as.data.frame(state.x77)
colnames(state.data) <- unlist(lapply(strsplit(colnames(state.data), " "),
                                      function(x) paste(x, collapse = "")))
res <- DSA(Murder ~ 1, data = state.data, maxsize = 5, maxsumofpow = 2,maxorderint = 2)
res
summary(res)

[Package DSA version 2.0.2 Index]