cStep1: Create Set of Observation Numbers in Step 1 for Cox...

cStep1R Documentation

Create Set of Observation Numbers in Step 1 for Cox Proportional Hazards Model Analysis

Description

Derives the first set of observation numbers for forsearch in Cox Proportional Hazards models

Usage

cStep1(df1, df1.ls, inner.rank, initial.sample, f.e, cphties, ycol, b.d)

Arguments

df1

Data frame being analyzed by forward search.

df1.ls

List, each element of which is a factor subset of df1

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

f.e

Right-hand side of formula for Surv function

cphties

Character value of method of handling ties

ycol

Response column number

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

Author(s)

William R. Fairweather


forsearch documentation built on April 4, 2025, 5:52 a.m.