Learn R Programming

SemiPar (version 1.0-4.2)

summary.spm: Semiparametric regression summary

Description

Takes a fitted spm object produced by spm() and summarises the fit.

Usage

# S3 method for spm
summary(object,...)

Arguments

object

a fitted spm object as produced by spm().

...

other arguments.

Value

The function generates summary tables.

Details

Produces tables for the linear (parametric) and non-linear (nonparametric) components. The linear table provides coefficient estimates, standard errors and p-values. The non-linear table provides degrees of freedom values and other information.

References

Ruppert, D., Wand, M.P. and Carroll, R.J. (2003) Semiparametric Regression Cambridge University Press. http://stat.tamu.edu/~carroll/semiregbook/

Ganguli, B. and Wand, M.P. (2005) SemiPar 1.0 Users' Manual. http://matt-wand.utsacademics.info/SPmanu.pdf

See Also

spm plot.spm predict.spm

Examples

Run this code
# NOT RUN {
library(SemiPar)
data(onions)
attach(onions)
log.yield <- log(yield)
fit <- spm(log.yield~location+f(dens))
summary(fit)
# }

Run the code above in your browser using DataLab