Features & Development

Statistics Functions

Statistics Functions

by Matt Rissler -
Number of replies: 1
If I wanted to implement functions to make writing statistics problems easier (mean, variance_pop, std_dev_sample,...) where would I go about placing the functions.  This tends to make the Statistics problems take more code than it would otherwise.  PGstatisticsmacros.pl seems like a good place, but that seems poorly populated with functions currently.

Also is there documentation anywhere for which github server should be developed on and how to get commit access?  (Not that I'm there yet, but...)

Thanks,
Matt


In reply to Matt Rissler

Re: Statistics Functions

by Michael Gage -
That's probably as good a place as any. Put them in PGstatisticsmacros.pl.

If you are developing specialized macros for your own set of problems you could also put them in webwork-open-problem-library/OpenProblemLibrary/macros.    I don't see any additional statistics type macros there at this time.

We're still working on the docs for "how to become a developer" but some preliminaries are at:

http://webwork.maa.org/wiki/Github#Contributing_to_WeBWorK

Basically you should sign up for your own github.com account (they are free) and when something is ready for inspection/distribution   send a pull request to openwebwork.

For development start using the webwork2-dev and pg-dev repositories on openwebwork.  They are fairly stable and represent the stable tip of development. The webwork and pg repositories we are using for distribution
for those who don't plan to develop code but want a more seasoned release.

Have fun and let us know when you've got something.

Take care,

Mike