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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Multiple regression analysis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pssureshbabu

Germany
Posts

Posted - 04/19/2005 :  09:56:34 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

easwar

USA
1964 Posts

Posted - 04/19/2005 :  10:20:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000