how to add trend lines by sub-periods in a line graph?
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
anacatelen
- Posts: 3
- Joined: Wed Sep 28, 2022 1:57 am
how to add trend lines by sub-periods in a line graph?
I have a line graph for the variable "Fiscal-primary-result-to-GDP ratio" for the period 1913-2020, and I want to add trend lines for the sub-periods 1913-1945, 1946-1975 & 1976-2020. How can I do that? Thank you in advance!
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: how to add trend lines by sub-periods in a line graph?
There isn't an easy way other than to create equations running a regression for each of those time periods against trend, creating the fitted values from those equations, and then graphing those fitted values series along side the original.
Who is online
Users browsing this forum: No registered users and 2 guests
