Download presentation

Presentation is loading. Please wait.

Published byHunter Williams Modified over 3 years ago

1
STATA Using the menu

2
After starting Stata: Click on help (Top right menu bar) Then type var. You get a help page giving you info on this instruction. Half way down this page you see the following instructions: webuse lutkepohl2 tsset var dln_inv dln_inc dln_consump

3
webuse lutkepohl2 tsset var dln_inv dln_inc dln_consump Tells the computer to open a data set (lutkepohl2) it has stored in its memory tsset declares the data in memory to be a time series. tssetting the data is what makes Stata's time-series operators such as L. and F. (lag and lead) work. (This comes from going into help and typing tsset) This tells STATA to do a var. The three variables involved are dln_inv, dln_inc and dln_consump

4
Data definitions

5
The output from: var dln_inv dln_inc dln_consump Coef.Std. Err.zP>z[95% Conf.Interval] dln_inv L1.-.2725654.1093372-2.490.013-.4868623-.0582684 L2.-.1340503.1089367-1.230.218-.3475624.0794617 dln_inc L1..3374819.48052090.700.482-.60432171.279286 L2..1827302.4662920.390.695-.73118521.096646 dln_consump L1..6520473.54509851.200.232-.41632611.720421 L2..5980687.54345761.100.271-.46708861.663226 _cons-.0099191.0126649-0.780.434-.0347419.0149037 This tells us the dependent variable this part of output relates to This tells us first right hand side variable Lagged once (L1) and twice (L2) dln_inc and dln_consump are the other two right hand side variables Both are lagged once and twice. The output shows coefficients and t statistics

6
And the output for second equation, relating to dln_inc

7
There is a third equation and also summary data This gives us summary data, e.g. R2s, for each regression

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google