SHAZAM Questions and Answers (Q&A) - RSS feedhttp://community.econometrics.com/questions/SHAZAM Econometrics, Statistics and Analytics Communityen<font color="white">Copyright <b>SHAZAM Analytics, 2018</b></font>Thu, 09 Mar 2017 05:10:18 +0000GRAPH-function and time-scalehttp://community.econometrics.com/question/752/graph-function-and-time-scale/ Hi all,
I have three time series, and I want to make nice figures of them by using the GRAPH-function in SHAZAM. The series are as follows:
The first one: Daily data, which start in March 23, 1995 and end in March 28, 2015.
The second series is weekly scale and start in week 16, 1995 and ends in week 16, 2015.
The third series is monthly data that starts March 2015 and ends in March 2015.
My **problem** is to time-scale correctly the X-axis for these three series when I use the GRAPH-function in SHAZAM. I hope I can get some help to solve the problem.
TL
Wed, 08 Mar 2017 09:37:24 +0000http://community.econometrics.com/question/752/graph-function-and-time-scale/Answer by SHAZAMHelp for <p>Hi all,</p>
<p>I have three time series, and I want to make nice figures of them by using the GRAPH-function in SHAZAM. The series are as follows:
The first one: Daily data, which start in March 23, 1995 and end in March 28, 2015.
The second series is weekly scale and start in week 16, 1995 and ends in week 16, 2015.
The third series is monthly data that starts March 2015 and ends in March 2015.
My <strong>problem</strong> is to time-scale correctly the X-axis for these three series when I use the GRAPH-function in SHAZAM. I hope I can get some help to solve the problem. </p>
<p>TL</p>
http://community.econometrics.com/question/752/graph-function-and-time-scale/?answer=753#post-id-753This can be done using the AXISFMT and TIMEFMT commands.
There are two examples you might look at:
[time-dating-the-x-axis-when-doing-forecasting-with-arima](http://ask.econometrics.com/question/259/time-dating-the-x-axis-when-doing-forecasting-with-arima/)
[organizing-and-analyzing-selected-seasons-in-time-series](http://ask.econometrics.com/question/235/organizing-and-analyzing-selected-seasons-in-time-series/)Wed, 08 Mar 2017 19:05:29 +0000http://community.econometrics.com/question/752/graph-function-and-time-scale/?answer=753#post-id-753Comment by TL for <p>This can be done using the AXISFMT and TIMEFMT commands.</p>
<p>There are two examples you might look at:</p>
<p><a href="http://ask.econometrics.com/question/259/time-dating-the-x-axis-when-doing-forecasting-with-arima/">time-dating-the-x-axis-when-doing-forecasting-with-arima</a></p>
<p><a href="http://ask.econometrics.com/question/235/organizing-and-analyzing-selected-seasons-in-time-series/">organizing-and-analyzing-selected-seasons-in-time-series</a></p>
http://community.econometrics.com/question/752/graph-function-and-time-scale/?comment=754#post-id-754This is not easy to solve: I have 1044 weekly observations (not time indexed). Starts in week 16, 1995, ends week 2015 week 16: I applied the following command, but not sucessfully. I have problem setting the starting value (notice the linebreak is not correct):
sample 1 1044
time 1995 1 date
timefmt %Y.%W
axisfmt %y/%W
graph TUKE date / timefmt axisfmt lineonlyWed, 08 Mar 2017 21:56:53 +0000http://community.econometrics.com/question/752/graph-function-and-time-scale/?comment=754#post-id-754Comment by SHAZAMHelp for <p>This can be done using the AXISFMT and TIMEFMT commands.</p>
<p>There are two examples you might look at:</p>
<p><a href="http://ask.econometrics.com/question/259/time-dating-the-x-axis-when-doing-forecasting-with-arima/">time-dating-the-x-axis-when-doing-forecasting-with-arima</a></p>
<p><a href="http://ask.econometrics.com/question/235/organizing-and-analyzing-selected-seasons-in-time-series/">organizing-and-analyzing-selected-seasons-in-time-series</a></p>
http://community.econometrics.com/question/752/graph-function-and-time-scale/?comment=755#post-id-755Pages 67-68 of the v11 manual describe how to do this, e.g. by specifying an extra variable. Note that %W is not a valid format string. If you can't solve it reading those pages then please can you either upload the file here or send by email to SHAZAM Help.Thu, 09 Mar 2017 05:10:18 +0000http://community.econometrics.com/question/752/graph-function-and-time-scale/?comment=755#post-id-755