cStep2: Update Observation Set in Step 2

cStep2R Documentation

Update Observation Set in Step 2

Description

Derives the set of observation numbers for step 2 for forsearch in Cox proportional hazard models

Usage

cStep2(fe, finalm, rimbs, dfa2, onlyfactor=FALSE, ycol, cphties,mstart, rnk, b.d)

Arguments

fe

Right hand side of formula

finalm

List of rows in model at each stage

rimbs

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

dfa2

Complete data frame with factor subset indicator codes

onlyfactor

Logical. TRUE if there are no continuous independent variables

ycol

Response column number

cphties

Character designation of method of handling ties

mstart

Number of observations in first stage of Step 2

rnk

Rank of linear analysis with factor variables removed

b.d

Indicator of starting point for diagnostic listings

Details

Support function; usually not called independently

Value

Vector of expanding number sets corresponding to observation numbers

Author(s)

William R. Fairweather


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