| slopes | R Documentation |
Extracts the individual slopes (alpha_i) from a feis object created by
feis.
slopes(model = NA, ...)
model |
an object of class " |
... |
further arguments. |
The function extracts a matrix containing the individual slope parameters (alpha_i),
which equals the coefficient(s) of regressing the depenent variable on the slope parameter(s).
If slope variables are perfectly collinear within a cluster, one variable is dropped
and the function returns 0 for the respective slope and cluster.
An N x J matrix containing the individual slopes for each cluster unit N
and slope variable J. Rownames indicate the cluster id.
data("Produc", package = "plm")
feis.mod <- feis("log(gsp) ~ log(pcap) + log(pc) + log(emp) + unemp | year",
data = Produc, id = "state", robust = TRUE)
slps <- slopes(feis.mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.