summary.femlm.allClusters {FENmlm} | R Documentation |
This function summarizes the main characteristics of the cluster coefficients. It shows the number of fixed-effects that have been set as references and the first elements of the fixed-effects.
## S3 method for class 'femlm.allClusters' summary(object, n = 5, ...)
object |
An object returned by the function |
n |
Positive integer, defaults to 5. The |
... |
Not currently used. |
It prints the number of fixed-effect coefficients per cluster, as well as the number of fixed-effects used as references for each cluster, and the mean and variance of the cluster coefficients. Finally it reports the first 5 elements of each cluster.
Laurent Berge
femlm
, getFE
, plot.femlm.allClusters
.
data(trade) # We estimate the effect of distance on trade # => we account for 3 cluster effects est_pois = femlm(Euros ~ log(dist_km)|Origin+Destination+Product, trade) # obtaining the cluster coefficients fe_trade = getFE(est_pois) # printing some summary information on the cluster coefficients: fe_trade