summary.spm: Semiparametric regression summary

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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

Usage

1
2
## S3 method for class 'spm'
summary(object,...)

Arguments

object

a fitted spm object as produced by spm().

...

other arguments.

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.

Value

The function generates summary tables.

Author(s)

M.P. Wand mwand@uow.edu.au (other contributors listed in SemiPar Users' Manual).

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

1
2
3
4
5
6
library(SemiPar)
data(onions)
attach(onions)
log.yield <- log(yield)
fit <- spm(log.yield~location+f(dens))
summary(fit)

Example output

Summary for linear components:

             coef      se  ratio p-value
intercept  5.3880 0.24230  22.24       0
location  -0.3325 0.02388 -13.92       0




Summary for non-linear components:

           df  spar knots
f(dens) 4.213 63.02    17

SemiPar documentation built on May 2, 2019, 5:42 a.m.

Related to summary.spm in SemiPar...