Show Date in Scattergraph
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
mariomarionette
- Posts: 6
- Joined: Mon Nov 16, 2015 5:06 am
Show Date in Scattergraph
Hey guys,
i want to run a regression between the income and the birthdate of several obs. The regression is working, but the birthdates are shown numeric ("722,000" instead of 1965), although they are shown in the right way in the spreadsheet. Can someone help me displaying it right in the graph?
i want to run a regression between the income and the birthdate of several obs. The regression is working, but the birthdates are shown numeric ("722,000" instead of 1965), although they are shown in the right way in the spreadsheet. Can someone help me displaying it right in the graph?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Show Date in Scattergraph
I can't think of a way to do that. :(
-
mariomarionette
- Posts: 6
- Joined: Mon Nov 16, 2015 5:06 am
Re: Show Date in Scattergraph
Well, thanks for your answer, Gareth, but in this case, I have to ask another question: how can this be possible? How can I visually describe different obs at different dates with Eviews?
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Show Date in Scattergraph
Could you post the workfile?
-
mariomarionette
- Posts: 6
- Joined: Mon Nov 16, 2015 5:06 am
Re: Show Date in Scattergraph
I'm afraid I can't.... but it's like this:
Income in 2014/date of birth
1.000/1960
2.000/1970
3.000/1980
Shouldn't be the hardest task to visualise the axis as a kind of time line, should it?
Income in 2014/date of birth
1.000/1960
2.000/1970
3.000/1980
Shouldn't be the hardest task to visualise the axis as a kind of time line, should it?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Show Date in Scattergraph
You just have year of birth? Or do you want full date?
-
mariomarionette
- Posts: 6
- Joined: Mon Nov 16, 2015 5:06 am
Re: Show Date in Scattergraph
I would be totally satisfied with the year
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Show Date in Scattergraph
Assuming your birtdate series is called "birthdate":
Then use the series birthyear rather than the series birthdate in your scatter.
Code: Select all
series birthyear = @datepart(birthdate, "YYYY")
-
mariomarionette
- Posts: 6
- Joined: Mon Nov 16, 2015 5:06 am
Re: Show Date in Scattergraph
seems like we´re getting close, thank you for your patience :)
ok, i didn´t mention before, that i´m new to the programm - i´ve spent about 6 hours with it. So where can i type that line in? Sounds ridiculous, but i need step for step advices - sorry.
ok, i didn´t mention before, that i´m new to the programm - i´ve spent about 6 hours with it. So where can i type that line in? Sounds ridiculous, but i need step for step advices - sorry.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Show Date in Scattergraph
The command window (the white pane at the top of EViews).
http://www.eviews.com/help/helpintro.ht ... ect_header
http://www.eviews.com/help/helpintro.ht ... ect_header
-
mariomarionette
- Posts: 6
- Joined: Mon Nov 16, 2015 5:06 am
Re: Show Date in Scattergraph
Thank you! All works fine now!
Who is online
Users browsing this forum: No registered users and 2 guests
