Learn R Programming

npregfast (version 1.3.0)

summary.frfast: Summarizing fits of frfast class

Description

Takes a fitted frfast object produced by frfast() and produces various useful summaries from it.

Usage

"summary"(object = model, ...)

Arguments

object
a fitted frfast object as produced by frfast().
...
additional arguments affecting the predictions produced.

Value

summary.frfast computes and returns a list of summary information for a fitted frfast object.
model
type of model: nonparametric or allometric.
smooth
type of smoother: kernel or splines.
h
the kernel bandwidth smoothing parameter.
dp
degree of the polynomial.
nboot
number of bootstrap repeats.
kbin
number of binning nodes over which the function is to be estimated.
n
sample size.
fmod
factor's levels.
coef
if model = "allo", coefficients of the model.

Details

print.frfast tries to be smart about summary.frfast.

References

Sestelo, M. (2013). Development and computational implementation of estimation and inference methods in flexible regression models. Applications in Biology, Engineering and Environment. PhD Thesis, Department of Statistics and O.R. University of Vigo.

Examples

Run this code
library(npregfast)
data(barnacle)

# Nonparametric regression without interactions
fit <- frfast(DW ~ RC, data = barnacle, nboot = 100) 
fit
summary(fit)

# Nonparametric regression with interactions
fit2 <- frfast(DW ~ RC : F, data = barnacle, nboot = 100)
fit2
summary(fit2)

# Allometric model
fit3 <- frfast(DW ~ RC, data = barnacle, model = "allo", nboot = 100)
fit3
summary(fit3)

Run the code above in your browser using DataLab