Description Usage Arguments Value Examples
This function estimates the IV-like estimands, as well as generates the weights associated with the IV-like specifications.
| 1 2 3 4 5 6 7 8 9 | 
| formula | formula to be estimated using OLS/IV. | 
| data | 
 | 
| subset | subset condition with which to perform the estimate. | 
| components | vector of variable names whose coefficients we want to include in the set of IV-like estimands. | 
| treat | name of treatment indicator variable. | 
| list | logical, set to TRUE if this function is being used to loop over a list of formulas. | 
| order | integer, default set to  | 
Returns a list containing the matrices of IV-like
specifications for D = 0 and D = 1; and the
estimates of the IV-like estimands.
| 1 2 3 4 5 6 | dtm <- ivmte:::gendistMosquito()
ivEstimate(formula = ey ~ d | z,
           data = dtm,
           components = l(d),
           treat = d,
           list = FALSE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.