Purposeful selection of variables in logistic regression

BackgroundThe main problem in many model-building situations is to choose from a large set of covariates those that should be included in the "best" model. A decision to keep a variable in the model might be based on the clinical or statistical significance. There are several variable selection algorithms in existence. Those methods are mechanical and as such carry some limitations. Hosmer and Lemeshow describe a purposeful selection of covariates within which an analyst makes a variable selection decision at each step of the modeling process.MethodsIn this paper we introduce an algorithm which automates that process. We conduct a simulation study to compare the performance of this algorithm with three well documented variable selection procedures in SAS PROC LOGISTIC: FORWARD, BACKWARD, and STEPWISE.ResultsWe show that the advantage of this approach is when the analyst is interested in risk factor modeling and not just prediction. In addition to significant covariates, this variable selection procedure has the capability of retaining important confounding variables, resulting potentially in a slightly richer model. Application of the macro is further illustrated with the Hosmer and Lemeshow Worchester Heart Attack Study (WHAS) data.ConclusionIf an analyst is in need of an algorithm that will help guide the retention of significant covariates as well as confounding ones they should consider this macro as an alternative tool.

[1]  S Greenland,et al.  Re: "The impact of confounder selection criteria on effect estimation. , 1989, American journal of epidemiology.

[2]  Rainer Muche,et al.  Applied Survival Analysis: Regression Modeling of Time to Event Data.DW Hosmer, Jr., S Lemeshow. New York: John Wiley, 1999, pp.386, US$89.95. ISBN: 0-471-15410-5. , 2001 .

[3]  D. Hosmer,et al.  A Communitywide Perspective of Sex Differences and Temporal Trends in the Incidence and Survival Rates After Acute Myocardial Infarction and Out‐of‐Hospital Deaths Caused by Coronary Heart Disease , 1993, Circulation.

[4]  Gregory Gutin,et al.  When the greedy algorithm fails , 2004, Discret. Optim..

[5]  François Margot,et al.  Greedy-type resistance of combinatorial problems , 2006, Discret. Optim..

[6]  D. Hosmer,et al.  Applied Logistic Regression , 1991 .

[7]  David W. Hosmer,et al.  Applied Survival Analysis: Regression Modeling of Time-to-Event Data , 2008 .

[8]  Gregory Gutin,et al.  Traveling salesman should not be greedy: domination analysis of greedy-type heuristics for the TSP , 2001, Discret. Appl. Math..

[9]  J. Alpert,et al.  Recent changes in attack and survival rates of acute myocardial infarction (1975 through 1981). The Worcester Heart Attack Study. , 1986, JAMA.

[10]  Peter Norvig,et al.  Artificial Intelligence: A Modern Approach , 1995 .

[11]  A. Afifi,et al.  Comparison of Stopping Rules in Forward “Stepwise” Regression , 1977 .

[12]  Isabelle Guyon,et al.  An Introduction to Variable and Feature Selection , 2003, J. Mach. Learn. Res..