Description Usage Arguments Value Examples

View source: R/FixedEffectModels.R

`FixedEffect_models`

returns the results of a linear fixed effect regression

1 2 |

`dt` |
dataset of interest |

`lhs` |
String, a vector of Y regression variables |

`rhs` |
String, a vector of X dependent variables |

`fe` |
String, a vector of Fixed effects |

`weights` |
Vector of regression weights (not yet coded) |

`vcov` |
Vector of specification for the error |

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 8 9 10 | ```
# See vignettes and readme
## Not run:
lhs <- c("log_ewemt", "f1_log_ewemt")
rhs <- c("MP + retail_index + retail_index_MP",
"MP + discount_rate + discount_rate_MP")
fe <- c("date_y",
"date_y:fed_district + quarter:fed_district + industry_code_num:quarter")
vcov <- c("robust", "cluster(date_y)")
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.