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 |
|
|