The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Multiple regression analysis

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
pssureshbabu Posted - 04/19/2005 : 09:56:34 AM
Origin Version (Select Help-->About Origin): 7G SR2
Operating System: Win 2000 NT

I have 6 independent var. and one dependent variable. I want to plot a graph with multiple regression equation as x-axis and dependent var. as y-axis.

Thanks,

Babu.
1   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 04/19/2005 : 10:20:20 AM
Hi Babu,

Say your data is originally in data1 worksheet where col(A) has the dep var and cols B thru G have the indep vars.

Highlight cols B thru G and perform the multiple regerssion using the menu command.

Create a new worksheet say Data2. Copy Data1_A to Data2_B.

Then with Data2 worksheet active, bring up Script window and copy-paste the following line of code and press Enter:

col(1)=stat.mr.a+data1_b*stat.mr.b1+data1_c*stat.mr.b2+data1_d*stat.mr.b3+data1_e*stat.mr.b4+data1_f*stat.mr.b5+data1_g*stat.mr.b6

This will then fill the 1st col of data2 with the desired values.

Note that the above line is just using the coefficients found by the multiple regression operation.

Easwar
OriginLab



Edited by - easwar on 04/19/2005 10:21:30 AM

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000