I have not clue about C programming, but could there be anything in the Gnu Scientific Library (GSL - <a href="http://www.gnu.org/software/gsl/">http://www.gnu.org/software/gsl/</a>)? See also this question on StackOverflow: <a href="http://stackoverflow.com/questions/5503733/getting-p-value-for-linear-regression-in-c-gsl-fit-linear-function-from-gsl-li">http://stackoverflow.com/questions/5503733/getting-p-value-for-linear-regression-in-c-gsl-fit-linear-function-from-gsl-li</a><br>
<br>Cheers,<br><br>Paulo<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 7, 2012 at 9:53 AM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OK, thanks for the info. <br><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Nov 7, 2012 at 9:45 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Nov 6, 2012 at 9:55 AM, Paulo van Breugel<br>
<<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am using r.series to calculate linear regression slope, offset and<br>
> coefficient of determination. But any idea how I can get the standard<br>
> deviation t-value and p-value of the slope?<br>
<br>
It is not yet implemented... suggestions where to find an existing<br>
C implementation which could be "recycled" (i.e. be GPL compliant)<br>
are welcome.<br>
<span><font color="#888888"><br>
Markus<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>