6.7 Use the data in Table 6.2, where X represents a continuous predictor and Y represents a...
Question:
6.7 Use the data in Table 6.2, where X represents a continuous predictor and Y represents a probability.
a. Create a scatter plot of the data (with values of X on the horizontal axis and values of Y on the vertical axis). Describe the shape of the relationship between X and Y. Is it linear throughout?
b. Transform the values of Y using the natural log (ln) function and create a scatter plot with the original values of X plotted against the log of Y. Describe the shape of the relationship between X and the log of Y. Is it linear throughout?
c. Transform the values of Y using the logit function and create a scatter plot with the original values of X plotted against the logit of Y. Describe the shape of the relationship between X and the logit of Y. Is it linear throughout?
d. Would the log or logit link function be more appropriate for a GLM representing the relationship between X and Y? Explain.
Step by Step Answer:
Categorical Data Analysis For The Behavioral And Social Sciences
ISBN: 9780367352769
2nd Edition
Authors: Razia Azen, Cindy M. Walker