Learn R Programming

npregfast (version 1.2.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

## S3 method for class 'frfast':
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.
  • modeltype of model: nonparametric or allometric.
  • hthe kernel bandwidth smoothing parameter.
  • dpdegree of the polynomial.
  • nbootnumber of bootstrap repeats.
  • kbinnumber of binning nodes over which the function is to be estimated.
  • nsample size.
  • fmodfactor's levels.
  • coefif 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