|
Re: P value for the regression analysis? [message #66455 is a reply to message #66454] |
Fri, 08 May 2009 08:02   |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On May 8, 9:14 am, Vince Hradil <vincehra...@gmail.com> wrote:
> On May 8, 8:15 am, David Fanning <n...@dfanning.com> wrote:
>
>
>
>> d.po...@gmail.com writes:
>>> I need an urgent help. How would we calculate the P value for the
>>> regression analysis? For fit=linfit(x,y,yfit=yfit), how we could find
>>> P value?
>
>> What is your null hypothesis for fitting a line through
>> a set of data!?
>
>> Cheers,
>
>> David
>
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.dfanning.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> True - linear fitting is NOT regression analysis. Here's a good place
> to start (as good as any other):http://en.wikipedia.org/wiki/Linear_regression
Oh, and
IDL> ? regress
might help, too.
|
|
|
|
|
Re: P value for the regression analysis? [message #84997 is a reply to message #66454] |
Thu, 20 June 2013 21:13  |
JP
Messages: 55 Registered: April 2008
|
Member |
|
|
guys, looking for the p=value of a simple linear regression found this old post in the group.
Most statistical packages give by default the P-value. how do I get it from linfit or regress?
To be clear, what I want to know is the probability that the slope (in a simple linear regression like in linfit) is different than zero.
Ken, you mentioned you have a function, I'll be very glad if you can share it with me.
cheers
JP
|
|
|