clusterSE: Create clustered standard errors for fixed effect regression....

Description Usage Arguments Value

View source: R/clusterSE.R

Description

Create clustered standard errors for fixed effect regression. Note that the dataframe has to be sorted by the cluster.name to work.

Usage

1
clusterSE(cluster.name, model, df)

Arguments

cluster.name

is tje cluster identifier.

model

is the lm object estimated on the demeanded data

df

is the demead data.frame the model is fit on

Value

se


johnjosephhorton/JJHmisc documentation built on May 19, 2019, 5:15 p.m.