-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi,
First I wanted to thank you for the great package. It is super useful! I've been using it for two projects, so I have a bunch of questions/issues and I didn't want to open a separate issue for each, but if you prefer that I can also do that.
Small issues:
- On my personal computer, on windows, I have not been able to install pytwoway, even after a couple of hours of trying because of the dependency quadprog. This seems to be a known issue, and I tried the fixes, but havent been able to make it work. In particular, I think quadprog now made a version with a prebuilt wheel and is recommending to packages which use quadprog to put that as a dependency.
- Wanted to mention 2 warnings which seem to have no effect on the commands running:
- I get the warning: "future version 'df.iloc[:,i] = newvals' will attempt to set the values in place instead of always setting in a new array". Just wanted to give a heads-up in case that will change something.
- When I run a model with fit(), it works, but I do get the following warning: "sys:1: ResourceWarning: unclosed socket" (and then a bit more detail)
New feature maybe?:
- Is it currently possible to add a third fixed-effect (an origin firm fixed-effect) like in
It Ain't Where You're From, It's Where You're At: Hiring Origins, Firm Heterogeneity, and Wages (Sabrina Di Addario, Patrick Kline, Raffaele Saggio, and Mikkel Sølvsten) Journal of Econometrics, 232 (April 2023), pp. 340-374.. In particular, does simply adding it as a control work (the connectedness might not be correct then?)?
(Apologies in what follows I don't have reproducible examples, because I'm using confidential admin data)
Bigger issues:
- If I use summary on the cleaned data, and in the next line run FEEstimator, the variances of y are different (see examples below). This is also the case with the simulated datasets in the examples. This only happens with collapse_at_connectedness_measure: True. Is that because different weights are used?
- Negative implied alphas or the terms don't add up to the variance. I am using a binary variable as a dependent variable (like in Employers and Unemployment Insurance Take-up (Lachowska, Sorkin and Woodbury)). Below are 3 different versions of the summary and estimation results:
- with collapse_at_connectedness_measure: True


- with collapse_at_connectedness_measure: False


- with collapse_at_connectedness_measure: False and controls


Sorry about the very long post and I hope that I didn't do something stupid!
Thanks a lot for your help!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels