search for: marketret

Displaying 1 result from an estimated 1 matches for "marketret".

Did you mean: marketed
2008 Nov 25
0
Vector autoregression, panel data
...since it follows Statman, Thorley & Vorkink (2004) article. The problem is how to estimate VAR by a stock when using panel data? Previously I have been using SAS which easily allows to estimate VAR by variable. In this case, the SAS code is: proc varmax data= xxx; model VOLUME RETURN MARKETRET = VOLATILITY / p=3 ; by STOCK; So how to do the same thing with R? Here is a sample of my data: STOCK DATE RETURN MARKETRET VOLUME VOLATILITY ALBAV 19910228 0.0000000000 1.082824e-02 1.003302e-01 3.054257e-04 ALBAV 19910327 -0.0165264410 -3.946030e-04 -2.650549...