{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# CH6-4 - Outline Chapter 6 Building and Applying Logistic...

This preview shows pages 1–3. Sign up to view the full content.

Chapter 6. Building and Applying Logistic Regression Models Deyuan Li School of Management, Fudan University Feb. 28, 2011 1 / 65 Outline 6.1 Strategies in Model Selection 6.2 Logistic Regression Diagnostics 6.3 Inference about Conditional Association in 2 × × K Tables 2 / 65 6.1 Strategies in model selection The selection process becomes harder as the number of explanatory variables increases, because of the rapid increase in possible effects and interactions. Two competing goals of model selection: the model should be complex enough to fit the data well; the model should be simple to interpret, smoothing rather than overfitting the data. Most models are designed to answer certain questions. Those questions guide the choice of model terms: Confirmatory analysis use a restrict set of models; e.g., a study hypothesis about an effect may be tested by comparing models with and without that effect. For exploratory studies, a search among possible models may provide clues about the dependence structure and raise questions for future research. 3 / 65 In either case, it is helpful first to study the effect on Y of each predictor by itself using graphics (incorporating smoothing) for a continuous predictor or a contingency table for a discrete predictor. This give a “feel” for the marginal effects. Unbalanced data, with relatively few responses of one type, limit the number of explanatory variables ( x terms) for the model. One guideline: at least 10 outcomes of each type should occur for every x term. For instance, if y = 1 only 30 times out of n = 1000, the model should contain no more than about 3 x terms. Such guidelines are approximate. This does not mean that if you have 500 outcomes of each type you are well served by a model with 50 x terms. 4 / 65

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Many model selection procedures exist, no one of which is always best. A model with several predictors may suffer from multicollinearity , i.e., correlations among predictors making it seem that no one predictor is important when all the others are in the model. A predictor may seem to have little effect because it overlaps considerably with other predictors in the model, i.e., itself being predicted well by the other predictors. Deleting such a redundant predictor can be helpful, for instance to reduce standard errors of other estimated effects. 5 / 65 6.1.1 Horseshoe crab example revisited The horseshoe crab data set in Table 4.3 has four predictors: color (4 categories), spine condition (3 categories), weight and width of the carapace shell. Outcome: The crab has satellites ( y = 1) or not ( y = 0). Preliminary model: 4 predictors, only main effects logit[ P ( Y = 1)] = α + β 1 weight + β 2 width + β 3 c 1 + β 4 c 2 + β 5 c 3 + β 6 s 1 + β 7 s 2 , treating color ( c i ) and spine condition ( s j ) as qualitative (factors), with dummy variables for the first 3 colors and the first 2 spine conditions. Table 6.1 shows results.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern