-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
BUG: Lowess extrapolation missing output values. #7337
Comments
tprodanov
changed the title
Lowess extrapolation missing output values.
BUG: Lowess extrapolation missing output values.
Feb 26, 2021
This was referenced Apr 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Suppose input values are defined on [5, 14], Then if you use
lowess
and usexvals
to get values on a bigger range of Xs (for example [0, 19]), the output may contain undefined values even on the input range of Xs. Additionally, differentfrac
values produce different behaviours that are not obvious.In the last example, output is undefined even if you use the same output X values as input X values.
Code example
Expected output
Ideally,
lowess
output should be defined at least on the range of input Xs.Also, values do not become NaNs gradually (for example undefined below some
frac
value and defined above).Because of that it looks like a bug and not like an expected behaviour.
Output of
import statsmodels.api as sm; sm.show_versions()
The text was updated successfully, but these errors were encountered: