aStep1 {forsearch}R Documentation

Create Set of Observation Numbers in Step 1 for Linear Model Analysis

Description

Derives the first set of observation numbers for forsearch in linear models

Usage

aStep1(yesfactor, df1, inner.rank, initial.sample, formula, ycol, nopl, b.d)

Arguments

yesfactor

Logical. TRUE if there are factors in the X matrix

df1

Data frame being analyzed by forward search.

inner.rank

Rank of X matrix of lm analysis on entire database

initial.sample

Number of random samples from which to take set of initial observations

formula

Fixed parameter formula of lm function

ycol

Response column number

nopl

Number of observations per level of combined factor variables

b.d

Index of point to begin diagnostic listings

Details

Support function, usually not called independently

Value

Produces set of observation numbers for Step 1. Accounts for presence of factors in the dataset

Note

Presence of Observation column has no effect on outcome

Author(s)

William R. Fairweather


[Package forsearch version 6.0.0 Index]