Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weights option (as in gsynth) #20

Open
pbritteon opened this issue May 26, 2021 · 9 comments
Open

Weights option (as in gsynth) #20

pbritteon opened this issue May 26, 2021 · 9 comments

Comments

@pbritteon
Copy link

Hi Yiqing and team

I know you have mentioned that you are still in the process of developing this package (which is great by the way)...

I was just wondering whether you planned to add a weights option (like you have in the gsynth command) so that you can calculate the weighted average effect of a policy across treated units with unequal population sizes (e.g. when your data is aggregated at an area level)?

Many thanks,
Phil

@xuyiqing
Copy link
Owner

xuyiqing commented May 26, 2021 via email

@pbritteon
Copy link
Author

Hi Yiqing

Just wondering whether you have had chance to add this feature since my last message? I am using gsynth in a project that requires weightings but would like to use fect to take advantage of its different features.

Many thanks,
Phil

@xuyiqing
Copy link
Owner

xuyiqing commented Jun 28, 2022 via email

@bnglasner
Copy link

Just tagging on that it would be very helpful!

@xuyiqing
Copy link
Owner

xuyiqing commented Aug 9, 2022 via email

@jyl19
Copy link

jyl19 commented Nov 23, 2022

Hi Yiqing,

Just wanted to tag along and say that adding in weights would be super helpful!

@xuyiqing
Copy link
Owner

xuyiqing commented Nov 23, 2022 via email

@bnglasner
Copy link

Hi,

I wanted to see if this had any updates. I am not seeing it in the most recent version.

Thanks!

@lzy318
Copy link
Collaborator

lzy318 commented Jan 29, 2023

Sorry for the delay. Fect now incorporates the option "W" and you can specify the weight variable using that option. In visualization, you can use the command plot(out, weight = TRUE) to visualize the weighted dynamic treatment effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants