March 30, 2011

A Worked Generalized Linear Model Example (Advanced Data Analysis from an Elementary Point of View)

Building a weather forecaster for Snoqualmie Falls, Wash., with logistic regression. Exploratory examination of the data. Predicting wet or dry days form the amount of precipitation the previous day. First logistic regression model. Finding predicted probabilities and confidence intervals for them. Comparison to spline smoothing and a generalized additive model. Model comparison test detects significant mis-specification. Re-specifying the model: dry days are special. The second logistic regression model and its comparison to the data. Checking the calibration of the second model.

PDF handout, snoqualmie.csv data set, R

Manual trackback: SnoValley Star (!)

Advanced Data Analysis from an Elementary Point of View

Posted at March 30, 2011 23:02 | permanent link

Three-Toed Sloth