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
Topic
pssureshbabu
Germany
Posts
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.
easwar
USA
1964 Posts
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
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000