comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to plot linear regression relation of two array?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to plot linear regression relation of two array? [message #65044 is a reply to message #65043] Mon, 09 February 2009 12:42 Go to previous messageGo to previous message
Hu is currently offline  Hu
Messages: 35
Registered: January 2009
Member
On Feb 9, 12:12 pm, Vince Hradil <vincehra...@gmail.com> wrote:
> On Feb 9, 1:45 pm, Hu <jha...@gmail.com> wrote:
>
>> Hi,
>
>> I am trying to plot a linear regression relation of two array
>> (supposing A and B) by using IDL. What I want is to got a chart like
>> this link shows (the group is unable to post figure directly):http://serc.carleton.edu/images/introgeo/teachingw data/LeastSquaresGr...
>
>> especially, How can I got the black straight line and the coefficients
>> R^2  ?
>
>> Thanks
>
> Have you looked in the help for linfit()?

Yes, I use function linfit() to get the parameters a and b (Y=a+b*X)
But How can I get the R^2 ?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to plot linear regression relation of two array?
Next Topic: Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Dec 02 20:08:35 PST 2025

Total time taken to generate the page: 0.24372 seconds