Daniel-Pailanir / sdid

Synthetic Difference in Differences for Stata
GNU General Public License v3.0
74 stars 37 forks source link

May I ask whether based on the code to get the weight value and identifiers of controls? #41

Closed ericywon closed 1 year ago

ericywon commented 2 years ago

Sorry to bother you but I am now using this command to do the test. May I ask whether based on the code to get the weight value and identifiers of controls?

Daniel-Pailanir commented 2 years ago

Hi, I'm not sure what you mean. Do you mean lambda and omega weight? or the betas that are associated with the covariates?

ericywon commented 2 years ago

Dear Daniel,

Thanks a lot for your reply. So my question is could I directly get the lambda and omega weights from the command?

Thank you again.

Daniel Pailañir @.***> 于2022年10月15日周六 23:32写道:

Hi, I'm not sure what you mean. Do you mean lambda and omega weight? or the betas that are associated with the covariates?

— Reply to this email directly, view it on GitHub https://github.com/Daniel-Pailanir/sdid/issues/41#issuecomment-1279767755, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWEL32RPOVSDZ6PJBNNTS3WDLE7TANCNFSM6AAAAAARF2JWZY . You are receiving this because you authored the thread.Message ID: @.***>

Daniel-Pailanir commented 2 years ago

Of course, this is stored in two matrix after the estimation. To access, you can view both matrices using matlist e(lambda) and matlist e(omega), or create new matrix from them, for example matrix lambda=e(lambda).

ericywon commented 2 years ago

Dear Daniel,

Many thanks this is very helpful! Let me try that.

Daniel Pailañir @.***> 于2022年10月17日周一 20:23写道:

Of course, this is stored in two matrix after the estimation. To access, you can view both matrices using matlist e(lambda) and matlist e(omega), or create new matrix from them, for example matrix lambda=e(lambda).

— Reply to this email directly, view it on GitHub https://github.com/Daniel-Pailanir/sdid/issues/41#issuecomment-1280774781, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWEL33A64J4NLHNQNQVGO3WDVAN7ANCNFSM6AAAAAARF2JWZY . You are receiving this because you authored the thread.Message ID: @.***>