Computing optimal sampling designs for two-stage studies



Stata Technical Bulletin

23


Saved results

mlogtest saves in r():

r(combine) contains results of tests to combine categories. Rows represent all contrasts among categories; columns indicate
the categories contrasted, the chi-squared value, the degrees of freedom, and the p-value.

r(iia) contains results of the Hausman test of IIA assumption. Each row is one test. Columns indicate the omitted category of
a given test, the chi-squared value, the degrees of freedom, and the p-value.

r(wald) contains results of the Wald test that all coefficients of an independent variable equal zero.

r(Irtest) contains results of the LR test that all coefficients associated with an independent variable equal zero.

Methods and formulas

This section provides brief descriptions of each of the tests. For further details, check the Stata manual for mlogit, test,
and hausman. Full details along with citations to original sources are found in Long (1997). To make our discussion of the tests
clear, we begin with a brief summary of the multinomial logit model (
MNLM).

The multinomial logit model

For simplicity, we consider a model with three outcomes and three independent variables. The MNLM can be thought of as
simultaneously estimating binary logits among all pairs of the outcome categories. For example, with categories
A, B, and C
and independent variables æɪ, a⅛ and a⅛, the MNLM is in effect simultaneously estimating three binary models:

In


'P(Ax)'

ʃɔ(ɑlʃ).


In


'p(βxγ
,p⅛),


In


'P{Ax)'
P(B
x)


βθ,AC + βl,ACxl + β2,ACx2 + βs,ACx3

βθ,BC + βl,BCxl + β2,Bcχ2 + β3,Bcχ3

βθ,AB + βl,ABxl + β2,ABx2 + ∕¾,ABa


Note that three more equations could be listed, comparing C to A, C to B, and B to A. Given that the sum of the probabilities
for the outcomes must equal one, there is an implicit constraint on the three logits. Specifically,

In


'P{Ax)

P(⅛


-In


~P(Bx)~

,P⅛),


= In


'P{Ax)

Р(В|ж)


in terms of the parameters

βk,AC - βk,BC — βk,AB


mlogit estimates and prints only the nonredundant coefficients, which are determined by the basecategory() option or,
by default, the category with the largest number of cases. The commands mcross (Rogers 1995) and Iistcoef (Long and
Freese 2000) list coefficients for all comparisons of outcome categories.

Testing the effect of an independent variable

With J dependent categories, there are J — 1 nonredundant coefficients associated with each independent variable x^. The
hypothesis that
Xj. does not affect the dependent variable can be written as

Bals ∙ A,lBase — ’ ’ ’ — A,JBase — θ

where Base is the base category used in the comparison. Since ∕¾ιBaseBase is necessarily zero, the hypothesis imposes constraints
on J — 1 parameters. This hypothesis can be tested with either a Wald or a
LR test.

A LR test

First, estimate the full model Mp that contains all of the variables, with the resulting LR statistic LRF. Second, estimate
the restricted model
Mp formed by excluding variable x>s, with the resulting LR statistic LRR. This model has J — 1 fewer
parameters. Finally, compute the difference LRr
vsf = LRp — LRr which is distributed as chi-squared with J — 1 degrees of
freedom if the hypothesis that
x⅛ does not affect the outcome is true. mlogtest, Ir computes this test for each of the K
independent variables by making repeated calls to Stata’s Irtest. Note that this requires estimating K additional multinomial
logit models.



More intriguing information

1. The name is absent
2. Foreign Direct Investment and Unequal Regional Economic Growth in China
3. The name is absent
4. IMPROVING THE UNIVERSITY'S PERFORMANCE IN PUBLIC POLICY EDUCATION
5. Policy Formulation, Implementation and Feedback in EU Merger Control
6. The name is absent
7. Optimal Private and Public Harvesting under Spatial and Temporal Interdependence
8. Ongoing Emergence: A Core Concept in Epigenetic Robotics
9. Measuring Semantic Similarity by Latent Relational Analysis
10. Secondary school teachers’ attitudes towards and beliefs about ability grouping
11. The Values and Character Dispositions of 14-16 Year Olds in the Hodge Hill Constituency
12. Firm Creation, Firm Evolution and Clusters in Chile’s Dynamic Wine Sector: Evidence from the Colchagua and Casablanca Regions
13. Exchange Rate Uncertainty and Trade Growth - A Comparison of Linear and Nonlinear (Forecasting) Models
14. Consciousness, cognition, and the hierarchy of context: extending the global neuronal workspace model
15. NATURAL RESOURCE SUPPLY CONSTRAINTS AND REGIONAL ECONOMIC ANALYSIS: A COMPUTABLE GENERAL EQUILIBRIUM APPROACH
16. Short report "About a rare cause of primary hyperparathyroidism"
17. CREDIT SCORING, LOAN PRICING, AND FARM BUSINESS PERFORMANCE
18. Poverty transition through targeted programme: the case of Bangladesh Poultry Model
19. The Impact of EU Accession in Romania: An Analysis of Regional Development Policy Effects by a Multiregional I-O Model
20. Impact of Ethanol Production on U.S. and Regional Gasoline Prices and On the Profitability of U.S. Oil Refinery Industry