Learn R Programming

gausscov (version 1.1.6)

f1bsf: Stepwise selection of interval covariates in non-paametric regression

Description

Stepwise selection of interval covariates in non-paametric regression

Usage

f1bsf(y,k,lam,pr=0.5,mm=20,p0=0.01)

Value

pv ff The approximation

res The residuals

Arguments

y

Dependent variable

k

Length odf smallest interval

lam

Factor for increasing size of intervals

pr

Proportional incerease in size of sample to reduce edge effects

mm

Parameter of fgentrig for the number of trigonometric functions

p0

Gaussian P-value threshold

Examples

Run this code
data(vardata)
a<-f1bsf(vardata[,70],4,1.1,pr=0,mm=10)

Run the code above in your browser using DataLab