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

AKM: new variance/covariance options (i.e. new Q matrices) #24

Open
adamoppenheimer opened this issue Aug 28, 2022 · 5 comments
Open

AKM: new variance/covariance options (i.e. new Q matrices) #24

adamoppenheimer opened this issue Aug 28, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@adamoppenheimer
Copy link
Collaborator

Add option to estimate within and between firm variance for AKM and its bias corrections.

@adamoppenheimer adamoppenheimer added the enhancement New feature or request label Aug 28, 2022
@adamoppenheimer
Copy link
Collaborator Author

Another set of options to add for Q matrices:

  • cov(alpha_i, alpha_j) for coworkers, to estimate sorting of workers within firms
  • cov(psi_j1, psi_j2) for firms that are directly linked by workers, to estimate some sort of network effect of whether firms with similar firm effects are connected

@adamoppenheimer adamoppenheimer changed the title AKM: within and between firm variance AKM: new variance/covariance options (i.e. new Q matrices) Sep 16, 2022
@adamoppenheimer
Copy link
Collaborator Author

Add option to break down Q by each group of a particular category.

E.g. you could specify compute var(psi) but separately by firm quantile, where you don’t include firm quantile as a control variable, but just use it for separating the Q matrix.

@santiagohermo
Copy link

These look like useful features. I think it'd also be nice to compute variance components within clusters, such as regions.

@adamoppenheimer
Copy link
Collaborator Author

@santiagohermo what is the difference between your suggestion and the last suggestion I wrote?

Also, the last suggestion I wrote is available in the dev version. If you check here, you can see how to use the updated Q code so that you can get the variance components within a particular category/cluster.

@santiagohermo
Copy link

Nice @adamoppenheimer, thanks! The package keeps getting better. I'll take a look at the dev version.

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

No branches or pull requests

2 participants