aStep2 {forsearch}R Documentation

Update Observation Set in Step 2

Description

Derives the set of observation numbers for forsearch in Step 2 for linear models

Usage

aStep2(yesfactor, form.A2, finalm, rimbs, dfa2, ycol, mstart, rnk, b.d)

Arguments

yesfactor

True or False for presence of factors

form.A2

Formula for analysis of entire dataset

finalm

See VALUE above. finalm argument is the same but only for Step 1 values

rimbs

List, each element is a matrix of obs numbers and corresponding subset codes

dfa2

Data frame being analyzed by forward search. Presence of Observation column has no effect on output

ycol

Response column number, including 1 for Observation

mstart

Number of first subset to be defined in Step 2

rnk

Rank of X matrix. For factors, this is rank with factors removed.

b.d

Number at which to begin diagnostic listings

Details

Support function, usually not called independently

Value

Vector of integers corresponding to observation numbers

Author(s)

William R. Fairweather


[Package forsearch version 6.2.0 Index]