Open
Description
Hi, thanks for a great package!
I am trying to calculate CR3 standard errors for a model that includes unit specific time trends. Do you have any advice on how / if this can be implemented in summclust?
Here's a minimal example, showing the error that I get when I try to use the summclust()
function on a model that includes unit specific time trends.
library(summclust)
library(fixest)
df <- fixest::trade
fit <- feols(Euros ~ dist_km | Year + Origin + Origin[Year], data = df)
summ <- summclust(fit, params = ~dist_km, cluster = ~Origin)
The error is pasted below:
Error in `[[.default`(Origin, Year) :
attempt to select more than one element in vectorIndex
Thanks so much for your time and your help
Metadata
Metadata
Assignees
Labels
No labels