Description Usage Arguments Value Examples
View source: R/FixedEffectInteract.R
FixedEffectInteract
returns the results of a 2 stage linear fixed effect regression
1 2 |
dt |
dataset of interest |
lhs |
String: lhs variable |
rhs |
String: rhs variables |
ife |
String of interacted fixed effects (id1 + id2) |
rank_ife |
Integer: number of factors to be estimated |
fe |
expression of fixed effects id1 + id2:id3 |
weights |
expression of weights |
vcov |
Specification for the error |
save_res |
Save the results of the model |
print |
do we print output or not |
The return value will be a list which contains two elements at this point results: includes most of the observation from the julia call summary: includes information that is of importance to write a table
1 2 3 4 5 6 7 | # See vignettes and readme
# Short example
## Not run:
df = Ecdat::Cigar
FixedEffectInteract(df, "sales", "price", "state+year", 2, "state", vcov = "robust")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.