# Time series estimation and forecasting

 To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video
Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Time series estimation and forecasting Christopher F Baum Boston College and DIW Berlin University of Mauritius, Jan Christopher F Baum (BC / DIW) Time series models UoM, / 117

2 Time series data management Stata s time series calendar Stata s time series calendar To take full advantage of Stata s time series capabilities, you should be familiar with its time series calendar and operators. The time series calendar allows you to specify, via the tsset command, that data are time series at an annual, half-yearly, quarterly, monthly, weekly or daily frequency. In Stata 12, you may also specify intraday frequencies (as clocktime), as Stata s calendar variable has microsecond accuracy. The frequency may also be specified as generic. For instance, tsset year, yearly will specify that the integer variable year in your dataset is the calendar variable, and the data frequency is annual. You may also use tsset to specify that the data are panel data: e.g., tsset country qtr, quarterly would indicate that your data are a (possibly unbalanced) panel of country-level quarterly data. Christopher F Baum (BC / DIW) Time series models UoM, / 117

3 Time series data management Stata s time series calendar For all but annual data, you must construct a calendar variable according to Stata s definition. Stata, like Unix, assumes that time 0 is 1 January 1960 AD. Thus, display daily("13feb2011","dmy") yields 18671, as that is how many days have elapsed since 1/1/1960. display daily("13aug1951","dmy") yields 3063, as that date is that many days prior to 1/1/1960. Likewise, display quarterly("2011q1","yq") yields 204, as we are 204 calendar quarters beyond 1960q1. There are a set of functions, described at help dates and times, that allow you to convert one calendar variable into another frequency, or convert string data (such as 13/02/2011 or 2001Q3) into Stata dates. Christopher F Baum (BC / DIW) Time series models UoM, / 117

4 The delta option Time series data management Stata s time series calendar The tsset command also has an optional argument, delta( ), which allows you to specify that data are defined at one frequency but recorded at another. For instance, US Census data are produced every decade. You could define a time series of Census data as tsset year, yearly delta(10) to indicate that the data are aligned with particular years, but only recorded every ten years. The use of the delta(10) option will cause Stata to consider the lagged value of 2000 to be 1990, for instance, rather than 1999, which would be missing. Christopher F Baum (BC / DIW) Time series models UoM, / 117

5 tsmktim Time series data management Stata s time series calendar If you have a time series that is complete (with no gaps), starting in a given time period, it may be easiest to establish the calendar variable with my tsmktim routine. This utility, available from SSC, allows you to issue a command like tsmktim yq, start(1973q3) which not only creates the variable yq as a quarterly calendar variable, starting in 1973q3, but gives it the proper %tq format, so that dates display as dates rather than as integers. Christopher F Baum (BC / DIW) Time series models UoM, / 117

6 Time series data management Gaps in time series Stata s time series calendar A problem arises, though, in that many daily time series contain gaps for weekends and holidays. Although Stata 12 supports business calendars, earlier versions of Stata do not have a business-daily data concept, and even if weekends are excluded, holidays are problematic. Many of Stata s time series commands do not tolerate gaps, and we normally want to consider Friday to be followed by Monday in Western financial market data. A way to circumvent this problem is described in my Stata Journal note, Stata Tip 40: Taking care of business, downloadable from IDEAS. Briefly, the solution involves creating two time series calendar variables: one with proper dates, which contains gaps, and a second that does not. The second may be created by generate t = _n where _n refers to the sequential observation number. Christopher F Baum (BC / DIW) Time series models UoM, / 117

7 Time series data management Stata s time series calendar With these two calendar variables (say, ymd and t) defined, you may tsset t when you want to use data management or statistical commands that are sensitive to the presence of gaps: for instance, creating a first difference, or referring to a lagged value. After completing estimation and producing forecasts, you may want to tabulate or graph the forecasts with proper calendar dates attached. You may then tsset ymd to attach the proper calendar variable for those operations. This technique may also be used in panel data that contains gaps, as under the control of a by: prefix the observation number (_n) refers to the observation within the by-group rather than within the entire data set. Thus, using by country:, for instance, you could produce the sequential calendar variable for the entire panel with one command. Christopher F Baum (BC / DIW) Time series models UoM, / 117

8 Stata s time series operators Stata s time series operators Stata has several time series operators, described at help tsvarlist, which allow you to refer to lags, leads, differences and seasonal differences for a data set that has been tsset. These are prefixes of the variable names, such as L.gnp, F.gdp, D.tb3mo, or S.tb3mo, respectively. To specify higher lags or leads, you may use L4.gnp or F2.gdp. Keep in mind that D2.tb3mo is the difference of the difference; if you want to specify the difference between that variable at t and (t 2), use the seasonal difference. That is particularly useful for quarterly data, where S4.sales will refer to quarter-over-quarter sales, comparing the observation to that of the same quarter in the previous year. Christopher F Baum (BC / DIW) Time series models UoM, / 117

9 Stata s time series operators The operators may also be combined, so that you can use L2D.x to refer to the second lag of the first difference of x, which could also be formed as DL2.x. In either case, the operators are applied from the dot leftward. A major advantage of the time series operator syntax is that you need not create the lagged, led, differenced variables. Like factor variables in Stata 11 and 12, they will be instantiated on the fly, and will not be permanently added to the data set in memory. Christopher F Baum (BC / DIW) Time series models UoM, / 117

10 Stata s time series operators Time series operators ensure validity The most important argument for using time series operators is that they enforce validity of any time series expressions. If there is a gap in the data: for instance, if we have data for and , referring to the prior observation using an observation subscript [_n - 1] will improperly consider the lagged value of 1977 to be that of If the data are tsset, the lagged value or first difference of 1977 will properly be flagged as missing. This is even more important in the case of panel data, where we do not want the lagged value of one panel unit to refer to the last value of the previous unit. The time series operators, under a panel tsset, will respect the data set s organization and avoid such errors. Thus, you should always use the time series operators, on a single time series or in a panel. Christopher F Baum (BC / DIW) Time series models UoM, / 117

11 Stata s time series operators The operators may also be used in a Stata numlist, so that regress y L(-4/4).x will run a Sims test for Granger causality, including four leads of x, current x, and four lags of x in the regression. Following that regression, to jointly test the coefficients of future x for significance, testparm L(-4/-1).x will do so, and provide the proper F-test and p-value. Christopher F Baum (BC / DIW) Time series models UoM, / 117

12 Stata s time series operators The time series operators may also be used with a parenthesized varlist: for instance, regress gdp L(1/4).(govtexp money) will regress gdp on four lags of govtexp and four lags of money. Christopher F Baum (BC / DIW) Time series models UoM, / 117

13 the tin( ) function Stata s time series operators the tin( ) function A useful function for time series data that have been declared as such by tsset is the tin( ) function, which should be read tee-in. We can specify calendar dates using this function to restrict the estimation sample:. tsset time variable: delta: yq, 1959q1 to 2010q3 1 quarter. qui regress tr10yr L(1/4).rmbase if tin(, 2008q1). qui regress tr10yr L(1/4).rmbase if tin(1973q4, 1987q2). qui regress tr10yr L(1/4).rmbase if tin(1973q4, ) Christopher F Baum (BC / DIW) Time series models UoM, / 117

14 Stata s time series operators the tin( ) function The tin( ) function is also useful if you need to produce out-of-sample forecasts. Recall that the predict command will generate predicted values, residuals, and other series for the entire data set. You might want to run a regression over a subperiod, with a holdout sample of more recent observations, and then forecast through the holdout sample period. That is readily specified with tin():. qui regress tr10yr L(1/4).rmbase if tin(, 2008q1). predict double tr10yrhat if tin(2008q2, 2009q4), xb (200 missing values generated) In this example, we produce predicted values only for the out-of-sample period. Christopher F Baum (BC / DIW) Time series models UoM, / 117

15 Stata s time series operators Forecast accuracy statistics Forecast accuracy statistics To compare in-sample forecast accuracy, it may be useful to use estat ic after estimating a regression model, which will produce the AIC and BIC statistics. For instance, using the usmacro1 data set, let us fit models with differing number of lags on the regressor and store the estimates so that they may be compared with estimates stats. We hold the sample fixed with if e(sample). Christopher F Baum (BC / DIW) Time series models UoM, / 117

16 Stata s time series operators Forecast accuracy statistics. use usmacro1. eststo clear. eststo eight: qui regress tr10yr L(1/8).rmbase. eststo six: qui regress tr10yr L(1/6).rmbase if e(sample). eststo four: qui regress tr10yr L(1/4).rmbase if e(sample). est stat eight six four Model Obs ll(null) ll(model) df AIC BIC eight six four Note: N=Obs used in calculating BIC; see [R] BIC note Both AIC and BIC indicate that the model with four lags is preferred, as that model has the smallest value of both criteria. Christopher F Baum (BC / DIW) Time series models UoM, / 117

17 Rolling-window estimation Rolling-window estimation Stata provides a prefix, rolling:, which can be used to automate various types of rolling-window estimation for the evaluation of a model s structural stability. These include fixed-width windows, specified with the window( ) option; expanding windows, specified with the recursive option; and contracting windows, specified with the rrecursive, or reverse recursive option. The fixed-width window executes a statistical command for the specified number of calendar periods, then moves both the beginning and ending calendar period forward by one period and repeats it, and so on, until the last period of the sample is reached. With the stepsize( ) option, you may move the window by more than one period. Christopher F Baum (BC / DIW) Time series models UoM, / 117

18 Rolling-window estimation The expanding window executes the command for the number of calendar periods specified in window( ), then repeats for a sample with one more calendar period, and so on. The left side of the window is held fixed while the right side expands. The contracting window executes the command for the number of calendar periods specified in window( ), then repeats for a sample excluding the earliest calendar period, and so on. The left side of the window moves while the right side is held fixed at the last period. Christopher F Baum (BC / DIW) Time series models UoM, / 117

19 Rolling-window estimation For all uses of rolling:, a new data set is created with the results of the statistical command. This behavior is similar to that of other prefix commands such as simulate:, jackknife: and bootstrap. The dataset will contain two new variables, start and end, which identify the edges of the window for each observation. One of those variables may be used to merge the new data set back on the original data set. Christopher F Baum (BC / DIW) Time series models UoM, / 117

20 Rolling-window estimation mvsumm and mvcorr Although the most common use of rolling: may involve estimation (e-class) commands such as regress, the prefix may also be used with r-class statistical commands such as summarize. However, if your only interest is in producing moving-window descriptive statistics, you might find Baum and Cox s mvsumm command easier to use. Along those lines, their mvcorr routine, which produces moving-window correlations of two time series, should be noted. Both routines will automatically operate on a panel data set that has been properly tsset. Christopher F Baum (BC / DIW) Time series models UoM, / 117

21 Rolling-window estimation The rolling: prefix The rolling: prefix works with the concept of an exp_list, or list of expressions, that are to be computed for each window. For an e-class command such as regress, the default exp_list is _b, the vector of estimated coefficients (that is, e(b). For a r-class command such as summarize, the default exp_list is all the scalars stored in r( ). You may override this behavior by specifying particular expressions in the exp_list. For instance, to add the standard errors of the estimated coefficients to the exp_list, you may specify _se. To add the R 2 or RMS Error statistics from a regression, specify r2=e(r2) rmse=e(rmse) in the exp_list. We will illustrate in a later talk how statistics not available in e( ) or r( ) may be collected. Christopher F Baum (BC / DIW) Time series models UoM, / 117

22 Rolling-window estimation The rolling: prefix You generally will want to specify the saving filename, replace option to rolling:, so that a new data set will be constructed, leaving the current data set in memory. Otherwise, rolling: will replace the current data set in memory with its results. For example, say that we want to produce moving-window regression estimates from a window containing 48 quarterly observations: Christopher F Baum (BC / DIW) Time series models UoM, / 117

23 Rolling-window estimation The rolling: prefix. rolling _b _se r2=e(r2) rmse=e(rmse), window(48) /// > saving(rolltr10, replace) nodots: regress tr10yr rmbase lrwage, robust file rolltr10.dta saved. use rolltr10, clear (rolling: regress). describe Contains data from rolltr10.dta obs: 160 rolling: regress vars: Feb :50 size: 7,680 (99.9% of memory free) storage display value variable name type format label variable label start float %tq end float %tq _b_rmbase float %9.0g _b[rmbase] _b_lrwage float %9.0g _b[lrwage] _b_cons float %9.0g _b[_cons] _se_rmbase float %9.0g _se[rmbase] _se_lrwage float %9.0g _se[lrwage] _se_cons float %9.0g _se[_cons] _eq2_r2 float %9.0g e(r2) _eq2_rmse float %9.0g e(rmse) Sorted by: Notice that all options to rolling: appear before the colon. Christopher F Baum (BC / DIW) Time series models UoM, / 117

24 Rolling-window estimation The rolling: prefix We can now present the coefficient estimates graphically (optionally, with interval estimates):. tsset end, quarterly time variable: end, 1970q4 to 2010q3 delta: 1 quarter. tw (tsline _b_rmbase) (tsline _b_lrwage, yaxis(2)), /// > scheme(s2mono) ti("rolling coefficients on real money base and real wage") // > / > t2("48-quarter windows, right endpoint labeled") Christopher F Baum (BC / DIW) Time series models UoM, / 117

25 Rolling-window estimation The rolling: prefix Rolling coefficients on real money base and real wage 48-quarter windows, right endpoint labeled _b[rmbase] q1 1980q1 1990q1 2000q1 2010q1 end _b[lrwage] _b[rmbase] _b[lrwage] Christopher F Baum (BC / DIW) Time series models UoM, / 117

26 Ex ante forecasting Rolling-window estimation Ex ante forecasting One feature not readily supported by the rolling: syntax is the production of a sequence of ex ante forecasts from moving-window estimation. This came to light in a discussion with Jim Stock, who said that producing these forecasts was an important capability, but one that could not be readily achieved in the rolling: syntax. In response, I wrote a beta version of staticfc, which does just that. It is not yet posted on SSC, but is included in your materials. The routine has a required option, generate( ), in which you specify a stub from which new variables will be created. The stub itself is the name of the ex ante rolling forecast variable, while stub_s and stub_n will contain the standard error of forecast and number of observations used in the estimation, respectively. Christopher F Baum (BC / DIW) Time series models UoM, / 117

27 Rolling-window estimation Ex ante forecasting At present, the routine only supports the rolling: option of recursive estimation: that is, the expanding window. You may choose the initial number of periods to be used in estimation, as well as the number of steps ahead to forecast. The routine only handles static models (lacking lagged dependent variables) at present. Optionally, you may graph the forecast series with its 95% confidence interval. To illustrate, we use Stata s manufac monthly data set and estimate a model of hours as depending on a distributed lag of capital utilization and its logarithm, using 48 months of data as the initial estimation sample. We consider three-step-ahead forecasts. Christopher F Baum (BC / DIW) Time series models UoM, / 117

28 Rolling-window estimation Ex ante forecasting. webuse manufac, clear (St. Louis Fed (FRED) manufacturing data). tsset time variable: month, 1972m1 to 2008m12 delta: 1 month. staticfc hours L(1/2).caputil lncaputil if tin(1997m1,2008m12), /// > init(48) step(3) gen(cfc4) graph(fig4) replace /// > ti("three-period-ahead recursive forecasts of hours") (file fig4.gph saved) Christopher F Baum (BC / DIW) Time series models UoM, / 117

29 Rolling-window estimation Ex ante forecasting Three-period-ahead recursive forecasts of hours m1 1998m1 2000m1 2002m1 2004m1 2006m1 2008m1 Month 95% forecast interval 3-step rolling forecast Average weekly hours: manufacturing Christopher F Baum (BC / DIW) Time series models UoM, / 117

30 Time series filtering Time series filtering Official Stata contains a number of commands for time series filtering in the tssmooth suite, including single and double exponential smoothing; Holt Winters seasonal and nonseasonal smoothing; moving-average filtering; and nonlinear filtering. In Stata 12, the new tsfilter command provides the Baxter King, Butterworth, Christiano Fitzgerald and Hodrick Prescott filters. The command may be applied to a single variable or to a list of multiple variables. Christopher F Baum (BC / DIW) Time series models UoM, / 117

31 Time series filtering In Stata 10, a number of user-written routines provide commands for time series filtering. My hprescott command provides the Hodrick Prescott filter, which may be applied to multiple time series as well as to the time series within a panel using the by: prefix. The somewhat similar Butterworth high-pass filter is also available from SSC as butterworth. Jorge Pérez implemented the Corbae Ouliaris filter, couliari, which is also available from SSC. That routine improves upon the Baxter King filter (my bking routine) in its handling of endpoints of the series. Christopher F Baum (BC / DIW) Time series models UoM, / 117

32 Interpolation Time series filtering Interpolation Official Stata provides some facilities for interpolation and extrapolation of time series, such as the ipolate command. A nonparametric locally weighted regression interpolation can also be performed by the lowess command. Kernel-weighted local polynomial smoothing is available using the lpoly command. Christopher F Baum (BC / DIW) Time series models UoM, / 117

33 Time series filtering The proportional Denton method In some instances a time series is needed at a higher frequency, but must obey the accounting constraints that the higher-frequency observations sum to the lower-frequency observed series. Sylvia Hristakeva and I have programmed the proportional Denton method, as described in the IMF s Quarterly National Accounts Manual, The denton command, available from SSC, can interpolate annual data to quarterly frequency or quarterly data to monthly frequency, subject to adding-up constraints. This is performed using a higher-frequency associated series, the temporal pattern of which is used to interpolate the lower-frequency series. This routine has been rewritten for Stata 11.1, but the original version is available from SSC for earlier versions of Stata. Christopher F Baum (BC / DIW) Time series models UoM, / 117

34 Time series filtering The proportional Denton method As an illustration, we retrieve a quarterly and monthly series from FRED at the St. Louis Fed using David Drukker s freduse routine:. // consumer loans, all commercial banks, quarterly. freduse ACLACB (106 observations read). g yq = qofd(daten). tsset yq, q time variable: yq, 1985q1 to 2011q2 delta: 1 quarter. save commloans, replace file commloans.dta saved.. // St Louis adjusted monetary base, monthly. freduse AMBSL, clear (1125 observations read). g ym = mofd(daten). tsset ym, m time variable: ym, 1918m1 to 2011m9 delta: 1 month. save mbase, replace (note: file mbase.dta not found) file mbase.dta saved Christopher F Baum (BC / DIW) Time series models UoM, / 117

35 Time series filtering The proportional Denton method We want to interpolate the consumer loans series, which is available quarterly, using the St. Louis Fed adjusted monetary base series, which is available monthly. Both are stocks rather than flows, so we use the stock option of denton.. use commloans. denton ACLACB using CLinterp if tin(1992q1,), interp(ambsl) /// > from(mbase.dta) generate(clmonthly) stock CLmonthly is interpolated from the quarterly series ACLACB using the monthly se > ries AMBSL CLmonthly is saved in CLinterp for the period:1992m3 to 2011m6. use CLinterp. tsset time variable: ym, 1992m1 to 2011m6 delta: 1 month. su Variable Obs Mean Std. Dev. Min Max ACLACB ym CLmonthly Christopher F Baum (BC / DIW) Time series models UoM, / 117

36 Aggregation Time series filtering Aggregating time series data In some cases, you may want to go the other way, and aggregate higher-frequency data to a lower frequency for presentation or combination with other lower-frequency data. In general terms, this sort of aggregation can be performed with Stata s collapse command, which is capable of producing a new data set of collapsed means, counts, standard deviations, or other statistics. The particular needs of time series modelers suggest that you may want to sum some series, average others over the longer period, and pick beginning-of-period or end-of-period values for others. My tscollap routine performs these functions, as well as computing geometric means for growth rates. It can also be applied to panel data, operating on each time series within a panel. Christopher F Baum (BC / DIW) Time series models UoM, / 117

37 Time series filtering tscollap In this example, using the quarterly US macro data set, we create the (geometric) average inflation rate, the end-of-year monetary base, the average oil price over the year and the first quarter s oil price as new series. The data are now tsset by the new year variable.. use usmacro1, clear. tscollap dcpi (gmean) mbase (last) oilprice (mean) foilpr=oilprice (first), / > * > */ to(y) gen(yr) Converting from Q to Y time variable: yr, 1959 to 2009 delta: 1 year. summarize Variable Obs Mean Std. Dev. Min Max dcpi mbase oilprice foilpr yr Christopher F Baum (BC / DIW) Time series models UoM, / 117

38 ARIMA and ARMAX models ARIMA and ARMAX models Stata s capabilities to estimate ARIMA or Box Jenkins models are implemented by the arima command. These modeling tools include both the traditional ARIMA(p, d, q) framework as well as multiplicative seasonal ARIMA components. However, the arima command has features that go beyond univariate time series modeling. It also implements ARMAX models: that is, regression equations with ARMA errors. This feature generalizes the capability of Stata s prais command to estimate a regression with first-order autoregressive (AR(1)) errors. In both the ARIMA and ARMAX contexts, the arima command implements dynamic forecasts. Christopher F Baum (BC / DIW) Time series models UoM, / 117

39 ARIMA and ARMAX models To illustrate, we fit an ARIMA(p,d,q) model to the US consumer price index (CPI):. use usmacro1. arima cpi, arima(1, 1, 1) nolog ARIMA regression Sample: 1959q2-2010q3 Number of obs = 206 Wald chi2(2) = Log likelihood = Prob > chi2 = OPG D.cpi Coef. Std. Err. z P> z [95% Conf. Interval] cpi ARMA _cons ar L ma L /sigma estimates store e42a Christopher F Baum (BC / DIW) Time series models UoM, / 117

40 ARIMA and ARMAX models In this example, we use the arima(p, d, q) option to specify the model. The ar( ) and ma( ) options may also be used separately, in which case a numlist of lags to be included is specified. Differencing is then applied to the dependent variable using the D. operator. For example:. use usmacro1. arima D.cpi, ar(1 4) nolog ARIMA regression Sample: 1959q2-2010q3 Number of obs = 206 Wald chi2(2) = Log likelihood = Prob > chi2 = OPG D.cpi Coef. Std. Err. z P> z [95% Conf. Interval] cpi ARMA _cons ar L L /sigma Christopher F Baum (BC / DIW) Time series models UoM, / 117

41 ARIMA and ARMAX models Forecasts from ARIMA models Several prediction options are available after estimating an arima model. The default option, xb, predicts the actual dependent variable: so if D.cpi is the dependent variable, predictions are made for that variable. In contrast, the y option generates predictions of the original variable, in this case cpi. The mse option calculates the mean squared error of predictions, while yresiduals are computed in terms of the original variable. Christopher F Baum (BC / DIW) Time series models UoM, / 117

42 ARIMA and ARMAX models Forecasts from ARIMA models We recall the estimates from the first model fitted, and calculate predictions for the actual dependent variable, CPI:. estimates restore e42a (results e42a are active now). predict double dcpihat, xb. tsline dcpihat, /// > ti("arima(1,1,1) model of {&Delta}US CPI") scheme(s2mono) Christopher F Baum (BC / DIW) Time series models UoM, / 117

43 ARIMA and ARMAX models Forecasts from ARIMA models ARIMA(1,1,1) model of!us CPI xb prediction, one-step q1 1970q1 1980q1 1990q1 2000q1 2010q1 yq Christopher F Baum (BC / DIW) Time series models UoM, / 117

44 ARIMA and ARMAX models Forecasts from ARIMA models We can see that the predictions are becoming increasingly volatile in recent years. We may also compute predicted values and residuals for the level of CPI:. estimates restore e42a (results e42a are active now). predict double cpihat, y (1 missing value generated). predict double cpieps, yresiduals (1 missing value generated). tw (tsline cpieps, yaxis(2)) (tsline cpihat), /// > ti("arima(1,1,1) model of US CPI") scheme(s2mono) Christopher F Baum (BC / DIW) Time series models UoM, / 117

45 ARIMA and ARMAX models Forecasts from ARIMA models y residual, one-step ARIMA(1,1,1) model of US CPI y prediction, one-step 1960q1 1970q1 1980q1 1990q1 2000q1 2010q1 yq y residual, one-step y prediction, one-step Christopher F Baum (BC / DIW) Time series models UoM, / 117

46 ARIMA and ARMAX models ARMAX estimation and dynamic forecasts We now illustrate the estimation of an ARMAX model of cpi as a function of oilprice with ARMA(1, 1) errors. The estimation sample runs through 2008q4.. arima d.cpi d.oilprice if tin(, 2008q4), ar(1) ma(1) nolog ARIMA regression Sample: 1959q2-2008q4 Number of obs = 199 Wald chi2(3) = Log likelihood = Prob > chi2 = OPG D.cpi Coef. Std. Err. z P> z [95% Conf. Interval] cpi oilprice D _cons ARMA ar L ma L /sigma estimates store e42e Christopher F Baum (BC / DIW) Time series models UoM, / 117

47 ARIMA and ARMAX models ARMAX estimation and dynamic forecasts We compute static (one-period-ahead) ex ante forecasts and dynamic (multi-period-ahead) ex ante forecasts for 2009q1 2010q3. In specifying the dynamic forecast, the dynamic( ) option indicates the period in which references to y should first evaluate to the prediction of the model rather than historical values. In all prior periods, references to y are to the actual data.. predict double cpihat_s if tin(2006q1,), y (188 missing values generated). label var cpihat_s "static forecast". predict double cpihat_d if tin(2006q1,), dynamic(tq(2008q4)) y (188 missing values generated). label var cpihat_d "dynamic forecast". tw (tsline cpihat_s cpihat_d if!mi(cpihat_s)) /// > (scatter cpi yq if!mi(cpihat_s), c(i)), scheme(s2mono) /// > ti("static and dynamic ex ante forecasts of US CPI") /// > t2("forecast horizon: 2009q1-2010q3") legend(rows(1)) Christopher F Baum (BC / DIW) Time series models UoM, / 117

### Description Remarks and examples References Also see

Title stata.com vec intro Introduction to vector error-correction models Description Remarks and examples References Also see Description Stata has a suite of commands for fitting, forecasting, interpreting,

### Chapter 4: Vector Autoregressive Models

Chapter 4: Vector Autoregressive Models 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie IV.1 Vector Autoregressive Models (VAR)...

### Chapter 6: Multivariate Cointegration Analysis

Chapter 6: Multivariate Cointegration Analysis 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie VI. Multivariate Cointegration

### SYSTEMS OF REGRESSION EQUATIONS

SYSTEMS OF REGRESSION EQUATIONS 1. MULTIPLE EQUATIONS y nt = x nt n + u nt, n = 1,...,N, t = 1,...,T, x nt is 1 k, and n is k 1. This is a version of the standard regression model where the observations

### Chapter 6. Econometrics. 6.1 Introduction. 6.2 Univariate techniques Transforming data

Chapter 6 Econometrics 6.1 Introduction We re going to use a few tools to characterize the time series properties of macro variables. Today, we will take a relatively atheoretical approach to this task,

### The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series.

Cointegration The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series. Economic theory, however, often implies equilibrium

### Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem

Chapter Vector autoregressions We begin by taking a look at the data of macroeconomics. A way to summarize the dynamics of macroeconomic data is to make use of vector autoregressions. VAR models have become

### Univariate and Multivariate Methods PEARSON. Addison Wesley

Time Series Analysis Univariate and Multivariate Methods SECOND EDITION William W. S. Wei Department of Statistics The Fox School of Business and Management Temple University PEARSON Addison Wesley Boston

### MGT 267 PROJECT. Forecasting the United States Retail Sales of the Pharmacies and Drug Stores. Done by: Shunwei Wang & Mohammad Zainal

MGT 267 PROJECT Forecasting the United States Retail Sales of the Pharmacies and Drug Stores Done by: Shunwei Wang & Mohammad Zainal Dec. 2002 The retail sale (Million) ABSTRACT The present study aims

### Estimation and forecasting: OLS, IV, IV-GMM

Estimation and forecasting: OLS, IV, IV-GMM Christopher F Baum Boston College and DIW Berlin Birmingham Business School, March 2013 Christopher F Baum (BC / DIW) Estimation and forecasting BBS 2013 1 /

### Forecasting in STATA: Tools and Tricks

Forecasting in STATA: Tools and Tricks Introduction This manual is intended to be a reference guide for time series forecasting in STATA. It will be updated periodically during the semester, and will be

### British Journal of Economics, Finance and Management Sciences 22 June 2016, Vol. 12 (1)

British Journal of Economics, Finance and Management Sciences 22 The Inflation-Unemployment Tradeoff in a Macroeconometric Model Camelia Ştefan The Bucharest University of Economic Studies, Bucharest,

### Testing for serial correlation in linear panel-data models

The Stata Journal (2003) 3, Number 2, pp. 168 177 Testing for serial correlation in linear panel-data models David M. Drukker Stata Corporation Abstract. Because serial correlation in linear panel-data

### Please follow the directions once you locate the Stata software in your computer. Room 114 (Business Lab) has computers with Stata software

STATA Tutorial Professor Erdinç Please follow the directions once you locate the Stata software in your computer. Room 114 (Business Lab) has computers with Stata software 1.Wald Test Wald Test is used

Chapter 7 Chapter Table of Contents OVERVIEW...193 GETTING STARTED...194 TheThreeStagesofARIMAModeling...194 IdentificationStage...194 Estimation and Diagnostic Checking Stage...... 200 Forecasting Stage...205

### A Trading Strategy Based on the Lead-Lag Relationship of Spot and Futures Prices of the S&P 500

A Trading Strategy Based on the Lead-Lag Relationship of Spot and Futures Prices of the S&P 500 FE8827 Quantitative Trading Strategies 2010/11 Mini-Term 5 Nanyang Technological University Submitted By:

### Internet Appendix to Stock Market Liquidity and the Business Cycle

Internet Appendix to Stock Market Liquidity and the Business Cycle Randi Næs, Johannes A. Skjeltorp and Bernt Arne Ødegaard This Internet appendix contains additional material to the paper Stock Market

### Estimation and Inference in Cointegration Models Economics 582

Estimation and Inference in Cointegration Models Economics 582 Eric Zivot May 17, 2012 Tests for Cointegration Let the ( 1) vector Y be (1). Recall, Y is cointegrated with 0 cointegrating vectors if there

### Table 1: Unit Root Tests KPSS Test Augmented Dickey-Fuller Test with Time Trend

Table 1: Unit Root Tests KPSS Test Augmented Dickey-Fuller Test with Time Trend with Time Trend test statistic p-value test statistic Corn -2.953.146.179 Soy -2.663.252.353 Corn -2.752.215.171 Soy -2.588.285.32

### Econ 371 Problem Set #3 Answer Sheet

Econ 371 Problem Set #3 Answer Sheet 4.1 In this question, you are told that a OLS regression analysis of third grade test scores as a function of class size yields the following estimated model. T estscore

### Powerful new tools for time series analysis

Christopher F Baum Boston College & DIW August 2007 hristopher F Baum ( Boston College & DIW) NASUG2007 1 / 26 Introduction This presentation discusses two recent developments in time series analysis by

### The Orthogonal Response of Stock Returns to Dividend Yield and Price-to-Earnings Innovations

The Orthogonal Response of Stock Returns to Dividend Yield and Price-to-Earnings Innovations Vichet Sum School of Business and Technology, University of Maryland, Eastern Shore Kiah Hall, Suite 2117-A

### From the help desk: Swamy s random-coefficients model

The Stata Journal (2003) 3, Number 3, pp. 302 308 From the help desk: Swamy s random-coefficients model Brian P. Poi Stata Corporation Abstract. This article discusses the Swamy (1970) random-coefficients

### Time Series Analysis: Basic Forecasting.

Time Series Analysis: Basic Forecasting. As published in Benchmarks RSS Matters, April 2015 http://web3.unt.edu/benchmarks/issues/2015/04/rss-matters Jon Starkweather, PhD 1 Jon Starkweather, PhD jonathan.starkweather@unt.edu

### Testing The Quantity Theory of Money in Greece: A Note

ERC Working Paper in Economic 03/10 November 2003 Testing The Quantity Theory of Money in Greece: A Note Erdal Özmen Department of Economics Middle East Technical University Ankara 06531, Turkey ozmen@metu.edu.tr

### Cointegration and the ECM

Cointegration and the ECM Two nonstationary time series are cointegrated if they tend to move together through time. For instance, we have established that the levels of the Fed Funds rate and the 3-year

### VI. Real Business Cycles Models

VI. Real Business Cycles Models Introduction Business cycle research studies the causes and consequences of the recurrent expansions and contractions in aggregate economic activity that occur in most industrialized

### Econ 371 Problem Set #3 Answer Sheet

Econ 371 Problem Set #3 Answer Sheet 4.3 In this question, you are told that a OLS regression analysis of average weekly earnings yields the following estimated model. AW E = 696.7 + 9.6 Age, R 2 = 0.023,

### Chapter 5. Analysis of Multiple Time Series. 5.1 Vector Autoregressions

Chapter 5 Analysis of Multiple Time Series Note: The primary references for these notes are chapters 5 and 6 in Enders (2004). An alternative, but more technical treatment can be found in chapters 10-11

### Time Series Analysis

Time Series Analysis Identifying possible ARIMA models Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and García-Martos

### Time Series Analysis

Time Series Analysis Forecasting with ARIMA models Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and García-Martos (UC3M-UPM)

### Java Modules for Time Series Analysis

Java Modules for Time Series Analysis Agenda Clustering Non-normal distributions Multifactor modeling Implied ratings Time series prediction 1. Clustering + Cluster 1 Synthetic Clustering + Time series

### Chapter 12: Time Series Models

Chapter 12: Time Series Models In this chapter: 1. Estimating ad hoc distributed lag & Koyck distributed lag models (UE 12.1.3) 2. Testing for serial correlation in Koyck distributed lag models (UE 12.2.2)

### THE EFFECTS OF BANKING CREDIT ON THE HOUSE PRICE

THE EFFECTS OF BANKING CREDIT ON THE HOUSE PRICE * Adibeh Savari 1, Yaser Borvayeh 2 1 MA Student, Department of Economics, Science and Research Branch, Islamic Azad University, Khuzestan, Iran 2 MA Student,

### Econometrics I: Econometric Methods

Econometrics I: Econometric Methods Jürgen Meinecke Research School of Economics, Australian National University 24 May, 2016 Housekeeping Assignment 2 is now history The ps tute this week will go through

### FORECASTING DEPOSIT GROWTH: Forecasting BIF and SAIF Assessable and Insured Deposits

Technical Paper Series Congressional Budget Office Washington, DC FORECASTING DEPOSIT GROWTH: Forecasting BIF and SAIF Assessable and Insured Deposits Albert D. Metz Microeconomic and Financial Studies

### The following postestimation commands for time series are available for regress:

Title stata.com regress postestimation time series Postestimation tools for regress with time series Description Syntax for estat archlm Options for estat archlm Syntax for estat bgodfrey Options for estat

### State Space Time Series Analysis

State Space Time Series Analysis p. 1 State Space Time Series Analysis Siem Jan Koopman http://staff.feweb.vu.nl/koopman Department of Econometrics VU University Amsterdam Tinbergen Institute 2011 State

### Introduction to Stata

Introduction to Stata September 23, 2014 Stata is one of a few statistical analysis programs that social scientists use. Stata is in the mid-range of how easy it is to use. Other options include SPSS,

### Forecasting Using Eviews 2.0: An Overview

Forecasting Using Eviews 2.0: An Overview Some Preliminaries In what follows it will be useful to distinguish between ex post and ex ante forecasting. In terms of time series modeling, both predict values

### TEMPORAL CAUSAL RELATIONSHIP BETWEEN STOCK MARKET CAPITALIZATION, TRADE OPENNESS AND REAL GDP: EVIDENCE FROM THAILAND

I J A B E R, Vol. 13, No. 4, (2015): 1525-1534 TEMPORAL CAUSAL RELATIONSHIP BETWEEN STOCK MARKET CAPITALIZATION, TRADE OPENNESS AND REAL GDP: EVIDENCE FROM THAILAND Komain Jiranyakul * Abstract: This study

### Corporate Defaults and Large Macroeconomic Shocks

Corporate Defaults and Large Macroeconomic Shocks Mathias Drehmann Bank of England Andrew Patton London School of Economics and Bank of England Steffen Sorensen Bank of England The presentation expresses

### IBM SPSS Forecasting 22

IBM SPSS Forecasting 22 Note Before using this information and the product it supports, read the information in Notices on page 33. Product Information This edition applies to version 22, release 0, modification

### Wooldridge, Introductory Econometrics, 4th ed. Chapter 10: Basic regression analysis with time series data

Wooldridge, Introductory Econometrics, 4th ed. Chapter 10: Basic regression analysis with time series data We now turn to the analysis of time series data. One of the key assumptions underlying our analysis

### TIME SERIES ANALYSIS

TIME SERIES ANALYSIS L.M. BHAR AND V.K.SHARMA Indian Agricultural Statistics Research Institute Library Avenue, New Delhi-0 02 lmb@iasri.res.in. Introduction Time series (TS) data refers to observations

### Bits and Bets Information, Price Volatility, and Demand for Bitcoin

Bits and Bets Information, Price Volatility, and Demand for Bitcoin Martis Buchholz, Jess Delaney, and Joseph Warren Jeff Parker Economics 312 Spring 2012 2 I. Introduction Bitcoin is an online, digital

### C: LEVEL 800 {MASTERS OF ECONOMICS( ECONOMETRICS)}

C: LEVEL 800 {MASTERS OF ECONOMICS( ECONOMETRICS)} 1. EES 800: Econometrics I Simple linear regression and correlation analysis. Specification and estimation of a regression model. Interpretation of regression

### Module 6: Introduction to Time Series Forecasting

Using Statistical Data to Make Decisions Module 6: Introduction to Time Series Forecasting Titus Awokuse and Tom Ilvento, University of Delaware, College of Agriculture and Natural Resources, Food and

### Software Review: ITSM 2000 Professional Version 6.0.

Lee, J. & Strazicich, M.C. (2002). Software Review: ITSM 2000 Professional Version 6.0. International Journal of Forecasting, 18(3): 455-459 (June 2002). Published by Elsevier (ISSN: 0169-2070). http://0-

### ADVANCED FORECASTING MODELS USING SAS SOFTWARE

ADVANCED FORECASTING MODELS USING SAS SOFTWARE Girish Kumar Jha IARI, Pusa, New Delhi 110 012 gjha_eco@iari.res.in 1. Transfer Function Model Univariate ARIMA models are useful for analysis and forecasting

### From the help desk: Bootstrapped standard errors

The Stata Journal (2003) 3, Number 1, pp. 71 80 From the help desk: Bootstrapped standard errors Weihua Guan Stata Corporation Abstract. Bootstrapping is a nonparametric approach for evaluating the distribution

### Lab 5 Linear Regression with Within-subject Correlation. Goals: Data: Use the pig data which is in wide format:

Lab 5 Linear Regression with Within-subject Correlation Goals: Data: Fit linear regression models that account for within-subject correlation using Stata. Compare weighted least square, GEE, and random

### TIME SERIES ANALYSIS

TIME SERIES ANALYSIS Ramasubramanian V. I.A.S.R.I., Library Avenue, New Delhi- 110 012 ram_stat@yahoo.co.in 1. Introduction A Time Series (TS) is a sequence of observations ordered in time. Mostly these

### Integrated Resource Plan

Integrated Resource Plan March 19, 2004 PREPARED FOR KAUA I ISLAND UTILITY COOPERATIVE LCG Consulting 4962 El Camino Real, Suite 112 Los Altos, CA 94022 650-962-9670 1 IRP 1 ELECTRIC LOAD FORECASTING 1.1

### 1 Short Introduction to Time Series

ECONOMICS 7344, Spring 202 Bent E. Sørensen January 24, 202 Short Introduction to Time Series A time series is a collection of stochastic variables x,.., x t,.., x T indexed by an integer value t. The

### From this it is not clear what sort of variable that insure is so list the first 10 observations.

MNL in Stata We have data on the type of health insurance available to 616 psychologically depressed subjects in the United States (Tarlov et al. 1989, JAMA; Wells et al. 1989, JAMA). The insurance is

### Threshold Autoregressive Models in Finance: A Comparative Approach

University of Wollongong Research Online Applied Statistics Education and Research Collaboration (ASEARC) - Conference Papers Faculty of Informatics 2011 Threshold Autoregressive Models in Finance: A Comparative

### A Multiplicative Seasonal Box-Jenkins Model to Nigerian Stock Prices

A Multiplicative Seasonal Box-Jenkins Model to Nigerian Stock Prices Ette Harrison Etuk Department of Mathematics/Computer Science, Rivers State University of Science and Technology, Nigeria Email: ettetuk@yahoo.com

### PITFALLS IN TIME SERIES ANALYSIS. Cliff Hurvich Stern School, NYU

PITFALLS IN TIME SERIES ANALYSIS Cliff Hurvich Stern School, NYU The t -Test If x 1,..., x n are independent and identically distributed with mean 0, and n is not too small, then t = x 0 s n has a standard

### Time-series filtering techniques in Stata

Time-series filtering techniques in Stata Christopher F Baum Department of Economics, Boston College July 2006 Christopher F Baum Time-series filtering techniques in Stata 1 Introduction There are several

### Using Stata 11 & higher for Logistic Regression Richard Williams, University of Notre Dame, Last revised March 28, 2015

Using Stata 11 & higher for Logistic Regression Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised March 28, 2015 NOTE: The routines spost13, lrdrop1, and extremes are

### Luciano Rispoli Department of Economics, Mathematics and Statistics Birkbeck College (University of London)

Luciano Rispoli Department of Economics, Mathematics and Statistics Birkbeck College (University of London) 1 Forecasting: definition Forecasting is the process of making statements about events whose

### Relationship among crude oil prices, share prices and exchange rates

Relationship among crude oil prices, share prices and exchange rates Do higher share prices and weaker dollar lead to higher crude oil prices? Akira YANAGISAWA Leader Energy Demand, Supply and Forecast

### Standard errors of marginal effects in the heteroskedastic probit model

Standard errors of marginal effects in the heteroskedastic probit model Thomas Cornelißen Discussion Paper No. 320 August 2005 ISSN: 0949 9962 Abstract In non-linear regression models, such as the heteroskedastic

### NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

Chapter 340 Principal Components Regression Introduction is a technique for analyzing multiple regression data that suffer from multicollinearity. When multicollinearity occurs, least squares estimates

### Simple Linear Regression Inference

Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation

### Econ 371 Problem Set #4 Answer Sheet. P rice = (0.485)BDR + (23.4)Bath + (0.156)Hsize + (0.002)LSize + (0.090)Age (48.

Econ 371 Problem Set #4 Answer Sheet 6.5 This question focuses on what s called a hedonic regression model; i.e., where the sales price of the home is regressed on the various attributes of the home. The

### INDIRECT INFERENCE (prepared for: The New Palgrave Dictionary of Economics, Second Edition)

INDIRECT INFERENCE (prepared for: The New Palgrave Dictionary of Economics, Second Edition) Abstract Indirect inference is a simulation-based method for estimating the parameters of economic models. Its

### Forecasting methods applied to engineering management

Forecasting methods applied to engineering management Áron Szász-Gábor Abstract. This paper presents arguments for the usefulness of a simple forecasting application package for sustaining operational

### Vector Time Series Model Representations and Analysis with XploRe

0-1 Vector Time Series Model Representations and Analysis with plore Julius Mungo CASE - Center for Applied Statistics and Economics Humboldt-Universität zu Berlin mungo@wiwi.hu-berlin.de plore MulTi Motivation

### ITSM-R Reference Manual

ITSM-R Reference Manual George Weigt June 5, 2015 1 Contents 1 Introduction 3 1.1 Time series analysis in a nutshell............................... 3 1.2 White Noise Variance.....................................

### Cointegration. Basic Ideas and Key results. Egon Zakrajšek Division of Monetary Affairs Federal Reserve Board

Cointegration Basic Ideas and Key results Egon Zakrajšek Division of Monetary Affairs Federal Reserve Board Summer School in Financial Mathematics Faculty of Mathematics & Physics University of Ljubljana

### Performing Unit Root Tests in EViews. Unit Root Testing

Página 1 de 12 Unit Root Testing The theory behind ARMA estimation is based on stationary time series. A series is said to be (weakly or covariance) stationary if the mean and autocovariances of the series

UCL DEPARTMENT OF SECURITY AND CRIME SCIENCE Advanced time-series analysis Lisa Tompson Research Associate UCL Jill Dando Institute of Crime Science l.tompson@ucl.ac.uk Overview Fundamental principles

### Normalization and Mixed Degrees of Integration in Cointegrated Time Series Systems

Normalization and Mixed Degrees of Integration in Cointegrated Time Series Systems Robert J. Rossana Department of Economics, 04 F/AB, Wayne State University, Detroit MI 480 E-Mail: r.j.rossana@wayne.edu

### Estimating and interpreting structural equation models in Stata 12

Estimating and interpreting structural equation models in Stata 12 David M. Drukker Director of Econometrics Stata Stata Conference, Chicago July 14, 2011 1 / 31 Purpose and outline Purpose To excite structural-equation-model

### Is the Basis of the Stock Index Futures Markets Nonlinear?

University of Wollongong Research Online Applied Statistics Education and Research Collaboration (ASEARC) - Conference Papers Faculty of Engineering and Information Sciences 2011 Is the Basis of the Stock

### Vector autoregressions, VAR

1 / 45 Vector autoregressions, VAR Chapter 2 Financial Econometrics Michael Hauser WS15/16 2 / 45 Content Cross-correlations VAR model in standard/reduced form Properties of VAR(1), VAR(p) Structural VAR,

### Stock market booms and real economic activity: Is this time different?

International Review of Economics and Finance 9 (2000) 387 415 Stock market booms and real economic activity: Is this time different? Mathias Binswanger* Institute for Economics and the Environment, University

### Statistics in Retail Finance. Chapter 6: Behavioural models

Statistics in Retail Finance 1 Overview > So far we have focussed mainly on application scorecards. In this chapter we shall look at behavioural models. We shall cover the following topics:- Behavioural

### TIME SERIES ANALYSIS OF CHINA S EXTERNAL DEBT COMPONENTS, FOREIGN EXCHANGE RESERVES AND ECONOMIC GROWTH RATES. Hüseyin Çetin

TIME SERIES ANALYSIS OF CHINA S EXTERNAL DEBT COMPONENTS, FOREIGN EXCHANGE RESERVES AND ECONOMIC GROWTH RATES Hüseyin Çetin Phd Business Administration Candidate Okan University Social Science Institute,

### The information content of lagged equity and bond yields

Economics Letters 68 (2000) 179 184 www.elsevier.com/ locate/ econbase The information content of lagged equity and bond yields Richard D.F. Harris *, Rene Sanchez-Valle School of Business and Economics,

### Study & Development of Short Term Load Forecasting Models Using Stochastic Time Series Analysis

International Journal of Engineering Research and Development e-issn: 2278-067X, p-issn: 2278-800X, www.ijerd.com Volume 9, Issue 11 (February 2014), PP. 31-36 Study & Development of Short Term Load Forecasting

### Examining the Relationship between ETFS and Their Underlying Assets in Indian Capital Market

2012 2nd International Conference on Computer and Software Modeling (ICCSM 2012) IPCSIT vol. 54 (2012) (2012) IACSIT Press, Singapore DOI: 10.7763/IPCSIT.2012.V54.20 Examining the Relationship between

### REGRESSION LINES IN STATA

REGRESSION LINES IN STATA THOMAS ELLIOTT 1. Introduction to Regression Regression analysis is about eploring linear relationships between a dependent variable and one or more independent variables. Regression

### Monetary Policy and Credit Cards: Evidence from a Small-Open Economy

Monetary Policy and Cards: Evidence from a Small-Open Economy by Hakan Yilmazkuday Department of Economics DETU Working Paper 1-1 September 21 131 Cecil B. Moore Avenue, Philadelphia, PA 19122 http://www.temple.edu/cla/economics/

### IBM SPSS Forecasting 21

IBM SPSS Forecasting 21 Note: Before using this information and the product it supports, read the general information under Notices on p. 107. This edition applies to IBM SPSS Statistics 21 and to all

### Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written

### Cointegration Analysis of Oil Prices and Consumer Price Index in South Africa using STATA Software

The University of Nottingham From the SelectedWorks of Mphumuzi A Sukati Mr 2013 Cointegration Analysis of Oil Prices and Consumer Price Index in South Africa using STATA Software Mphumuzi A Sukati, Mr,

### Interaction effects and group comparisons Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised February 20, 2015

Interaction effects and group comparisons Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised February 20, 2015 Note: This handout assumes you understand factor variables,

### THE U.S. CURRENT ACCOUNT: THE IMPACT OF HOUSEHOLD WEALTH

THE U.S. CURRENT ACCOUNT: THE IMPACT OF HOUSEHOLD WEALTH Grant Keener, Sam Houston State University M.H. Tuttle, Sam Houston State University 21 ABSTRACT Household wealth is shown to have a substantial

### Business cycles and natural gas prices

Business cycles and natural gas prices Apostolos Serletis and Asghar Shahmoradi Abstract This paper investigates the basic stylised facts of natural gas price movements using data for the period that natural

### DETERMINANTS OF CAPITAL ADEQUACY RATIO IN SELECTED BOSNIAN BANKS

DETERMINANTS OF CAPITAL ADEQUACY RATIO IN SELECTED BOSNIAN BANKS Nađa DRECA International University of Sarajevo nadja.dreca@students.ius.edu.ba Abstract The analysis of a data set of observation for 10

### 25 Working with categorical data and factor variables

25 Working with categorical data and factor variables Contents 25.1 Continuous, categorical, and indicator variables 25.1.1 Converting continuous variables to indicator variables 25.1.2 Converting continuous

### Fiscal and Monetary Policy in Australia: an SVAR Model

Fiscal and Monetary Policy in Australia: an SVAR Model Mardi Dungey and Renée Fry University of Tasmania, CFAP University of Cambridge, CAMA Australian National University September 21 ungey and Fry (University

### Forecasting in supply chains

1 Forecasting in supply chains Role of demand forecasting Effective transportation system or supply chain design is predicated on the availability of accurate inputs to the modeling process. One of the

### From the help desk: Demand system estimation

The Stata Journal (2002) 2, Number 4, pp. 403 410 From the help desk: Demand system estimation Brian P. Poi Stata Corporation Abstract. This article provides an example illustrating how to use Stata to