Hi,
This might seem a very simple question, but I feel kinda confused.
I have data on Stock prices and interest rates. Lets assume that I am trying to estimate the effect of interest rates on stock prices (it's more complicated than that but let's keep it this way).
What's the correct way to analyze these data?
1) graph the data and see if there is a trend
3) look at the time correlation using command "corrgram"
2) do a Unit Root test using dfuller to check if the data are stationary (if the data are not than look at the difference)
3)if they are do whatever model you are looking at (in my case is VAR because y depends on it's privies values and also on x that depends on its previous values and y)
4) Check and correct for heteroskedastisity and autocorrelation if any.
What Am I missing? Why should I care about find the right q of AR(q) using the command varsoc? Why is that important?
Thank you so much!
Buffy
This might seem a very simple question, but I feel kinda confused.
I have data on Stock prices and interest rates. Lets assume that I am trying to estimate the effect of interest rates on stock prices (it's more complicated than that but let's keep it this way).
What's the correct way to analyze these data?
1) graph the data and see if there is a trend
3) look at the time correlation using command "corrgram"
2) do a Unit Root test using dfuller to check if the data are stationary (if the data are not than look at the difference)
3)if they are do whatever model you are looking at (in my case is VAR because y depends on it's privies values and also on x that depends on its previous values and y)
4) Check and correct for heteroskedastisity and autocorrelation if any.
What Am I missing? Why should I care about find the right q of AR(q) using the command varsoc? Why is that important?
Thank you so much!
Buffy
Comment