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 #65033 is a reply to message #65032] Mon, 09 February 2009 14:39 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
With all due respect, if you don't know
what R^2 is, why do you want to put
it in your plot? What will you do when
somebody asks you "what is R"?

Ciao,
Paolo

Hu wrote:
> 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()?
>
> BTW, I set MEASURE_ERRORS to SQRT(ABS(Y)), just follow the example,
> but what is MEASURE_ERRORS? and what is R^2 mean in the above picture?
>
> Thank you very much
[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: Fri Oct 10 22:32:49 PDT 2025

Total time taken to generate the page: 0.08285 seconds