BookmarkSubscribeRSS Feed
Taweesak
Calcite | Level 5

I want to prove if crude oil price are effect to unemployment rate. By the way, the data are time series data, collected every 4 months a year for 10 years. The data are as bellow;

 

Oil PriceUnemployment
78.011.63
82.581.61
96.161.18
113.961.11
87.521.65
102.741.39
75.231.18
53.531.33
108.402.08
39.101.75
85.581.17
101.410.98
26.001.13
97.571.32
88.500.87
67.010.85
99.210.83
77.170.60
77.690.66
74.990.63
79.050.72
75.360.86
70.690.58
81.130.47
71.000.72
84.360.74
84.690.77
76.470.65
84.910.89
76.621.00
75.030.84
78.830.61
77.250.94
75.730.88
80.020.92
79.330.80
74.270.97
81.841.08
78.850.94
77.270.97

so i have to do
1. the stationary test by using ADF test
2. the cointegratio*n test to see the long-term relationship
3. the Grange*r causality test to see if x is grange*r cause y or not
4. the ARIM*A test to predict the future
what syntax should i use?
thank you in advance

1 REPLY 1
ballardw
Super User

I don't have much experience with the time series procedures but know that most of them will require a date variable to incorporate the "time" portion of the analysis. One date per month is fine but you might want to be consistent about using first of month.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 520 views
  • 0 likes
  • 2 in conversation