Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summary.fregre.gkam

Summarizes information from fregre.gkam objects.


Description

Summary function for fregre.gkam function.

-Family used.
-Number or iteration of algorithm and if it has converged.
-Residual and null deviance.
-Number of data.

Produces a list of summary information for a fitted fregre.np object for each functional covariate.

-Call.
-R squared.
-Residual variance.
-Index of possible atypical curves or possible outliers.
-Index of possible influence curves.

If draw=TRUE plot:

-y vs y fitted values.
-Residuals vs fitted values.
-Residual boxplot.
-Quantile-Quantile Plot (qqnorm).
-Plot for a each single model term.

If ask=FALSE draw graphs in one window, by default. If ask=TRUE, draw each graph in a window, waiting to confirm.

Usage

## S3 method for class 'fregre.gkam'
summary(object, draw = TRUE, selec = NULL, times.influ = 3, ...)

Arguments

object

Estimated by functional regression, fregre.fd object.

draw

=TRUE draw estimation and residuals graphics.

selec

Allows the plot for a single model term to be selected for printing. e.g. if you just want the plot for the second smooth term set selec=2. .

times.influ

Limit for detect possible infuence curves.

...

Further arguments passed to or from other methods.

Author(s)

Manuel Febrero-Bande and Manuel Oviedo de la Fuente manuel.oviedo@usc.es

See Also

Summary function for fregre.gkam.

Examples

## Not run: 
# Time consuming
data(tecator)
ind<-1:129
ab=tecator$absorp.fdata[ind]
ab2=fdata.deriv(ab,2)
yfat=as.integer(cut(tecator$y[ind,"Fat"],c(0,15,100)))-1
xlist=list("df"=data.frame(yfat),"ab2"=ab2,"ab"=ab)
f<-yfat~ab+ab2
res=fregre.gkam(f,data=xlist,family=binomial("logit"),control=list(maxit=2))
summary(res)
res

## End(Not run)

fda.usc

Functional Data Analysis and Utilities for Statistical Computing

v2.0.2
GPL-2
Authors
Manuel Febrero Bande [aut], Manuel Oviedo de la Fuente [aut, cre], Pedro Galeano [ctb], Alicia Nieto [ctb], Eduardo Garcia-Portugues [ctb]
Initial release
2020-02-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.