{"kind":"assistant","text":"sm.OLS(y, add_constant([Tgroup, Post, DID])).fit(cov_type='cluster', groups=state) (CR1 errors with statsmodels' default G/(G-1)\u00b7(N-1)/(N-K) correction)","tool_calls":[{"args":{"cluster":"state","controls":["Tgroup","Post"],"dataset":"ref_panel","x":["DID"],"y":"democracy_mcmc"},"id":"script_1","name":"infer__ols"}]}