Announcement

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

  • #16
    Dear @William Lisowski,
    I also have a very similar issue on my Mac running Monterey 12.3 with Stata/MP 17.0?


    Code:
    sysuse smoking
    tsset state year
     synth cigsale beer(1984(1)1988) lnincome retprice age15to24 cigsale(1988) cigsale(1980) cigsale(1975), trunit(3)  trperiod(1989)
    
    Could not load plugin: /Applications/Stata17/ado/plus/s/synthopt.plugin
    (error occurred while loading synth.ado)
    r(9999);
    
    
    . which synthopt.plugin
    /Applications/Stata17/ado/plus/s/synthopt.plugin
    
    . program synthopt, plugin
    dlopen(/Applications/Stata17/ado/plus/s/synthopt.plugin, 0x0001): tried: '/Applications/Stata17/ado/plus/s/synthopt.plugin' (not a mach-o file)
    Could not load plugin: /Applications/Stata17/ado/plus/s/synthopt.plugin
    r(9999);
    
    . . display c(machine_type)
    Macintosh (Intel 64-bit)

    Can you help me to solve this problem?

    Best regards.

    Raymond Zhang
    Stata 17.0,MP

    Comment


    • #17
      Hi, there is any chance that you can upload the smoking.dta data set? Currently, I'm trying to use it as an example of synth as well and I only find another smoking dataset, that does not include the used variables. Thanks
      Curtis Chou

      Comment


      • #18
        Hey Belen Molina , do this
        Code:
        u "https://github.com/scunning1975/mixtape/blob/master/smoking.dta?raw=true", replace
        This has the synth smoking dataset. If you want a fuller panel, use this
        Code:
        import delim "https://raw.githubusercontent.com/jehangiramjad/tslib/master/tests/testdata/prop99.csv", replace
        but note that Jehangir's dataset doesn't include covariates

        Comment

        Working...
        X