print.femlm: A print facility for 'femlm' objects. It can compute...

View source: R/MiscFuns.R

print.femlmR Documentation

A print facility for femlm objects. It can compute different types of standard errors.

Description

This function is very similar to usual summary functions as it provides the table of coefficients along with other information on the fit of the estimation.

Usage

## S3 method for class 'femlm'
print(x, n, ...)

Arguments

x

A femlm object. Obtained using femlm.

n

Integer, number of coefficients to display. By default, all estimated coefficients are displayed.

...

Other arguments to be passed to vcov.femlm.

Author(s)

Laurent Berge

See Also

See also the main estimation functions femlm. Use summary.femlm to see the results with the appropriate standard-errors, getFE to extract the cluster coefficients, and the functions res2table and res2tex to visualize the results of multiple estimations.

Examples


# Load trade data
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)

# displaying the results
print(est_pois)

# with other type of standard error:
print(est_pois, se = "c")



FENmlm documentation built on Aug. 22, 2023, 5:11 p.m.