Showing 201 - 210 of 810
The creation and testing of interaction terms in regression models can be very cumbersome, even in Stata 8. We propose a simple wrapping command, -fitint-, that fits any generalised linear model and tests any twoway interactions, as well as all main effects. There is no need to use -xi- because...
Persistent link: https://www.econbiz.de/10004970579
Among various structures in Stata for cycling through lists (whether lists of variable names, numbers, or arbitrary strings) are foreach and forvalues, introduced in Stata 7 in 2001, and for, introduced in Stata 3.1 in 1992, and revised in 5.0 (1997) and 6.0 (1999). Typically, each member of the...
Persistent link: https://www.econbiz.de/10004970622
I research the market efficiency of the German 6/49 parimutuel lottery game using Stata. To this end, I investigate the existence of profit opportunities for particularly unpopular combinations of numbers (Papachristou and Karamanis (1998)), employing the covariates proposed by Henze and Riedwyl...
Persistent link: https://www.econbiz.de/10004970623
A Stata program will be presented for improved quality control of econometric models. It is well known that reported econometric results often have unknown reliability because of selective reporting by the researcher. In particular, t-statistics are often uninformative or misleading when...
Persistent link: https://www.econbiz.de/10004970624
Stata's matrix language, Mata, highlighted in Bill Gould's Mata Matters columns in the Stata Journal, is very useful and powerful in its interactive mode. Stata users who write do-files or ado-files should gain an understanding of the Stata-Mata interface: how Mata may be called upon to do one...
Persistent link: https://www.econbiz.de/10004970625
Literature on causal inference has emphasized the average causal effect, defined as the mean difference in potential outcomes under different treatment conditions. We consider marginal regression models that describe how causal effects vary in relation to covariates. To estimate parameters, we...
Persistent link: https://www.econbiz.de/10004970626
The quaids ado files written by Brian Poi provide a good template for constructing alternative ado files for maximum likelihood estimation of demand systems. I describe how I used the template to construct ado files to estimate a five commodity almost ideal demand system with demographic...
Persistent link: https://www.econbiz.de/10004970627
The “fallacies of the wrong level” (e.g., ecological fallacy) are a concern in much of social-science research. When appropriate data are available, researchers frequently use intra-class correlations or ANOVAs to decide whether to use individual-level data or whether to aggregate and...
Persistent link: https://www.econbiz.de/10004976627
I will present and discuss the development of the large software project ADePT, which combines the computation kernel of Stata and the user interface written in C#. ADePT is a software platform for applied economic analysis. It is used widely in the World Bank and in many research institutions...
Persistent link: https://www.econbiz.de/10004981539
Stata provides a fairly extensive set of graphs. However sometimes users need to implement custom graphs, which are not yet available. In some cases it is possible to “tweak” a standard graph so that it results in the desired image; in other cases it is not possible. Stata uses complex system...
Persistent link: https://www.econbiz.de/10004981540