Título:
|
Automatic regrouping of strata in the chi-square test
|
Autores:
|
Pérez-Salamero González, Juan Manuel ;
Regúlez-Castillo, Marta ;
Ventura-Marco, Manuel ;
Vidal-Meliá, Carlos
|
Tipo de documento:
|
texto impreso
|
Editorial:
|
Facultad de Ciencias Económicas y Empresariales. Instituto Complutense de Análisis Económico (ICAE), 2017
|
Dimensiones:
|
application/pdf
|
Nota general:
|
cc_by_nc_sa
info:eu-repo/semantics/openAccess
|
Idiomas:
|
|
Palabras clave:
|
Estado = Publicado
,
Materia = Ciencias Sociales: Economía: Econometría
,
Tipo = Documento de trabajo o Informe técnico
|
Resumen:
|
Pearson´s chi-square test is widely employed in social and health science to analyze categorical data and contingency tables and to assess sample representativeness. For the test to be valid the sample size must be big enough to provide a minimum number of expected elements per category. If the researcher chooses to regroup the strata in order to solve the failure on the minimum size requirement, the existence of automatic re-grouping procedures in statistical software would be very useful, especially when tests are applied sequentially. After comprehensively reviewing the software that can carry out this test, we find that, with a few exceptions, there is no automatic regrouping of the strata to meet this requirement, although it would be very useful if this were available. This paper develops some functions for regrouping strata automatically no matter where they are located, thus enabling the test to be performed within an iterative procedure. The functions are written in Excel VBA (Visual Basic for Applications) and in Mathematica, so it would not be hard to implement them in other languages. The utility of these functions is shown by using three different datasets. Finally, the iterative use of the functions is applied to the Continuous Sample of Working Lives, a dataset that has been used in a considerable number of studies, especially on labor economics and the Spanish public pension system.
|
En línea:
|
https://eprints.ucm.es/45317/1/1724.pdf
|