Description Usage Arguments Value
A function to run fast linear model
1 2 |
dep |
a character of dependent variable name. |
ind |
a character vector containing independent variables. |
date.start |
a character of modeling start date in "MM-DD-YYYY". |
date.end |
a character of modeling start date in "MM-DD-YYYY". |
date.var |
a character of date variable name. |
actual |
a character of actual variable name. |
w |
a character of weight variable name. |
data |
a data.table class dataset for modeling. |
group |
a character of cross section variable name. |
wols |
a boolean for weighted OLS or not. Default is F |
is.int |
a boolean for intercept. Default value is True. |
a list of modeling result. It contains the following components: coef: a matrix with coefficients and statistics. fit: a list containing modeling result of each cross section. group: a character of cross section name. dep: a character of dependent variable name. actual: a character of actual variable name. w: a character of weight variable name. date.start: a character of modeling start date in "MM-DD-YYYY". date.end: a character of modeling start date in "MM-DD-YYYY". date.var: a character of date variable name.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.