Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: command: svar in Stata11


From   Peter Claeys <[email protected]>
To   [email protected]
Subject   st: command: svar in Stata11
Date   Fri, 24 Dec 2010 09:27:28 +0100

Dear all,

I am using Stata11 to set up an SVAR model. Before going to program my own material, I tried to replicate the examples on the SVAR Help.

I get an error message, after doing these 3 lines, telling me the following:


    webuse m1gdp
    matrix lr = (.,0\0,.)
    svar d.ln_m1 d.ln_gdp, lreq(lr)

r125
numdepvars() invalid -- invalid number, outside of allowed range

So it seems that if I have 2 variables, the program does not understand I have a 2x2 matrix with restriction (or vice versa).

I checked, and updated, my Stata11 license, and even with the most recent update, I get this message. Is there some practical issue I am overlooking?

thanks a lot,

Peter

--
Peter Claeys
Grup AQR IREA, Universitat de Barcelona
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index