Economics at your fingertips  

SCENTTEST: Stata module to compute scenario arithmetic means and their difference

Roger Newson ()

Statistical Software Components from Boston College Department of Economics

Abstract: scenttest calculates confidence intervals for 2 scenario arithmetic (or geometric) means, and for their difference (or ratio). scenttest can be used after an estimation command whose predicted values are interpreted as conditional arithmetic means of a Y-variable, such as regress, poisson, or glm. It estimates two scenario means, a baseline scenario ("Scenario 0") and an alternative scenario ("Scenario 1"), in which one or more exposure variables are assumed to be set to particular values (typically zero), and any other predictor variables in the model are assumed to remain the same. It also estimates the difference between the Scenario 0 mean and the Scenario 1 mean. This difference represents the increase in the mean Y-value attributable to living in Scenario 0 instead of Scenario 1. If the Y-variable is derived as the log of a positive-valued original outcome variable, then the scenario means displayed may be the scenario geometric means of the original outcome variable, and the comparison displayed may be their ratio.

Language: Stata
Requires: Stata version 14
Keywords: scenario; means; baseline; alternative (search for similar items in EconPapers)
Date: 2014-09-06, Revised 2015-09-04
Note: This module should be installed from within Stata by typing "ssc install scenttest". Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: Track citations by RSS feed

Downloads: (external link) program code (text/plain) program code (text/plain) help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link:

Ordering information: This software item can be ordered from

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

Page updated 2019-10-06
Handle: RePEc:boc:bocode:s457904