Implement dbivreg (compress, moments, and demean)#66
Conversation
|
@copilot Review this PR. Look in particular for anywhere that something is defined for dbivreg where we should be re-using utils and functions from dbreg. |
Agent-Logs-Url: https://github.com/grantmcdermott/dbreg/sessions/43981276-c1f0-43f0-8cbe-fd2163bb3748 Co-authored-by: jamesbrandecon <62019331+jamesbrandecon@users.noreply.github.com>
Addressed. I reviewed dbivreg for shared-utility reuse and replaced dbivreg-specific vcov label formatting with a shared helper in |
|
Great, thanks. I'm out for Memorial Day weekend, so will be a bit before I can review. Ideally, we'd support all strategies out of the gate, but let me get back to you once I've looked at the code. |
|
Ok I added the |
Ok here is a first PR @grantmcdermott. So far I've only gotten
demeanandmomentsimplemented.compressshould be straightforward, but it was getting to be a lot of code so I wanted to get it on remote for you and copilot to review. The structure is pretty similar to dbreg.R and the API should be close to fixest. Let me know what you think, and whether you want to stackcompress(andmundlak?) into the same PR or not.Some example code if you want to test: