Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-09 Thread Glynn Clements
Markus Metz wrote: 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? It could probably be added to r.series quite quickly if someone was willing to provide definitions for

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-09 Thread 王德辉
年11月9日 星期五 收件人: 王德辉 deh...@gig.ac.cn 抄送: GRASS users email list grass-user@lists.osgeo.org 主题: Re: Re: [GRASS-user] Calculate p value for regression slope in r.series Hi Dehui, What about my previous suggestion to use dummy variable that indicates time periods (fixed values 0, 1,2,3...N) for N

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-09 Thread Paulo van Breugel
Great, thanks On Fri, Nov 9, 2012 at 12:28 PM, Glynn Clements gl...@gclements.plus.comwrote: Markus Metz wrote: 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? It

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-08 Thread Moritz Lennert
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

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-08 Thread Paulo van Breugel
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

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-08 Thread 王德辉
11月8日 星期四 收件人: Moritz Lennert mlenn...@club.worldonline.be 抄送: GRASS users email list grass-user@lists.osgeo.org 主题: 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

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-08 Thread Paulo van Breugel
! dehui -原始邮件- *发件人:* Paulo van Breugel p.vanbreu...@gmail.com *发送时间:* 2012年11月8日 星期四 *收件人:* Moritz Lennert mlenn...@club.worldonline.be *抄送:* GRASS users email list grass-user@lists.osgeo.org *主题:* Re: [GRASS-user] Calculate p value for regression slope in r.series Good suggestion

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-08 Thread Glynn Clements
Paulo van Breugel wrote: 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? It could probably be added to r.series quite quickly if someone was willing to provide definitions for

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-08 Thread Markus Metz
On Thu, Nov 8, 2012 at 6:22 PM, Glynn Clements gl...@gclements.plus.com wrote: Paulo van Breugel wrote: 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? It could probably be

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-07 Thread Markus Neteler
On Tue, Nov 6, 2012 at 9:55 AM, Paulo van Breugel p.vanbreu...@gmail.com 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? It is not yet

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-07 Thread Paulo van Breugel
OK, thanks for the info. On Wed, Nov 7, 2012 at 9:45 AM, Markus Neteler nete...@osgeo.org wrote: On Tue, Nov 6, 2012 at 9:55 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi, I am using r.series to calculate linear regression slope, offset and coefficient of determination. But

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-07 Thread Paulo van Breugel
I have not clue about C programming, but could there be anything in the Gnu Scientific Library (GSL - http://www.gnu.org/software/gsl/)? See also this question on StackOverflow:

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-07 Thread 王德辉
This is also my urgent need fuction. waiting ... -原始邮件- 发件人: Markus Neteler nete...@osgeo.org 发送时间: 2012年11月7日 星期三 收件人: Paulo van Breugel p.vanbreu...@gmail.com 抄送: GRASS users email list grass-user@lists.osgeo.org 主题: Re: [GRASS-user] Calculate p value for regression slope

[GRASS-user] Calculate p value for regression slope in r.series

2012-11-06 Thread Paulo van Breugel
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? Cheers, Paulo ___ grass-user mailing list