Page 1 of 1

Add Regression line to Scatter Graph

Posted: Wed Apr 13, 2011 8:54 am
by DanielArmani
Hi, i am new to EViews, I wonder if you can advise me how i can add regresion line to scatter graph on rogramming.

this is the program I've wrote to get scatter graph.

graph graph_rb_bats.scatpair p_rb p_bats

series are p_rb and p_bats. I dont know how to use linefit or anything elss

Thanks

Re: Add Regression line to Scatter Graph

Posted: Wed Apr 13, 2011 8:59 am
by EViews Gareth

Code: Select all

group g p_rb p_bats freeze(graph_rb_bats) g.scatpair linefit