nlmeVPC: Visual Model Diagnosis for the Nonlinear Mixed Effect Model

Eun Hwa Kang, Myungji Ko, Eun Kyung Lee

Research output: Contribution to journalArticlepeer-review


A nonlinear mixed effects model is useful when the data are repeatedly measured within the same unit or correlated between units. Such models are widely used in medicine, disease mechanics, pharmacology, ecology, social science, psychology, etc. After fitting the nonlinear mixed effect model, model diagnostics are essential for verifying that the results are reliable. The visual predictive check (VPC) has recently been highlighted as a visual diagnostic tool for pharmacometric models. This method can also be applied to general nonlinear mixed effects models. However, functions for VPCs in existing R packages are specialized for pharmacometric model diagnosis, and are not suitable for general nonlinear mixed effect models. In this paper, we propose nlmeVPC, an R package for the visual diagnosis of various nonlinear mixed effect models. The nlmeVPC package allows for more diverse model diagnostics, including visual diagnostic tools that extend the concept of VPCs along with the capabilities of existing R packages.

Original languageEnglish
Pages (from-to)83-100
Number of pages18
JournalR Journal
Issue number1
StatePublished - Mar 2023

Bibliographical note

Publisher Copyright:
© (2023). All Rights Reserved.


Dive into the research topics of 'nlmeVPC: Visual Model Diagnosis for the Nonlinear Mixed Effect Model'. Together they form a unique fingerprint.

Cite this