ihstep: This function performs Tukey's single degree of freedom test...

Description Usage Arguments Value Author(s) Examples

View source: R/ihstep.R

Description

This function performs the first step of a hierarchical forward stepwise regression. If an interaction or quadratic term is entered first, the parent main effects are also entered into the model.

Usage

1
ihstep(y,des)

Arguments

y

input - this is a data frame containing a single numeric column of response data.

des

input - this is a data frame containing the numeric columns of the candidate independent variables.

Value

returned vector of terms entered in the model at this step.

Author(s)

John Lawson

Examples

1
2
3
4
library(daewr)
des <- DefScreen( m = 8 )
pd<-c(5.35,4.4,12.91,3.79,4.15,14.05,11.4,4.29,3.56,11.4,10.09,5.9,9.54,4.53,3.919,8.1,5.35)
trm<-ihstep(pd,des)

daewr documentation built on May 29, 2017, 6:11 p.m.

Search within the daewr package
Search all R packages, documentation and source code