r.regression.series is a module to calculate linear regression parameters 
between two time series. I only want to calculate parameters in one time 
series, how to use this model in one time serie condition?

thanks!

dehui


-----原始邮件-----
发件人: "Paulo van Breugel" <[email protected]>
发送时间: 2012年11月8日 星期四
收件人: "Moritz Lennert" <[email protected]>
抄送: "GRASS users email list" <[email protected]>
主题: Re: [GRASS-user] Calculate p value for regression slope in r.series

Good suggestion, and coincidentally I was just looking at it. Am I correct to 
assume that to mimic the calculation of slope etc in r.series, I would need to 
create a second time series of 'dummy' maps with values 0 for first time 
period, 1 for second time period, etc.? I did this in R and it gave the same 
slope and offset as r.series.

Just wondering, if it is implemented in r.regression.series, would it be very 
difficult to port to r.series? Or do the two things function different 
internally?

Cheers,

Paulo





On Thu, Nov 8, 2012 at 10:55 AM, Moritz Lennert <[email protected]> 
wrote:
On 06/11/12 09:55, Paulo van Breugel wrote:
Hi,

I am using r.series to calculate linear regression slope, offset and
coefficient of determination. But any idea how I can get the standard
deviation t-value and p-value of the slope?

Try MarkusN's r.regression.series in the addons for grass7. It allows the 
calculation of t and f values. IIRC, p-value can be calculated from t-value.

Moritz







_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to