IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v056i06.html
   My bibliography  Save this article

MissMech: An R Package for Testing Homoscedasticity, Multivariate Normality, and Missing Completely at Random (MCAR)

Author

Listed:
  • Jamshidian, Mortaza
  • Jalal, Siavash
  • Jansen, Camden

Abstract

Researchers are often faced with analyzing data sets that are not complete. To properly analyze such data sets requires the knowledge of the missing data mechanism. If data are missing completely at random (MCAR), then many missing data analysis techniques lead to valid inference. Thus, tests of MCAR are desirable. The package MissMech implements two tests developed by Jamshidian and Jalal (2010) for this purpose. These tests can be run using a function called TestMCARNormality. One of the tests is valid if data are normally distributed, and another test does not require any distributional assumptions for the data. In addition to testing MCAR, in some special cases, the function TestMCARNormality is also able to test whether data have a multivariate normal distribution. As a bonus, the functions in MissMech can also be used for the following additional tasks: (i) test of homoscedasticity for several groups when data are completely observed, (ii) perform the k-sample test of Anderson-Darling to determine whether k groups of univariate data come from the same distribution, (iii) impute incomplete data sets using two methods, one where normality is assumed and one where no specific distributional assumptions are made, (iv) obtain normal-theory maximum likelihood estimates for mean and covariance matrix when data are incomplete, along with their standard errors, and finally (v) perform the Neyman’s test of uniformity. All of these features are explained in the paper, including examples.

Suggested Citation

  • Jamshidian, Mortaza & Jalal, Siavash & Jansen, Camden, 2014. "MissMech: An R Package for Testing Homoscedasticity, Multivariate Normality, and Missing Completely at Random (MCAR)," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 56(i06).
  • Handle: RePEc:jss:jstsof:v:056:i06
    DOI: http://hdl.handle.net/10.18637/jss.v056.i06
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v056i06/v56i06.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v056i06/MissMech_1.0.1.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v056i06/v56i06.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v056.i06?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Mortaza Jamshidian & Siavash Jalal, 2010. "Tests of Homoscedasticity, Normality, and Missing Completely at Random for Incomplete Multivariate Data," Psychometrika, Springer;The Psychometric Society, vol. 75(4), pages 649-674, December.
    2. Honaker, James & King, Gary & Blackwell, Matthew, 2011. "Amelia II: A Program for Missing Data," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 45(i07).
    3. Srivastava, Muni S. & Dolatabadi, Mohammad, 2009. "Multiple imputation and other resampling schemes for imputing missing observations," Journal of Multivariate Analysis, Elsevier, vol. 100(9), pages 1919-1937, October.
    4. Mortaza Jamshidian & Peter M. Bentler, 1999. "ML Estimation of Mean and Covariance Structures with Missing Data Using Complete Data Routines," Journal of Educational and Behavioral Statistics, , vol. 24(1), pages 21-24, March.
    5. Kevin Kim & Peter Bentler, 2002. "Tests of homogeneity of means and covariance matrices for multivariate incomplete data," Psychometrika, Springer;The Psychometric Society, vol. 67(4), pages 609-623, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Raquel Lourenço Carvalhal Monteiro & Valdecy Pereira & Helder Gomes Costa, 2020. "Dependence Analysis Between Childhood Social Indicators and Human Development Index Through Canonical Correlation Analysis," Child Indicators Research, Springer;The International Society of Child Indicators (ISCI), vol. 13(1), pages 337-362, February.
    2. Frahm, Gabriel & Nordhausen, Klaus & Oja, Hannu, 2020. "M-estimation with incomplete and dependent multivariate data," Journal of Multivariate Analysis, Elsevier, vol. 176(C).
    3. Forthmann, Boris & Jendryczko, David & Scharfen, Jana & Kleinkorres, Ruben & Benedek, Mathias & Holling, Heinz, 2019. "Creative ideation, broad retrieval ability, and processing speed: A confirmatory study of nested cognitive abilities," Intelligence, Elsevier, vol. 75(C), pages 59-72.
    4. Van Fossen, Jenna A. & Ropp, John W. & Darcy, Kathleen & Hamm, Joseph A., 2022. "Comfort with and willingness to participate in COVID-19 contact tracing: The role of risk perceptions, trust, and political ideology," Social Science & Medicine, Elsevier, vol. 306(C).
    5. Chassan, Malika & Concordet, Didier, 2023. "How to test the missing data mechanism in a hidden Markov model," Computational Statistics & Data Analysis, Elsevier, vol. 182(C).
    6. Ke-Hai Yuan & Mortaza Jamshidian & Yutaka Kano, 2018. "Missing Data Mechanisms and Homogeneity of Means and Variances–Covariances," Psychometrika, Springer;The Psychometric Society, vol. 83(2), pages 425-442, June.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Chassan, Malika & Concordet, Didier, 2023. "How to test the missing data mechanism in a hidden Markov model," Computational Statistics & Data Analysis, Elsevier, vol. 182(C).
    2. Jun Li & Yao Yu, 2015. "A Nonparametric Test of Missing Completely at Random for Incomplete Multivariate Data," Psychometrika, Springer;The Psychometric Society, vol. 80(3), pages 707-726, September.
    3. Ke-Hai Yuan & Mortaza Jamshidian & Yutaka Kano, 2018. "Missing Data Mechanisms and Homogeneity of Means and Variances–Covariances," Psychometrika, Springer;The Psychometric Society, vol. 83(2), pages 425-442, June.
    4. Hairu Wang & Zhiping Lu & Yukun Liu, 2023. "Score test for missing at random or not under logistic missingness models," Biometrics, The International Biometric Society, vol. 79(2), pages 1268-1279, June.
    5. Mortaza Jamshidian & Siavash Jalal, 2010. "Tests of Homoscedasticity, Normality, and Missing Completely at Random for Incomplete Multivariate Data," Psychometrika, Springer;The Psychometric Society, vol. 75(4), pages 649-674, December.
    6. Robert A. Jackson & Matthew Pietryka, 2022. "The influence of becoming a parent on political participation in the United States," Social Science Quarterly, Southwestern Social Science Association, vol. 103(3), pages 565-580, May.
    7. Kruyt, Bert & Lehning, Michael & Kahl, Annelen, 2017. "Potential contributions of wind power to a stable and highly renewable Swiss power supply," Applied Energy, Elsevier, vol. 192(C), pages 1-11.
    8. Cohen, Joseph N, 2010. "Neoliberalism’s relationship with economic growth in the developing world: Was it the power of the market or the resolution of financial crisis?," MPRA Paper 24527, University Library of Munich, Germany.
    9. Nobumichi Shutoh & Takahiro Nishiyama & Masashi Hyodo, 2017. "Bartlett correction to the likelihood ratio test for MCAR with two-step monotone sample," Statistica Neerlandica, Netherlands Society for Statistics and Operations Research, vol. 71(3), pages 184-199, August.
    10. Sik-Yum Lee, 2006. "Bayesian Analysis of Nonlinear Structural Equation Models with Nonignorable Missing Data," Psychometrika, Springer;The Psychometric Society, vol. 71(3), pages 541-564, September.
    11. Matei Demetrescu & Christoph Hanck & Robinson Kruse‐Becher, 2022. "Robust inference under time‐varying volatility: A real‐time evaluation of professional forecasters," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 37(5), pages 1010-1030, August.
    12. Valente, Thomas W. & Pitts, Stephanie & Wipfli, Heather & Vega Yon, George G., 2019. "Network influences on policy implementation: Evidence from a global health treaty," Social Science & Medicine, Elsevier, vol. 222(C), pages 188-197.
    13. Daisuke Kato & Ichiro Kawachi & Junko Saito & Naoki Kondo, 2021. "Complex Multimorbidity and Incidence of Long-Term Care Needs in Japan: A Prospective Cohort Study," IJERPH, MDPI, vol. 18(19), pages 1-11, October.
    14. Hassan, Mahmoud & Oueslati, Walid & Rousselière, Damien, 2020. "Environmental taxes, reforms and economic growth: an empirical analysis of panel data," Economic Systems, Elsevier, vol. 44(3).
    15. Segaro, Ethiopia L. & Larimo, Jorma & Jones, Marian V., 2014. "Internationalisation of family small and medium sized enterprises: The role of stewardship orientation, family commitment culture and top management team," International Business Review, Elsevier, vol. 23(2), pages 381-395.
    16. Wurriehausen, Nadine & Ihle, Rico & Lakner, Sebastian, 2011. "The Integration of the Conventional and Organic Wheat Market," 2011 International Congress, August 30-September 2, 2011, Zurich, Switzerland 115784, European Association of Agricultural Economists.
    17. Shige Song, 2013. "Prenatal malnutrition and subsequent foetal loss risk: Evidence from the 1959-1961 Chinese famine," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 29(26), pages 707-728.
    18. Dahlum, Sirianne & Knutsen, Carl Henrik, 2017. "Do Democracies Provide Better Education? Revisiting the Democracy–Human Capital Link," World Development, Elsevier, vol. 94(C), pages 186-199.
    19. Badi H. Baltagi & Georges Bresson & Anoop Chaturvedi & Guy Lacroix, 2022. "Robust Dynamic Space-Time Panel Data Models Using ε-contamination: An Application to Crop Yields and Climate Change," Center for Policy Research Working Papers 254, Center for Policy Research, Maxwell School, Syracuse University.
    20. Hannes Weber, 2018. "Higher acceptance rates of asylum seekers lead to slightly more asylum applications in the future," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 39(47), pages 1291-1304.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:056:i06. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.