FitDefSc: An Effective Design Based Model Fitting Method for Definitive...

View source: R/FitDefSc.R

FitDefScR Documentation

An Effective Design Based Model Fitting Method for Definitive Screening Designs

Description

This function performs fits a model to a Definitive Screeing Design by first restricting main effects to the smallest main effects and those significant at at least the .20 level in a main effects model. Next forward stepwise selection is used to enter 2 factor interactions and quadratic effects.

Usage

FitDefSc(y,design,alpha=.05)

Arguments

y

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

design

input - this is a data frame containing the numeric columns of the candidate independent variables created by the DefScreen function with only numerical factors i.e. c=0. The factor names or colnames(design) should always be of length 1 (for example letters of the alphabet "A", "B", etc.)

alpha

input - alpha to enter in the forward stepwise regression with second order candidates should be between 0.05 and 0.20

Author(s)

John Lawson


daewr documentation built on Sept. 9, 2023, 9:06 a.m.