ivreg_1 | R Documentation |
Model of class ivreg
ivreg_1
An object of class ivreg
of length 18.
data(CigarettesSW)
CigarettesSW$rprice <- with(CigarettesSW, price / cpi)
CigarettesSW$rincome <- with(CigarettesSW, income / population / cpi)
CigarettesSW$tdiff <- with(CigarettesSW, (taxs - tax) / cpi)
ivreg_1 <- ivreg(
log(packs) ~ log(rprice) + log(rincome) | log(rincome) + tdiff + I(tax / cpi),
data = CigarettesSW,
subset = year == "1995"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.