Skip to content

proportion_chisquare_*pairs* functions mistaken docstring #7776

Closed

Description

@Daedalos

prop : float, optional

prop : float, optional

I may be mistaken, but I think these docs are wrong. Idon't think this parameter is actually used in either of these chisquare "all" functions. It looks like maybe it was intended to be a control, which should only apply to the second function, but proportions_chisquare_pairscontrol specifies that the control is assumed to be the first element of the count and nobs arrays.

Never done a pull request so i'm not actually sure the process to suggest the correction

Activity

  1. josef-pkt commented on Oct 1, 2021

    @josef-pkt
    Member

    Thanks for reporting.

    I guess it's a copy paste error

    For this you could try the edit icon when viewing the file in main. AFAIK, it will automatically create a pull request.
    (I never tried it myself)
    https://github.com/statsmodels/statsmodels/edit/main/statsmodels/stats/proportion.py

    But it's also useful to learn how to do a full pull request on github, because by now most "action" for opensource, and for personal version control, is on github.

  2. josef-pkt commented on Oct 1, 2021

    @josef-pkt
    Member

    I think you can edit this in your repo ( I never tried this either)
    hit edit link in
    https://github.com/Daedalos/statsmodels/blob/patch-1/statsmodels/stats/proportion.py

    and add this before multitest_method line 1021

    value : None
        ``value`` option is currently not implemented.
    
  3. added this to the 0.14 milestone on Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions