Practice: Maximum likelihood models

If you complete this exercise using the Quarto file used to generate this page, you could be able to change the format: header above to say format: pdf, it will render as a pdf file that includes just the questions and your answers (and not, for example, this text).

In this exercise, you will be using data of your choosing to fit a logit model with a continuous explanatory variable (that you will treat as your key explanatory variable) and at least one binary or categorical variable.

1. In 1-2 sentences, describe the dataset that you will be using. [2]

2. Using these data, fit your logit model. I will refer to this in what follows as Model 1.[0]

3. Fit a model that includes all the terms from Model 1 but adds a term for the square of your key explanatory variable (we will call this Model 2). [1]

4. Make a pleasant-looking table which presents the results of the coefficients from the models fit without your covariate added (called “Model 1”) and with your covariate added (called “Model 2”). [5]

5. Looking at the AIC and BIC from the table you made, which model is preferred by these criteria? [1]

6. If AIC and BIC disagree about which model is preferred, the disagreement is that AIC prefers model #2 while BIC prefers model #1. How do I know this, without even looking at your specific results? [1]