xuyiqing / gsynth

Generalized Synthetic Control Method
Other
134 stars 41 forks source link

return synthetic control group weights from gsynth function #5

Closed sunsiyu closed 6 years ago

sunsiyu commented 7 years ago

Hi, just wondering if it's already returned in the object from gsynth(), if yes, could you please point the list element name? and if no, would you like to add it as a new feature in this function? Because understanding how the algorithm assign weights to each unit in the control group will be quite interesting. Thanks!

related stackoverflow question here

xuyiqing commented 7 years ago

The "weights" are the loadings. They're stored in "lambda.co" and "lambda.tr ".

On Thu, Oct 19, 2017 at 9:02 AM, sinalpha notifications@github.com wrote:

Hi, just wondering if it's already returned in the object from gsynth(), if yes, could you please point the list element name? and if no, would you like to add it as a new feature in this function? Because understanding how the algorithm assign weights to each unit in the control group will be quite interesting. Thanks!

related stackoverflow question here https://stackoverflow.com/questions/46834151/how-can-i-see-the-weights-of-my-synthetic-control-group-from-gsynth-r-package

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xuyiqing/gsynth/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AHT1GKNeHYk3XxOci8NfqggBc9XgmKDAks5st3JdgaJpZM4P_d8- .

-- Yiqing Xu

Assistant Professor Department of Political Science University of California, San Diego http://yiqingxu.org/