[軟體程式類別]:Stata[程式問題]:Package 安裝與使用[軟體熟悉度]:熟悉[問題敘述]: + 問題概述:在安裝與使用synth / synth_runner 時遇到無法讀取plugin的問題 + 系統環境:macOS Big Sur Version 11.3.1 / Apple M1 Chip + Stata版本:Stata/SE 16.1 + 問題詳述:請見以下程式範例[程式範例]:. ssc install synthssc install: "synth" not found at SSC, type search synth無法透過ssc intall 安裝package所以嘗試以下方法. net from "https://web.stanford.edu/~jhain/Synth". net install synth, all replace force可以順利安裝,但資料夾中並無出現 synthopt.plugin 的檔案此時若執行 synth 指令,會出現error. sysuse smoking. tsset state year. synth cigsale beer(1984(1)1988) lnincome retprice age15to24 cigsale(1988) cigsale(1980) cigsale(1975), trunit(3) trperiod(1989)file synthopt.plugin not found嘗試至 https://web.stanford.edu/~jhain/Synth 手動下載 synthopt.plugin並存入與synth.ado同一個資料夾(也嘗試過下載synthopt.mac, 或下載synthopt.mac後改副檔名為.plugin均無法解決)再次執行 synth,一樣會出現error. synth cigsale beer(1984(1)1988) lnincome retprice age15to24 cigsale(1988) cigsale(1980) cigsale(1975), trunit(3) trperiod(1989)Could not load plugin: /Users/username/Library/Application Support/Stata/ado/plus/s/synthopt.plugin嘗試在其他網路論壇蒐尋類似問題,得到的建議多是嘗試重新安裝package。但已嘗試重新安裝多次,得到的結果都是相同。因為之前曾經在Intel晶片上的macOS,相同Stata版本與系統環境下執行過synth並無問題,所以不確定是否是M1晶片的問題?想詢問有經驗的前輩是否有解決方法?謝謝!


雷达卡



京公网安备 11010802022788号







