Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: stats: Correct levy_stable loc-scale note #19175

Merged
merged 4 commits into from Sep 2, 2023

Conversation

lutefiskhotdish
Copy link
Contributor

Generic after_notes in stats.levy_stable doc string incorrectly asserted that the scale and location parameters
always behave in the usual way. The S1 parameterization has different scaling behavior when alpha==1.

[skip actions] [skip cirrus]

Reference issue

Closes gh-19140

What does this implement/fix?

Replace generic after_notes in levy_stable doc string to note exception for S1 parameterization when alpha==1.

Additional information

For info on levy-stable parameterization scale and location, see Stable Distributions, p. 9.

lutefiskhotdish and others added 3 commits September 2, 2023 10:51
Replace generic after_notes in levy_stable doc string to note exception for `S1` parameterization when alpha==1.

[skip actions] [skip cirrus]
Extra space at start of one line made it render separately instead of flowing with surrounding text.  Removed that space.

[skip actions] [skip cirrus]
Copy link
Contributor

@mdhaber mdhaber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lutefiskhotdish! This information is consistent with the reference, and the presentation of the information fits with the usual style of the note.

@mdhaber mdhaber merged commit a0d39d5 into scipy:main Sep 2, 2023
@mdhaber mdhaber added this to the 1.12.0 milestone Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: stats: alternative loc-scale handling in levy_stable
2 participants