Announcement

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

  • Accessing elements in IRF table

    Dear all,

    I'm using Stata 17 to generate the table of orthogonalized impulse response functions of a 3-equation VAR system, using the following code:

    Code:
    var W G X
    irf create Orth, replace
    irf table oirf

    Here is the first part of the resulting output table:
    Code:
    --------------------------------------------------------------------------------
             |      (1)         (1)         (1)         (2)         (2)         (2)  
        Step |     oirf       Lower       Upper        oirf       Lower       Upper  
    ---------+----------------------------------------------------------------------
           0 |    1.376     1.09483     1.65717     .404908    -6.56985     7.37967
           1 |  .507498    -.007601      1.0226     6.92962    -2.34165     16.2009
           2 | -.133021    -.655341     .389299     6.62832    -1.44341     14.7001
           3 | -.086535    -.450511     .277441     1.15011    -3.65559     5.95581
           4 |  .067904    -.155183     .290991     .229107    -3.42575     3.88396
           5 |  .078211    -.092547      .24897     .883115    -1.36865     3.13488
           6 |  .048449    -.066566     .163464     .954712    -.865397     2.77482
           7 |  .016347    -.081898     .114592     .533186    -.862487     1.92886
           8 |  .002151    -.064752     .069055     .324751    -.812414     1.46191
    --------------------------------------------------------------------------------

    I would like to access individual elements of the table (e.g., the 6.92962 value (4th column, 2nd row) under the (2) oirf at Step 1) to be used in later calculations. Is there a way to do that?

    The irf table help file indicates the stored results only contain generic scalars and macros about the output, but no matrix for the output table is stored.

    Thank you.
Working...
X