statsmodels / statsmodels/statsmodels
GLM Binomial Trials
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.6k
- Forks
- 3.6k
- Avg merge
- 7h 37m
- Merged PRs (30d)
- 96
Description
Should we keep data_weights that was dropped in commit 304ac9b? Or make Binomial family take a trials keyword. Use case, you have the success rate, but you also have a different number of trials for each observation in a separate variable. It's more convenient to not have to convert to success, failure.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing commit 304ac9b and the current Binomial family implementation to understand why data_weights was removed and how binomial observations are represented. Clarify whether the desired outcome is restoring data_weights or adding a trials keyword for per-observation trial counts, then define tests covering success rates with varying trials.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100