Description Usage Arguments Value
View source: R/make_analyses.R
Estimation Function
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
dv |
Dependent variable specified as character. |
treat |
Treatment vector of variables specified as character vector. |
covs |
Character vector of covariates specified as character vector. |
heterogenous |
Character vector of covariates to interact with treatments specified as character vector. |
FE |
Character vector of fixed effects covariates specified as character vector. |
IPW |
Inverse probability weights specified as character vector. |
IV_list |
Character string. Should be a character string which presents valid IV formula as specified in |
cluster |
Covariate for clustered robust standard errors as defined by |
robust |
Logical. Whether to report heteroskedastic robust standard errors. Implemented only for linear models for now. |
data |
Data frame which contains all the relevant variables. |
subset |
character string specifing logical expression for subsetting. |
estimator |
Function that takes all arguments above, |
estimator_name |
Character string giving name of the estimator used |
treat_only |
TRUE/FALSE specifying whether only estimates directly related to |
status |
Logical vector of length 3, specifying whether the model was pre-(R)egistered, run in (S)cript and reported in (P)aper respectively. |
round_digits |
Integer. How many decimal points to round to in the output. |
return_df |
If |
... |
Other parameters used in estimate function |
List of three objects. estimates
is estimates from the model and corresponding standard errors. stat
is vector of adjusted R squared and number of observations. model_spec
is logical vector of characteristics of the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.