Often one wants to get a quick evaluation of whether, at least approximately, a model assuming linearity on the logit scale is a reasonable assumption. One does this by graphing logits within groups.
Homework
Use a copy of the dataset lipid2018 that includes the variables age and a numeric variable chd. The numeric variable chd is coded 1 if the original character variable equals "Yes" 0 otherwise.
Use the macro to graph the logits for age in 6 groups.