Title: Default value for correction parameter (aka. ddof)? · Issue #695 · data-apis/array-api · GitHub
Open Graph Title: Default value for correction parameter (aka. ddof)? · Issue #695 · data-apis/array-api
X Title: Default value for correction parameter (aka. ddof)? · Issue #695 · data-apis/array-api
Description: I see that in the standard the ddof parameter of the var and std functions has been standardized with the name of correction, as the prior name was not very clear. However, I saw no discussion over the default value of that parameter. Th...
Open Graph Description: I see that in the standard the ddof parameter of the var and std functions has been standardized with the name of correction, as the prior name was not very clear. However, I saw no discussion over...
X Description: I see that in the standard the ddof parameter of the var and std functions has been standardized with the name of correction, as the prior name was not very clear. However, I saw no discussion over...
Opengraph URL: https://github.com/data-apis/array-api/issues/695
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Default value for correction parameter (aka. ddof)?","articleBody":"I see that in the standard the `ddof` parameter of the `var` and `std` functions has been standardized with the name of `correction`, as the prior name was not very clear.\r\n\r\nHowever, I saw no discussion over the default value of that parameter. The standard has `0` as the default, corresponding to a biased estimator. This is opposed to the common behavior found in other languages, such as R, Matlab or Julia. Even in Python, there does not seem to be a consensus, with NumPy (and some libraries inspired by it) using a biased estimator, while Pandas, Polars, and some libraries that evolved separately, such as Pytorch, use the unbiased estimator by default.\r\n\r\nIn statistics it seems that normalizing by $N-1$ is usually the preferred option, and nowadays in some cases the estimator is even defined using that denominator.\r\n\r\nCan someone explain to me what are the advantages of using `0` as the default? Right now I only see potential for confusion and bugs from people which obtain different results in different languages. Is it too late to change it?","author":{"url":"https://github.com/vnmabus","@type":"Person","name":"vnmabus"},"datePublished":"2023-10-04T12:18:04Z","url":"https://github.com/data-apis/array-api/issues/695"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bd1feaab-8c31-e567-559e-8a6467540652 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D65A:251AC0:10AD0B7:1643792:6B005DBA |
| html-safe-nonce | 92a54d324ebc3093cc29c65d40d637c6f19034973fe7bd21878750df0be29035 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjVBOjI1MUFDMDoxMEFEMEI3OjE2NDM3OTI6NkIwMDVEQkEiLCJ2aXNpdG9yX2lkIjoiNjA3Njc4NTY1MDc4MTE1MDY1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8d0cdfdb2f96cfabf6c4e1cc053d41b417af5a73f4fcf49e5ecbc26bfc4945aa |
| hovercard-subject-tag | issue:1926088960 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/data-apis/array-api/695/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b63dd363aa475285fca6254dd8296fb329be378d2d3574fe7220fdfbdd04fb7a/data-apis/array-api/issues/695 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b63dd363aa475285fca6254dd8296fb329be378d2d3574fe7220fdfbdd04fb7a/data-apis/array-api/issues/695 |
| og:image:alt | I see that in the standard the ddof parameter of the var and std functions has been standardized with the name of correction, as the prior name was not very clear. However, I saw no discussion over... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vnmabus |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| turbo-cache-control | no-preview |
| go-import | github.com/data-apis/array-api git https://github.com/data-apis/array-api.git |
| octolytics-dimension-user_id | 65124399 |
| octolytics-dimension-user_login | data-apis |
| octolytics-dimension-repository_id | 262820281 |
| octolytics-dimension-repository_nwo | data-apis/array-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 262820281 |
| octolytics-dimension-repository_network_root_nwo | data-apis/array-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width