-
Notifications
You must be signed in to change notification settings - Fork 107
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
More Stats Functions #1732
Comments
t-test-pooled, t-test-independent, chi-square brownplt#1732
Thanks, @ds26gte! Can you add some tests, please? |
…lt#1732 - statistics.arr: added exceptions for t-test-{pooled, independent}
@ds26gte awesome to see this progress! I'm still hoping we can add a z-test function as well (see checklist in the issue). |
@team, the z-test seems to require, in addition to the two samples, also the population (rather than the sample) variances. Please add what you think are the right arguments for the z-test and the other functions that I've already added. |
@ds26gte waiting to hear back about the desired contract from one of the teachers who requested these functions, which should give me a sense for whether these are close enough to what they need that I couldn't bridge the gap in a teachpack. Will wait to hear back. |
@ds26gte I spoke with Nancy Pfenning today, who gave the following descriptions of what the inputs to various functions should be: z-test: list of numbers, stddev, hypothesized mean I think this is all inline with what you have, with the exception of the z-test. Can you double-check your implementation, and let me know why it has two lists of numbers? |
list of known x-inputs, and a list of the corresponding known y-outputs, and returns a predictor function that takes a list of x-inputs and returns its estimated y-output brownplt#1732 - js/trove/multiple-regression.js contains the JS implementation of multiple-regression and all its matrix subroutines - tests/test-statistics.arr: added a basic test (can add more from curriculum examples, when these are added)
representing one input (setting of indep vars to values). The returned predictor fn also takes an N-tuple brownplt#1732
multiple-regression.js: clean-up w/ better row/col indexing names
- check mulreg test on 1 var matches our linreg on same var - add mulreg test for 2 vars statistics.arr: add pointers to docs for formulas used
…ts arg tuple's elts are numbers brownplt#1732
Issue brownplt/code.pyret.org#520 filed by @schanzer
We've had a few teachers ask if Pyret supports various stats functions:
Getting these implemented as a Pyret program would be great, but implementing them as part of Pyret's stats library would be much better.
(In keeping with the other stats functions, these should all operate on lists. I'll wrap them to work with tables in the DS teachpack.)
The text was updated successfully, but these errors were encountered: