Jann, Ben (2008). Multinomial goodness-of-fit: large sample tests with survey design correction and exact tests for small samples. Stata journal, 8(2), pp. 147-169. Stata Press 10.1177/1536867X0800800201
Text
st0142.pdf - Published Version Restricted to registered users only Available under License Publisher holds Copyright. Download (261kB) |
I introduce the new mgof command to compute distributional tests for discrete (categorical, multinomial) variables. The command supports largesample tests for complex survey designs and exact tests for small samples as well as classic large-sample x2-approximation tests based on Pearson’s X2, the likelihood ratio, or any other statistic from the power-divergence family (Cressie and Read, 1984, Journal of the Royal Statistical Society, Series B (Methodological) 46: 440–464). The complex survey correction is based on the approach by Rao and Scott (1981, Journal of the American Statistical Association 76: 221–230) and parallels the survey design correction used for independence tests in svy: tabulate. mgof computes the exact tests by using Monte Carlo methods or exhaustive enumeration. mgof also provides an exact one-sample Kolmogorov–Smirnov test for discrete data.
Item Type: |
Journal Article (Original Article) |
---|---|
Division/Institute: |
03 Faculty of Business, Economics and Social Sciences > Social Sciences > Institute of Sociology |
UniBE Contributor: |
Jann, Ben |
Subjects: |
300 Social sciences, sociology & anthropology |
ISSN: |
1536-867X |
Publisher: |
Stata Press |
Language: |
English |
Submitter: |
Ben Jann |
Date Deposited: |
19 Apr 2016 16:16 |
Last Modified: |
02 Apr 2024 21:02 |
Publisher DOI: |
10.1177/1536867X0800800201 |
BORIS DOI: |
10.7892/boris.67673 |
URI: |
https://boris.unibe.ch/id/eprint/67673 |