[GRASS-user] P value for slope from r.series

Daniel Victoria daniel.victoria at gmail.com
Mon Oct 16 09:12:57 PDT 2017


Replying to self and in case helps anyone.

Solved it by using R and the raster package. Here is a Stackoverflow post
about it

https://stackoverflow.com/questions/20262999/how-to-output-regression-summarye-g-p-value-and-coeff-into-a-rasterbrick

Cheers
Daniel

On Wed, Oct 11, 2017 at 10:44 AM Daniel Victoria <daniel.victoria at gmail.com>
wrote:

> OK, dumb question since I'm a bit (or very) bad at stats.
>
> I'm calculating the slope from a series of rasters using r.series. I see
> that I can also get the t-value and the coefficient of determination. Is
> there a way to get the p-value for the regression?
>
> I've seen that this question has been asked before (in 2012) [1] and it
> ended with the addition of the t-value calculation in r.series. But I
> failed to see how the p-value can be obtained.
>
> I also found this ticket [2], related to the p-value question.
>
> Thanks
> Daniel
>
> [1] -
> http://osgeo-org.1560.x6.nabble.com/Calculate-p-value-for-regression-slope-in-r-series-td5014228.html
>
> [2]  https://trac.osgeo.org/grass/ticket/2376
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20171016/f5567294/attachment.html>


More information about the grass-user mailing list