Announcement

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

  • estat grangerplot not valid

    Hello,

    I am using Stata 17 on Windows 10 and I have a problem with the
    Code:
    estat grangerplot
    command following didregress.
    I get an error code r(321) estat grangerplot not valid.
    I happens regardless of me using my own dataset or using the Stata manual example for didreress, which I find truly problematic.

    Code:
     use "C:\Users\Matricule\Desktop\Folder\hospdd.dta"
    
     didregress (satis) (procedure), group(hospital) time(month)
    
    Number of groups and treatment time
    
    Time variable: month
    Control:       procedure = 0
    Treatment:     procedure = 1
    -----------------------------------
                 |   Control  Treatment
    -------------+---------------------
    Group        |
        hospital |        28         18
    -------------+---------------------
    Time         |
         Minimum |         1          4
         Maximum |         1          4
    -----------------------------------
    
    Difference-in-differences regression                     Number of obs = 7,368
    Data type: Repeated cross-sectional
    
                                   (Std. err. adjusted for 46 clusters in hospital)
    -------------------------------------------------------------------------------
                  |               Robust
            satis | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
    --------------+----------------------------------------------------------------
    ATET          |
        procedure |
    (New vs Old)  |   .8479879   .0321121    26.41   0.000     .7833108     .912665
    -------------------------------------------------------------------------------
    Note: ATET estimate adjusted for group effects and time effects.
    
    . estat grangerplot
    estat grangerplot not valid
    r(321);
    Do you have any idea how to fix this? Is this an incompatibility issue, a bug ..?

    I am thinking about a potential system security problem/firewall as I also cannot directly open Stata manual datasets with the use command but have to download the .dta files separately and then open them in Stata.
    Code:
    . use https://www.stata-press.com/data/r17/hospdd
    PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    r(5100);
    Thank you for your assistance.
    Last edited by Cristina Jude; 02 Feb 2022, 11:27.

  • #2
    Hi Cristina,

    Please try typing:

    update all, force

    There might be an issue with your update. If this does not work, please let us know at [email protected].

    Comment


    • #3
      Thank you for your reply. After forcing the update, the estat grangerplot works now. But not the direct opening of datasets.
      I have adressed an inquiry to the Stata technical support.

      Comment

      Working...
      X