I have some poisson samples like this: each sample has a time duration and also number…
- User
I have some poisson samples like this: each sample has a time duration and also number of occurences. Like (t_i, c_i). I want to fit a poisson regression on this data using python. What are my options?
Assistant
For Poisson regression on time duration and count data in Python, you have several good options. Here's an overview:
- Using statsmodels (most straightforward):
python
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.