IDEAS home Printed from https://ideas.repec.org/p/pra/mprapa/1782.html
   My bibliography  Save this paper

On generating correlated random variables with a given valid or invalid Correlation matrix

Author

Abstract

In simulation we often have to generate correlated random variables by giving a reference intercorrelation matrix, R or Q. The matrix R is positive definite and a valid correlation matrix. The matrix Q may appear to be a correlation matrix but it may be invalid (negative definite). With R(m,m) it is easy to generate X(n,m), but Q(m,m) cannot give real X(n,m). So, Q has to be converted into the near-most R matrix by some procedure. NJ Higham (2002) provides a method to generate R from Q that satisfies the minimum Frobenius norm condition for (Q-R). Ali Al-Subaihi (2004) gives another method, but his method does not produce an optimal R from Q. In this paper we propose an algorithm to produce an optimal R from Q by minimizing the maximum norm of (Q-R). A Computer program (in FORTRAN) also has been provided. Having obtained R from Q, the paper gives an algorithm to obtain X(n,m) from R(m,m). The proposed algorithm is based on factorization of R, yet it is different from the Kaiser Dichman (1962) procedure. A computer program also has been given.

Suggested Citation

  • Mishra, SK, 2004. "On generating correlated random variables with a given valid or invalid Correlation matrix," MPRA Paper 1782, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:1782
    as

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/1782/1/MPRA_paper_1782.pdf
    File Function: original version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. C. Vale & Vincent Maurelli, 1983. "Simulating multivariate nonnormal distributions," Psychometrika, Springer;The Psychometric Society, vol. 48(3), pages 465-471, September.
    2. Pandu Tadikamalla, 1980. "On simulating non-normal distributions," Psychometrika, Springer;The Psychometric Society, vol. 45(2), pages 273-279, June.
    3. Al-Subaihi, Ali A., 2004. "Simulating Correlated Multivariate Pseudorandom Numbers," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 9(i04).
    4. Allen Fleishman, 1978. "A method for simulating non-normal distributions," Psychometrika, Springer;The Psychometric Society, vol. 43(4), pages 521-532, December.
    5. Todd Headrick & Shlomo Sawilowsky, 1999. "Simulating correlated multivariate nonnormal distributions: Extending the fleishman power method," Psychometrika, Springer;The Psychometric Society, vol. 64(1), pages 25-35, March.
    6. Montserrat Ferré, 2004. "The Johansen Test and the Transitivity Property," Economics Bulletin, AccessEcon, vol. 3(27), pages 1-7.
    Full references (including those not matched with items on IDEAS)

    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. Max Auerswald & Morten Moshagen, 2015. "Generating Correlated, Non-normally Distributed Data Using a Non-linear Structural Model," Psychometrika, Springer;The Psychometric Society, vol. 80(4), pages 920-937, December.
    2. Al-Subaihi, Ali A., 2004. "Simulating Correlated Multivariate Pseudorandom Numbers," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 9(i04).
    3. Gary van Vuuren & Riaan de Jongh, 2017. "A comparison of risk aggregation estimates using copulas and Fleishman distributions," Applied Economics, Taylor & Francis Journals, vol. 49(17), pages 1715-1731, April.
    4. Ke-Hai Yuan & Peter Bentler, 2002. "On robusiness of the normal-theory based asymptotic distributions of three reliability coefficient estimates," Psychometrika, Springer;The Psychometric Society, vol. 67(2), pages 251-259, June.
    5. repec:jss:jstsof:09:i04 is not listed on IDEAS
    6. Pesaran, M. Hashem & Yamagata, Takashi, 2012. "Testing CAPM with a Large Number of Assets," IZA Discussion Papers 6469, Institute of Labor Economics (IZA).
    7. Mohan D. Pant & Todd C. Headrick, 2017. "Simulating Uniform- and Triangular- Based Double Power Method Distributions," Journal of Statistical and Econometric Methods, SCIENPRESS Ltd, vol. 6(1), pages 1-1.
    8. Nagahara, Yuichi, 2004. "A method of simulating multivariate nonnormal distributions by the Pearson distribution system and estimation," Computational Statistics & Data Analysis, Elsevier, vol. 47(1), pages 1-29, August.
    9. Njål Foldnes & Steffen Grønneberg, 2015. "How General is the Vale–Maurelli Simulation Approach?," Psychometrika, Springer;The Psychometric Society, vol. 80(4), pages 1066-1083, December.
    10. Pesaran, M. H. & Yamagata, T., 2012. "Testing CAPM with a Large Number of Assets (Updated 28th March 2012)," Cambridge Working Papers in Economics 1210, Faculty of Economics, University of Cambridge.
    11. Headrick, Todd C. & Sheng, Yanyan & Hodis, Flaviu-Adrian, 2007. "Numerical Computing and Graphics for the Power Method Transformation Using Mathematica," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 19(i03).
    12. Mahul, Olivier, 2002. "Hedging Price Risk in the Presence of Crop Yield and Revenue Insurance," 2002 International Congress, August 28-31, 2002, Zaragoza, Spain 24881, European Association of Agricultural Economists.
    13. Shaobo Jin & Fan Yang-Wallentin, 2017. "Asymptotic Robustness Study of the Polychoric Correlation Estimation," Psychometrika, Springer;The Psychometric Society, vol. 82(1), pages 67-85, March.
    14. Emanuela Raffinetti & Pier Alda Ferrari, 2021. "A dependence measure flow tree through Monte Carlo simulations," Quality & Quantity: International Journal of Methodology, Springer, vol. 55(2), pages 467-496, April.
    15. Rainer Schlittgen & Marko Sarstedt & Christian M. Ringle, 2020. "Data generation for composite-based structural equation modeling methods," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 14(4), pages 747-757, December.
    16. M. Hashem Pesaran & Takashi Yamagata, 2017. "Testing for Alpha in Linear Factor Pricing Models with a Large Number of Securities," CESifo Working Paper Series 6432, CESifo.
    17. Headrick, Todd C., 2002. "Fast fifth-order polynomial transforms for generating univariate and multivariate nonnormal distributions," Computational Statistics & Data Analysis, Elsevier, vol. 40(4), pages 685-711, October.
    18. repec:jss:jstsof:19:i03 is not listed on IDEAS
    19. Hakan Demirtas & Robab Ahmadian & Sema Atis & Fatma Ezgi Can & Ilker Ercan, 2016. "A nonnormal look at polychoric correlations: modeling the change in correlations before and after discretization," Computational Statistics, Springer, vol. 31(4), pages 1385-1401, December.
    20. Yen Lee & David Kaplan, 2018. "Generating Multivariate Ordinal Data via Entropy Principles," Psychometrika, Springer;The Psychometric Society, vol. 83(1), pages 156-181, March.
    21. Beasley, T. Mark & Zumbo, Bruno D., 2003. "Comparison of aligned Friedman rank and parametric methods for testing interactions in split-plot designs," Computational Statistics & Data Analysis, Elsevier, vol. 42(4), pages 569-593, April.
    22. Theo Dijkstra & Karin Schermelleh-Engel, 2014. "Consistent Partial Least Squares for Nonlinear Structural Equation Models," Psychometrika, Springer;The Psychometric Society, vol. 79(4), pages 585-604, October.

    More about this item

    Keywords

    Positive semidefinite; negative definite; maximum norm; frobenius norm; correlated random variables; intercorrelation matrix; correlation matrix; Monte Carlo experiment; multicollinearity; cointegration; computer program; multivariate analysis; simulation; generation of collinear sample data;
    All these keywords.

    JEL classification:

    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
    • C65 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Miscellaneous Mathematical Tools
    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software
    • C82 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Methodology for Collecting, Estimating, and Organizing Macroeconomic Data; Data Access

    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:pra:mprapa:1782. 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: Joachim Winter (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.html .

    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.