Update statsmodels.stats.gof.gof_chisquare_discrete docstring

Open
#4,812 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

Start with the gof_chisquare_discrete docstring and its generated documentation page at the linked URL. Check the documented distname parameter against the function's actual distfn argument and type, then regenerate or validate the documentation so the parameter name and type are accurate.

Written by the indexing model from the issue text.

Description

http://www.statsmodels.org/stable/generated/statsmodels.stats.gof.gof_chisquare_discrete.html#statsmodels.stats.gof.gof_chisquare_discrete

You can see it takes an argument named distfn but the docs (still?) show distname as the argument. Their types differ, so it's not just a renaming of the argument.

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

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.

More from statsmodels/statsmodels

All issues in statsmodels/statsmodels

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.