{
  "_id": "6a27c5bc24555f66ed53f41d",
  "Package": "outlierMBC",
  "Title": "Sequential Outlier Identification for Model-Based Clustering",
  "Version": "0.0.1.0002",
  "Authors@R": "c(\nperson(\"Ultán P.\", \"Doherty\", , \"dohertyu@tcd.ie\", role = c(\"aut\", \"cre\",\n\"cph\"), comment = c(ORCID = \"0000-0003-1791-395X\")),\nperson(\"Paul D.\", \"McNicholas\", , \"paulmc@mcmaster.ca\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-2482-523X\")),\nperson(\"Arthur\", \"White\", , \"arwhite@tcd.ie\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-7268-5163\")))",
  "Description": "Sequential outlier identification for Gaussian mixture\nmodels using the distribution of Mahalanobis distances. The\noptimal number of outliers is chosen based on the dissimilarity\nbetween the theoretical and observed distributions of the\nscaled squared sample Mahalanobis distances. Also includes an\nextension for Gaussian linear cluster-weighted models using the\ndistribution of studentized residuals. Doherty, McNicholas, and\nWhite (2025) <doi:10.48550/arXiv.2505.11668>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libgmp3-dev libgsl0-dev libicu-dev",
  "Repository": "https://ultanpdoherty.r-universe.dev",
  "Date/Publication": "2025-11-11 15:59:09 UTC",
  "RemoteUrl": "https://github.com/ultanpdoherty/outliermbc",
  "RemoteRef": "HEAD",
  "RemoteSha": "7f6e069ac386c1df188280417732485be733cf66",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 07:42:07 UTC",
    "User": "root"
  },
  "Author": "Ultán P. Doherty [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-1791-395X>),\nPaul D. McNicholas [aut] (ORCID:\n<https://orcid.org/0000-0002-2482-523X>),\nArthur White [aut] (ORCID: <https://orcid.org/0000-0002-7268-5163>)",
  "Maintainer": "Ultán P. Doherty <dohertyu@tcd.ie>",
  "MD5sum": "88861da7b4bb6f14f124d3b416c3176e",
  "_user": "ultanpdoherty",
  "_type": "src",
  "_file": "outlierMBC_0.0.1.0002.tar.gz",
  "_fileid": "52d02e57b6dfbe5b156dfba63463469336f0040cb0407741df215d0cbdc72d54",
  "_filesize": 444163,
  "_sha256": "52d02e57b6dfbe5b156dfba63463469336f0040cb0407741df215d0cbdc72d54",
  "_created": "2026-06-09T07:42:07.000Z",
  "_published": "2026-06-09T07:50:20.291Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80272538732,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501496563"
    },
    {
      "job": 80272538738,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501503984"
    },
    {
      "job": 80272538748,
      "time": 239,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501580129"
    },
    {
      "job": 80272538805,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501567236"
    },
    {
      "job": 80272057702,
      "time": 184,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501443879"
    },
    {
      "job": 80272538883,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501486918"
    },
    {
      "job": 80272538746,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501478048"
    },
    {
      "job": 80272538725,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501476391"
    },
    {
      "job": 80272538753,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501477421"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ultanpdoherty/actions/runs/27191325255",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ultanpdoherty/outliermbc",
  "_commit": {
    "id": "7f6e069ac386c1df188280417732485be733cf66",
    "author": "UltanPDoherty <ultanpdoherty@gmail.com>",
    "committer": "UltanPDoherty <ultanpdoherty@gmail.com>",
    "message": "Change sigma_hat_g\n",
    "time": 1762876749
  },
  "_maintainer": {
    "name": "Ultán P. Doherty",
    "email": "dohertyu@tcd.ie",
    "login": "ultanpdoherty",
    "description": "",
    "uuid": 72346121,
    "orcid": "0000-0003-1791-395X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "ClusterR",
      "role": "Imports"
    },
    {
      "package": "dbscan",
      "role": "Imports"
    },
    {
      "package": "flexCWM",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "mixture",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "spatstat.univar",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "ultanpdoherty",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 3
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-46",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ultanpdoherty",
      "count": 542,
      "uuid": 72346121
    }
  ],
  "_userbio": {
    "uuid": 72346121,
    "type": "user",
    "name": "UltanPDoherty"
  },
  "_downloads": {
    "count": 529,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/outlierMBC"
  },
  "_devurl": "https://github.com/ultanpdoherty/outliermbc",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/outlierMBC.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ultanpdoherty/outliermbc",
  "_realowner": "ultanpdoherty",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2025-05-28"
    }
  ],
  "_exports": [
    "backtrack",
    "backtrack_gmm",
    "backtrack_lcwm",
    "find_gross",
    "ombc_gmm",
    "ombc_lcwm",
    "plot_backtrack",
    "plot_comparison",
    "plot_comparison_bic",
    "plot_curve",
    "plot_lcwm_dual",
    "plot_selection",
    "simulate_gmm",
    "simulate_lcwm"
  ],
  "_datasets": [
    {
      "name": "gmm_k3n1000o10",
      "title": "Simulated data set consisting of 1000 observations from 3 Gaussian components and 10 outliers.",
      "object": "gmm_k3n1000o10",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "X2",
        "G"
      ],
      "rows": 1010,
      "table": true,
      "tojson": true
    },
    {
      "name": "gmm_k3n2000o20",
      "title": "Simulated data set consisting of 2000 observations from 3 Gaussian components and 20 outliers.",
      "object": "gmm_k3n2000o20",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "X2",
        "G"
      ],
      "rows": 2020,
      "table": true,
      "tojson": true
    },
    {
      "name": "gmm_k3n4000o40",
      "title": "Simulated data set consisting of 4000 observations from 3 Gaussian components and 40 outliers.",
      "object": "gmm_k3n4000o40",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "X2",
        "G"
      ],
      "rows": 4040,
      "table": true,
      "tojson": true
    },
    {
      "name": "lcwm_k3n1000o10",
      "title": "Simulated data set consisting of 1000 observations from 3 Gaussian components and 10 outliers.",
      "object": "lcwm_k3n1000o10",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "Y",
        "G"
      ],
      "rows": 1010,
      "table": true,
      "tojson": true
    },
    {
      "name": "lcwm_k3n2000o20",
      "title": "Simulated data set consisting of 2000 observations from 3 Gaussian components and 20 outliers.",
      "object": "lcwm_k3n2000o20",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "Y",
        "G"
      ],
      "rows": 2020,
      "table": true,
      "tojson": true
    },
    {
      "name": "lcwm_k3n4000o40",
      "title": "Simulated data set consisting of 4000 observations from 3 Gaussian components and 40 outliers.",
      "object": "lcwm_k3n4000o40",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "Y",
        "G"
      ],
      "rows": 4040,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "backtrack",
      "title": "Move backwards from the minimum to a more conservative solution.",
      "topics": [
        "backtrack"
      ]
    },
    {
      "page": "backtrack_gmm",
      "title": "Fit a Gaussian mixture model to the backtrack solution.",
      "topics": [
        "backtrack_gmm"
      ]
    },
    {
      "page": "backtrack_lcwm",
      "title": "Fit a linear cluster-weighted model to the backtrack solution.",
      "topics": [
        "backtrack_lcwm"
      ]
    },
    {
      "page": "distrib_diff_gmm",
      "title": "Compute the dissimilarity for a Gaussian mixture model and identify the lowest density observation.",
      "topics": [
        "distrib_diff_gmm"
      ]
    },
    {
      "page": "distrib_diff_lcwm",
      "title": "Compute the dissimilarity for a linear cluster-weighted model and identify the lowest density observation.",
      "topics": [
        "distrib_diff_lcwm"
      ]
    },
    {
      "page": "distrib_diff_lcwm_g",
      "title": "Compute the dissimilarity for a single component of a Linear CWM.",
      "topics": [
        "distrib_diff_lcwm_g"
      ]
    },
    {
      "page": "distrib_diff_mahalanobis",
      "title": "Compute the dissimilarity for a single multivariate Gaussian distribution.",
      "topics": [
        "distrib_diff_mahalanobis"
      ]
    },
    {
      "page": "distrib_diff_residual",
      "title": "Compute the response dissimilarity for a single component of a Linear CWM.",
      "topics": [
        "distrib_diff_residual"
      ]
    },
    {
      "page": "find_gross",
      "title": "Find gross outliers.",
      "topics": [
        "find_gross"
      ]
    },
    {
      "page": "get_init_z",
      "title": "Obtain an initial clustering as a component assignment matrix.",
      "topics": [
        "get_init_z"
      ]
    },
    {
      "page": "gmm_k3n1000o10",
      "title": "Simulated data set consisting of 1000 observations from 3 Gaussian components and 10 outliers.",
      "topics": [
        "gmm_k3n1000o10"
      ]
    },
    {
      "page": "gmm_k3n2000o20",
      "title": "Simulated data set consisting of 2000 observations from 3 Gaussian components and 20 outliers.",
      "topics": [
        "gmm_k3n2000o20"
      ]
    },
    {
      "page": "gmm_k3n4000o40",
      "title": "Simulated data set consisting of 4000 observations from 3 Gaussian components and 40 outliers.",
      "topics": [
        "gmm_k3n4000o40"
      ]
    },
    {
      "page": "lcwm_k3n1000o10",
      "title": "Simulated data set consisting of 1000 observations from 3 Gaussian components and 10 outliers.",
      "topics": [
        "lcwm_k3n1000o10"
      ]
    },
    {
      "page": "lcwm_k3n2000o20",
      "title": "Simulated data set consisting of 2000 observations from 3 Gaussian components and 20 outliers.",
      "topics": [
        "lcwm_k3n2000o20"
      ]
    },
    {
      "page": "lcwm_k3n4000o40",
      "title": "Simulated data set consisting of 4000 observations from 3 Gaussian components and 40 outliers.",
      "topics": [
        "lcwm_k3n4000o40"
      ]
    },
    {
      "page": "new_outliermbc_gmm",
      "title": "Constructor for '\"outliermbc_gmm\"' S3 class.",
      "topics": [
        "new_outliermbc_gmm"
      ]
    },
    {
      "page": "new_outliermbc_lcwm",
      "title": "Constructor for \"outliermbc_lcwm\" S3 object.",
      "topics": [
        "new_outliermbc_lcwm"
      ]
    },
    {
      "page": "ombc_gmm",
      "title": "Sequentially identify outliers while fitting a Gaussian mixture model.",
      "topics": [
        "ombc_gmm"
      ]
    },
    {
      "page": "ombc_lcwm",
      "title": "Sequentially identify outliers while fitting a linear cluster-weighted model.",
      "topics": [
        "ombc_lcwm"
      ]
    },
    {
      "page": "plot_backtrack",
      "title": "Plot the dissimilarity curve showing the backtrack solution.",
      "topics": [
        "plot_backtrack"
      ]
    },
    {
      "page": "plot_comparison",
      "title": "Plot multiple dissimilarity curves.",
      "topics": [
        "plot_comparison"
      ]
    },
    {
      "page": "plot_comparison_bic",
      "title": "Plot multiple dissimilarity curves.",
      "topics": [
        "plot_comparison_bic"
      ]
    },
    {
      "page": "plot_curve",
      "title": "Plot the dissimilarity curve.",
      "topics": [
        "plot_curve"
      ]
    },
    {
      "page": "plot_lcwm_dual",
      "title": "Plot three dissimilarity curves for 'outlierMBC-LCWM'.",
      "topics": [
        "plot_lcwm_dual"
      ]
    },
    {
      "page": "plot_selection",
      "title": "Plot dissimilarity values for multiple solutions.",
      "topics": [
        "plot_selection"
      ]
    },
    {
      "page": "plot.outliermbc_gmm",
      "title": "plot method for '\"outliermbc_gmm\"' S3 class.",
      "topics": [
        "plot.outliermbc_gmm"
      ]
    },
    {
      "page": "plot.outliermbc_lcwm",
      "title": "plot method for '\"outliermbc_lcwm\"' S3 class.",
      "topics": [
        "plot.outliermbc_lcwm"
      ]
    },
    {
      "page": "print.outliermbc_gmm",
      "title": "print method for '\"outliermbc_gmm\"' S3 class.",
      "topics": [
        "print.outliermbc_gmm"
      ]
    },
    {
      "page": "print.outliermbc_lcwm",
      "title": "print method for '\"outliermbc_lcwm\"' S3 class.",
      "topics": [
        "print.outliermbc_lcwm"
      ]
    },
    {
      "page": "simulate_gmm",
      "title": "Simulate data from a Gaussian mixture model with outliers.",
      "topics": [
        "simulate_gmm"
      ]
    },
    {
      "page": "simulate_lcwm",
      "title": "Simulate data from a linear cluster-weighted model with outliers.",
      "topics": [
        "simulate_lcwm"
      ]
    },
    {
      "page": "test_outlier_ombc",
      "title": "Check if a new sample satisfies the outlier criteria.",
      "topics": [
        "test_outlier_ombc"
      ]
    },
    {
      "page": "try_mixture_gpcm",
      "title": "Run 'mixture::gpcm' and try alternative covariance structures or initialisations if necessary.",
      "topics": [
        "try_mixture_gpcm"
      ]
    },
    {
      "page": "uniform_outlier_ombc",
      "title": "Produce a single sample that passes the outlier checks.",
      "topics": [
        "uniform_outlier_ombc"
      ]
    },
    {
      "page": "uniform_sample_lcwm",
      "title": "Sample a potential outlier.",
      "topics": [
        "uniform_sample_lcwm"
      ]
    },
    {
      "page": "uniform_spans_lcwm",
      "title": "Obtain the span of the observations for each component.",
      "topics": [
        "uniform_spans_lcwm"
      ]
    },
    {
      "page": "validate_outliermbc_gmm",
      "title": "Validator for '\"outliermbc_gmm\"' S3 class.",
      "topics": [
        "validate_outliermbc_gmm"
      ]
    },
    {
      "page": "validate_outliermbc_lcwm",
      "title": "Validator for '\"outliermbc_lcwm\"' S3 class.",
      "topics": [
        "validate_outliermbc_lcwm"
      ]
    }
  ],
  "_readme": "https://github.com/ultanpdoherty/outliermbc/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "caret",
    "class",
    "cli",
    "clock",
    "ClusterR",
    "codetools",
    "ContaminatedMixt",
    "cpp11",
    "data.table",
    "dbscan",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "flexCWM",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gmp",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "mclust",
    "mixture",
    "mnormt",
    "ModelMetrics",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppGSL",
    "recipes",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "shape",
    "sparsevctrs",
    "spatstat.univar",
    "spatstat.utils",
    "SQUAREM",
    "statmod",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 3.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "outliermbc",
  "_universes": [
    "ultanpdoherty"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1.0002",
      "date": "2026-06-09T07:44:37.000Z",
      "distro": "noble",
      "commit": "7f6e069ac386c1df188280417732485be733cf66",
      "fileid": "c9dd951eb284998cd69df1fae83e32e7f6bd7896c59fe81e35743a219d6d7481",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ultanpdoherty/actions/runs/27191325255"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1.0002",
      "date": "2026-06-09T07:44:59.000Z",
      "distro": "noble",
      "commit": "7f6e069ac386c1df188280417732485be733cf66",
      "fileid": "582a3777c2fe68927db937e33f1d64ce44d87a1ad7b1b712ea7c52c6b5e55d41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ultanpdoherty/actions/runs/27191325255"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1.0002",
      "date": "2026-06-09T07:48:57.000Z",
      "commit": "7f6e069ac386c1df188280417732485be733cf66",
      "fileid": "b189390103fc5e0ab45dc34461804c66293c895a39f94f0e2538dd768f334a13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ultanpdoherty/actions/runs/27191325255"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1.0002",
      "date": "2026-06-09T07:48:21.000Z",
      "commit": "7f6e069ac386c1df188280417732485be733cf66",
      "fileid": "1f48aa132e2981fe46f291c9492f9e808ab6d3ac11b7815750396dde71515a8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ultanpdoherty/actions/runs/27191325255"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1.0002",
      "date": "2026-06-09T07:44:31.000Z",
      "commit": "7f6e069ac386c1df188280417732485be733cf66",
      "fileid": "b9bcda6189342acbb2a785109b2c4a92fb4df3fe21ce31b7f926a5d872bcebe7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ultanpdoherty/actions/runs/27191325255"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1.0002",
      "date": "2026-06-09T07:43:38.000Z",
      "commit": "7f6e069ac386c1df188280417732485be733cf66",
      "fileid": "27ec6efd474817f249cd1dd69a31483ca723b1b3ef0b78427dd4f9e33557ce7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ultanpdoherty/actions/runs/27191325255"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1.0002",
      "date": "2026-06-09T07:43:27.000Z",
      "commit": "7f6e069ac386c1df188280417732485be733cf66",
      "fileid": "b0283cbb7fbed7a129dc9575e6dc28c2024161526ea6cfaa346df07413a6f3a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ultanpdoherty/actions/runs/27191325255"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1.0002",
      "date": "2026-06-09T07:43:30.000Z",
      "commit": "7f6e069ac386c1df188280417732485be733cf66",
      "fileid": "23a260d83f21c1a55c8fd083e67bc150a45d6b3e179023385293fe1bbb4992f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ultanpdoherty/actions/runs/27191325255"
    }
  ]
}