https://github.com/glycerine/zettalm

will do your regression and then give you t-statistics. For example:

https://github.com/glycerine/zettalm/blob/master/big_test.go#L158

To convert the t-stat to a p-value, use the complement of the 
error-function, a.k.a Erfc
https://golang.org/pkg/math/#Erfc
https://en.wikipedia.org/wiki/Error_function

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to