在用r语言跑Bacon分解的时候,如果不加控制变量,只有一个因变量和一个自变量post,就可以正常跑出三组分解结果,加了一个控制变量以后,代码显示error: Error in fixest::feols(treated ~ 1 | time + id, data = data) : The dependent variable is a constant. The estimation with fixed-effects cannot be done
使用其他的控制变量也同样出现这个error,求大神帮助!!