statsmodels / statsmodels/statsmodels

DOC examples, define exog_names

Open
#1,466 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

comp-docs type-task
Dominant language
Python
Stars
11.6k
Forks
3.6k
Avg merge
7h 37m
Merged PRs (30d)
96

Description

add exog_names to the documentation example that use numpy arrays. for example in GLM

I think it would be good to have a mix of ndarrays, pandas and formula examples.
The first GLM example uses ndarrays.

We can also check if some additional examples should switch to pandas or formulas.

aside: we still need to get a recommended way to set exog_names, see comments in #1465

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the first GLM documentation example, which currently uses NumPy arrays, and identify the examples that need exog_names. Compare the documentation's ndarray, pandas, and formula examples, and review the discussion in issue #1465 before deciding how exog_names should be set. Done means the examples consistently demonstrate the intended data forms and include exog_names where appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.