शुरू करेंमुफ़्त में शुरू करें

Building the model

As part of the model building process, first build a simple Poisson regression. A glm() runs quicker than glmer() and is easier to debug. For example, the Poisson regression might catch if you have non-integer data. Plus, the Poisson regression can provide intuition about the more complicated model.

If you run into any problems, follow the instructions to fix your data.

Last, build and save a repeated-measures Poisson regression.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Hierarchical and Mixed Effects Models in R

पाठ्यक्रम देखें

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Model TotalIncidents predicted by Year and County
# Use a Poisson regression with the hate data.frame 
___
कोड संपादित करें और चलाएँ