Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SVAR; error r(198)

    Hi everybody,

    I am trying to get IRFs using SVAR and I keep getting this error
    . irf graph sirf, impulse(com) response(int_short)
    file impulses.irf1 is not a valid irf file
    r(198);
    Here is the code that I am using:
    Code:
    **                            SVAR for FRANCE
    svar com hicp__sa GAPi int_short if countryid=="F", lags(1/4) aeq(A) beq(B)
    irf set "impulses.irf1"
    irf graph sirf, impulse(com) response(int_short)
    Thanks,

  • #2
    Code:
     irf set impulse.irf1
    The 1 is not allowed.
    Example: var dln_inv dln_inc dln_consump if qtr<=tq(1978q4), lags(1/2)
    We then create or open the file in which the IRFs will be stored:
    irf set myfile1.irf.
    This creates a file which has the name myfile1.irf and makes it active (opens it), or, if the file already exists, it simply makes the file active.
    The next instruction is to actually create the IRFs (and dynamic multipliers), and names them irf1:
    irf create irf1, step #
    where # stands for a number: step 10 informs the program that it should create IRFs (and dynamic multipliers) for 10 time periods.

    Comment

    Working...
    X