summary.frfast {npregfast}R Documentation

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.

Details

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

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.

Author(s)

Marta Sestelo, Nora M. Villanueva and Javier Roca-Pardinas.

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.

Sestelo, M., Villanueva, N.M., Meira-Machado, L., Roca-Pardinas, J. (2017). npregfast: An R Package for Nonparametric Estimation and Inference in Life Sciences. Journal of Statistical Software, 82(12), 1-27.

Examples

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)


[Package npregfast version 1.5.2 Index]