IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2607.15382.html

mnorm: An R Package for Calculation and Differentiation of Conditional Multivariate Normal Densities and Probabilities

Author

Listed:
  • Sofiia Dolgikh
  • Bogdan Potanin

Abstract

We introduce the mnorm package, which allows one to calculate conditional multivariate normal densities and probabilities and to differentiate them with respect to various parameters including covariances and integration limits. The package also supports parallel (multi-core) computing, handles non-normal marginals via the Gaussian copula, and provides fast routines for the calculation of bivariate and trivariate normal probabilities. The package is of special interest for the implementation of the maximum-likelihood estimators in econometric models.

Suggested Citation

  • Sofiia Dolgikh & Bogdan Potanin, 2026. "mnorm: An R Package for Calculation and Differentiation of Conditional Multivariate Normal Densities and Probabilities," Papers 2607.15382, arXiv.org.
  • Handle: RePEc:arx:papers:2607.15382
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2607.15382
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Yan, Jun, 2007. "Enjoy the Joy of Copulas: With a Package copula," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 21(i04).
    2. Eddelbuettel, Dirk & Sanderson, Conrad, 2014. "RcppArmadillo: Accelerating R with high-performance C++ linear algebra," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 1054-1063.
    3. Enkelejd Hashorva & Jürg Hüsler, 2003. "On multivariate Gaussian tails," Annals of the Institute of Statistical Mathematics, Springer;The Institute of Statistical Mathematics, vol. 55(3), pages 507-522, September.
    4. Sofiia Dolgikh & Bogdan Potanin, 2022. "Estimating the effect of higher education on abortion," Applied Econometrics, Russian Academy of National Economy and Public Administration (RANEPA), vol. 68, pages 117-139.
    5. Juri Trifonov & Potanin Trifonov, 2022. "Semi-Nonparametric Generalized Autoregressive Conditional Heteroscedasticity Model with Application to Bitcoin Volatility Estimation," HSE Economic Journal, National Research University Higher School of Economics, vol. 26(4), pages 623-646.
    6. Eddelbuettel, Dirk & Francois, Romain, 2011. "Rcpp: Seamless R and C++ Integration," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 40(i08).
    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. Wilson J. Wright & Peter N. Neitlich & Alyssa E. Shiel & Mevin B. Hooten, 2022. "Mechanistic spatial models for heavy metal pollution," Environmetrics, John Wiley & Sons, Ltd., vol. 33(8), December.
    2. François Bachoc & Marc G Genton & Klaus Nordhausen & Anne Ruiz-Gazen & Joni Virta, 2020. "Spatial blind source separation," Biometrika, Biometrika Trust, vol. 107(3), pages 627-646.
    3. James Joseph Balamuta & Steven Andrew Culpepper, 2022. "Exploratory Restricted Latent Class Models with Monotonicity Requirements under PÒLYA–GAMMA Data Augmentation," Psychometrika, Springer;The Psychometric Society, vol. 87(3), pages 903-945, September.
    4. Athanasios C. Micheas & Jiaxun Chen, 2018. "sppmix: Poisson point process modeling using normal mixture models," Computational Statistics, Springer, vol. 33(4), pages 1767-1798, December.
    5. Fei Shang & Xiaolei Wang & Tomasz Wo'zniak, 2026. "A Design Concept of Forecasting Software for Normalized Vector Autoregressions with Fat Tails and Stochastic Volatility," Papers 2608.28087, arXiv.org.
    6. Helmut Lütkepohl & Fei Shang & Luis Uzeda & Tomasz Woźniak, 2024. "Partial Identification of Heteroskedastic Structural VARs: Theory and Bayesian Inference," Discussion Papers of DIW Berlin 2081, DIW Berlin, German Institute for Economic Research.
    7. Battauz, Michela & Vidoni, Paolo, 2022. "A likelihood-based boosting algorithm for factor analysis models with binary data," Computational Statistics & Data Analysis, Elsevier, vol. 168(C).
    8. Francis DiTraglia, 2011. "Using Invalid Instruments on Purpose: Focused Moment Selection and Averaging for GMM, Second Version," PIER Working Paper Archive 15-027, Penn Institute for Economic Research, Department of Economics, University of Pennsylvania, revised 10 Aug 2015.
    9. Jos'e Vin'icius de Miranda Cardoso & Jiaxi Ying & Daniel Perez Palomar, 2020. "Algorithms for Learning Graphs in Financial Markets," Papers 2012.15410, arXiv.org.
    10. Batarce, Marco, 2024. "Estimation of discrete choice models with error in variables: An application to revealed preference data with aggregate service level variables," Transportation Research Part B: Methodological, Elsevier, vol. 185(C).
    11. Shen, Yunyi & Olson, Erik R. & Van Deelen, Timothy R., 2021. "Spatially explicit modeling of community occupancy using Markov Random Field models with imperfect observation: Mesocarnivores in Apostle Islands National Lakeshore," Ecological Modelling, Elsevier, vol. 459(C).
    12. Xiaotian Zhu & David R. Hunter, 2019. "Clustering via finite nonparametric ICA mixture models," 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. 13(1), pages 65-87, March.
    13. Matthew Pietrosanu & Jueyu Gao & Linglong Kong & Bei Jiang & Di Niu, 2021. "Advanced algorithms for penalized quantile and composite quantile regression," Computational Statistics, Springer, vol. 36(1), pages 333-346, March.
    14. Lee, Xing Ju & Hainy, Markus & McKeone, James P. & Drovandi, Christopher C. & Pettitt, Anthony N., 2018. "ABC model selection for spatial extremes models applied to South Australian maximum temperature data," Computational Statistics & Data Analysis, Elsevier, vol. 128(C), pages 128-144.
    15. Gruber, Luis & Kastner, Gregor, 2025. "Forecasting macroeconomic data with Bayesian VARs: Sparse or dense? It depends!," International Journal of Forecasting, Elsevier, vol. 41(4), pages 1589-1619.
    16. DiTraglia, Francis J., 2016. "Using invalid instruments on purpose: Focused moment selection and averaging for GMM," Journal of Econometrics, Elsevier, vol. 195(2), pages 187-208.
    17. Pezoa, Raúl & Basso, Franco & Batarce, Marco & de Grange, Louis & De La Puerta, Rodrigo & Feres, Fernando & Varas, Mauricio, 2026. "Mode choice between metro, bus, and ride-hailing: Revealed preference evidence with crowding effects," Transport Policy, Elsevier, vol. 179(C).
    18. Sbrana, Giacomo & Pelagatti, Matteo, 2024. "Optimal hierarchical EWMA forecasting," International Journal of Forecasting, Elsevier, vol. 40(2), pages 616-625.
    19. Wenbo Wu & Jeremy M. G. Taylor & Andrew F. Brouwer & Lingfeng Luo & Jian Kang & Hui Jiang & Kevin He, 2022. "Scalable proximal methods for cause-specific hazard modeling with time-varying coefficients," Lifetime Data Analysis: An International Journal Devoted to Statistical Methods and Applications for Time-to-Event Data, Springer, vol. 28(2), pages 194-218, April.
    20. Dirk Eddelbuettel & James Joseph Balamuta, 2018. "Extending R with C++: A Brief Introduction to Rcpp," The American Statistician, Taylor & Francis Journals, vol. 72(1), pages 28-36, January.

    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:arx:papers:2607.15382. 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: arXiv administrators (email available below). General contact details of provider: https://arxiv.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.