For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.
Moderators: EViews Moderator, EViews Jason, EViews Gareth, EViews Steve, EViews Pamela
by maxchen on Wed Jul 28, 2010 5:13 pm
In Eviews 5
- Code: Select all
%wf = @evpath + "\Example Files\data\demo"
wfopen %wf
group g m1 gdp
g.linefit(yl,xb=-0.5,s=s1)
then the fitted series is saved in series s1.
In Eviews 7
- Code: Select all
%wf = @evpath + "\Example Files\Sample Programs\stats\demo"
wfopen %wf
group g m1 gdp
g.scat linefit(yl,xb=-0.5) 'EViews 7
g.distdata(dtype=linefit) mm
It seems "distdata" do not work for linefit. The "Object Ref" p245 do not mention linefit. Is it another way out? ( besides fit an equation and compute the fitted values)
-
maxchen
-
- Posts: 43
- Joined: Fri Oct 10, 2008 4:03 pm
by EViews Gareth on Wed Jul 28, 2010 5:39 pm
Correct, the only way to do it is by estimating an equation.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
-
- Posts: 1892
- Joined: Tue Sep 16, 2008 5:38 pm
Return to Data Manipulation
Users browsing this forum: No registered users and 1 guest