You probably want to use gonum/matrix/mat64 instead of go.matrix. We don't have p-value calculation yet, but open up an issue in github.com/gonum/stat
On Saturday, July 23, 2016 at 11:47:37 PM UTC-4, Michael Jones wrote: > > I stand corrected. Thanks! > > > > -- > > Michael T. Jones > > > > *From: *<golan...@googlegroups.com <javascript:>> on behalf of Vineet > Jain <vinj...@gmail.com <javascript:>> > *Date: *Saturday, July 23, 2016 at 3:18 PM > *To: *golang-nuts <golan...@googlegroups.com <javascript:>> > *Cc: *<webus...@gmail.com <javascript:>> > *Subject: *Re: [go-nuts] Multi Variable Linear Regression (with r squared > and p values) > > > > As an example: > > > > https://github.com/sajari/regression/blob/master/regression.go > > > > You can get the final R**2 but not by each variable and there is no > p-value. > > On Saturday, July 23, 2016 at 5:38:42 PM UTC-4, Michael Jones wrote: > > Surely this calculation is part of that regression module or a dependent > module. > > > > On Jul 23, 2016 11:50 AM, <webus...@gmail.com> wrote: > > I'm trying to port over some code using linear regression (statsmodule > package) in python to golang. I need the library to give me r square and p > values for each coefficient/variable. > > > > Is there such a library in golang or c (that I can write bindings for)? > > > > WU > > -- > 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...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > 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...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- 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.