Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: command: svar in Stata11


From   Peter Claeys <peter.claeys@ub.edu>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index