Showing 1 - 10 of 298
In this presentation, I cover how to use Stata for survey data analysis assuming a fixed population. We will begin by reviewing the sampling methods used to collect survey data, and how they affect the estimation of totals, ratios, and regression coefficients. We will then cover the three...
Persistent link: https://www.econbiz.de/10005009801
Stata has a rich set of operators for specifying factor variables in linear and nonlinear regression models. I will show how to test for the effects of factor variables in these models. I will also show how to compare and contrast these effects using linear combinations of the model coefficients.
Persistent link: https://www.econbiz.de/10009189396
In this presentation, I cover how to use Stata for survey data analysis assuming a fixed population. We will begin by reviewing the sampling methods used to collect survey data, and how they affect the estimation of totals, ratios, and regression coefficients. We will then cover the three...
Persistent link: https://www.econbiz.de/10008466511
Effective estimation and inference, when the data are collected using complex survey designs, requires estimators that fully account for the sampling design. This article explores, by means of Monte Carlo simulations of the power of simple hypothesis tests, the consequences of parameter...
Persistent link: https://www.econbiz.de/10005583330
Persistent link: https://www.econbiz.de/10001786873
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
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
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
The Gini coefficient is widely used to measure inequality in the distribution of income, consumption, and other welfare proxies. Decomposing this measure can help you understand the determinants of inequality. In this presentation, I will use income data from Mexico to illustrate a user-written...
Persistent link: https://www.econbiz.de/10004997459