-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
xarray.Dataset.var - xarray.DataArray.var - does it have ddof=1 parameter? #1050
Comments
Good question. Setting |
In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity |
In I'm considering two different options to clarify this:
Both would require some logic in Is there any clear preference from anyone about this? |
Thanks for finding that @sjvrijn I don't have a view on what we should use, so I would vote to defer to numpy (and pandas, which also seems to use 1), referencing that documentation to the extent xarray isn't changing anything. But others probably have a stronger view on which |
It is not clear from the description whether ddof = 1 is available and/or if it is set to 0.
(https://docs.scipy.org/doc/numpy-1.6.0/reference/generated/numpy.var.html)
for large samples, 1 or 0 don't make a lot of difference, but it would be good to know whether it uses N-1 or N.
The text was updated successfully, but these errors were encountered: