{
  "_id": "6a103badacfb0bcc41c9b991",
  "Package": "tmvmixnorm",
  "Type": "Package",
  "Title": "Sampling from Truncated Multivariate Normal and t Distributions",
  "Version": "1.2.0",
  "Authors@R": "c(person(\"Ting Fung\", \"Ma\", email = \"tingfung@mailbox.sc.edu\", role = c(\"cre\", \"aut\")),\nperson(\"Sujit K.\", \"Ghosh\", email = \"sujit_ghosh@ncsu.edu\", role = \"aut\"),\nperson(\"Yifang\", \"Li\", role = \"aut\"))",
  "Maintainer": "Ting Fung Ma <tingfung@mailbox.sc.edu>",
  "Description": "Efficient sampling of truncated multivariate (scale)\nmixtures of normals under linear inequality constraints is\nnontrivial due to the analytically intractable normalizing\nconstant. Meanwhile, traditional methods may subject to\nnumerical issues, especially when the dimension is high and\ndependence is strong.  Algorithms proposed by Li and Ghosh\n(2015) <doi: 10.1080/15598608.2014.996690> are adopted for\novercoming difficulties in simulating truncated distributions.\nEfficient rejection sampling for simulating truncated\nunivariate normal distribution is included in the package,\nwhich shows superiority in terms of acceptance rate and\nnumerical stability compared to existing methods and R\npackages. An efficient function for sampling from truncated\nmultivariate normal distribution subject to convex polytope\nrestriction regions based on Gibbs sampler for conditional\ntruncated univariate distribution is provided. By extending the\nsampling method, a function for sampling truncated multivariate\nStudent's t distribution is also developed.  Moreover, the\nproposed method and computation remain valid for high\ndimensional and strong dependence scenarios. Empirical results\nin Li and Ghosh (2015) <doi: 10.1080/15598608.2014.996690>\nillustrated the superior performance in terms of various\ncriteria (e.g. mixing and integrated auto-correlation time).",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 10:43:37 UTC",
    "User": "root"
  },
  "Author": "Ting Fung Ma [cre, aut], Sujit K. Ghosh [aut], Yifang Li [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-11 08:40:13 UTC",
  "RemoteUrl": "https://github.com/cran/tmvmixnorm",
  "RemoteRef": "HEAD",
  "RemoteSha": "47b3718573116031a8700e5905a49a6f938d4bd0",
  "MD5sum": "f58e109f9909ada9340775456662bfbc",
  "_user": "cran",
  "_type": "src",
  "_file": "tmvmixnorm_1.2.0.tar.gz",
  "_fileid": "ef9ce9490ed11a6bb82a1c68bb10ef469f4a1cd079e02407efc7d827a9b43e4c",
  "_filesize": 107698,
  "_sha256": "ef9ce9490ed11a6bb82a1c68bb10ef469f4a1cd079e02407efc7d827a9b43e4c",
  "_created": "2026-05-11T10:43:37.000Z",
  "_published": "2026-05-22T11:19:09.415Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77369140479,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6916411174"
    },
    {
      "job": 77369140703,
      "time": 96,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6916407547"
    },
    {
      "job": 77369140187,
      "time": 155,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6916374534"
    },
    {
      "job": 77369139999,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159234249"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25665224230",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/tmvmixnorm",
  "_commit": {
    "id": "47b3718573116031a8700e5905a49a6f938d4bd0",
    "author": "Ting Fung Ma <tingfung@mailbox.sc.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.0\n",
    "time": 1778488813
  },
  "_maintainer": {
    "name": "Ting Fung Ma",
    "email": "tingfung@mailbox.sc.edu",
    "login": "ralphma1203",
    "uuid": 44712200
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2.0",
      "date": "2026-05-11"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ralphma1203",
      "count": 1,
      "uuid": 44712200
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 266,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tmvmixnorm"
  },
  "_searchresults": 26,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/tmvmixnorm.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2018-07-18"
    },
    {
      "version": "1.0.2",
      "date": "2018-07-19"
    },
    {
      "version": "1.1.0",
      "date": "2020-05-19"
    },
    {
      "version": "1.1.1",
      "date": "2020-09-18"
    },
    {
      "version": "1.2.0",
      "date": "2026-05-11"
    }
  ],
  "_exports": [
    "dtuvn",
    "exp_acc_opt",
    "exp_rej",
    "halfnorm_acc",
    "halfnorm_rej",
    "imp",
    "imp_acc",
    "norm_acc",
    "norm_rej",
    "ptuvn",
    "rtmvn",
    "rtmvt",
    "rtuvn",
    "unif_acc",
    "unif_rej"
  ],
  "_help": [
    {
      "page": "dtuvn",
      "title": "Density function of truncated univariate normal distribution",
      "topics": [
        "dtuvn"
      ]
    },
    {
      "page": "exp_acc_opt",
      "title": "Acceptance rate of translated-exponential rejection sampling",
      "topics": [
        "exp_acc_opt"
      ]
    },
    {
      "page": "exp_rej",
      "title": "Translated-exponential rejection sampling",
      "topics": [
        "exp_rej"
      ]
    },
    {
      "page": "halfnorm_acc",
      "title": "Acceptance rate of half-normal rejection sampling",
      "topics": [
        "halfnorm_acc"
      ]
    },
    {
      "page": "halfnorm_rej",
      "title": "Half-normal rejection sampling",
      "topics": [
        "halfnorm_rej"
      ]
    },
    {
      "page": "imp",
      "title": "Rejection sampling of standardized truncated univariate normal distribution",
      "topics": [
        "imp"
      ]
    },
    {
      "page": "imp_acc",
      "title": "Acceptance rate of truncated univariate normal distribution rejection sampling",
      "topics": [
        "imp_acc"
      ]
    },
    {
      "page": "norm_acc",
      "title": "Acceptance rate of normal rejection sampling",
      "topics": [
        "norm_acc"
      ]
    },
    {
      "page": "norm_rej",
      "title": "Normal rejection sampling",
      "topics": [
        "norm_rej"
      ]
    },
    {
      "page": "ptuvn",
      "title": "Distribution function of truncated univariate normal distribution",
      "topics": [
        "ptuvn"
      ]
    },
    {
      "page": "rtmvn",
      "title": "Random number generation for truncated multivariate normal distribution subject to linear inequality constraints",
      "topics": [
        "rtmvn"
      ]
    },
    {
      "page": "rtmvt",
      "title": "Random number generation for truncated multivariate Student's t distribution subject to linear inequality constraints",
      "topics": [
        "rtmvt"
      ]
    },
    {
      "page": "rtuvn",
      "title": "Random number generation for truncated univariate normal distribution",
      "topics": [
        "rtuvn"
      ]
    },
    {
      "page": "unif_acc",
      "title": "Acceptance rate of uniform rejection sampling",
      "topics": [
        "unif_acc"
      ]
    },
    {
      "page": "unif_rej",
      "title": "Uniform rejection sampling",
      "topics": [
        "unif_rej"
      ]
    }
  ],
  "_rundeps": [
    "MASS"
  ],
  "_score": 2.3692158574101425,
  "_indexed": true,
  "_nocasepkg": "tmvmixnorm",
  "_universes": [
    "cran",
    "ralphma1203"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-11T10:45:37.000Z",
      "distro": "noble",
      "commit": "47b3718573116031a8700e5905a49a6f938d4bd0",
      "fileid": "b05ea32ea8b569666db0a069ad1e8bf4070846b57b2d064dffa88232c79567e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25665224230"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-11T10:45:24.000Z",
      "distro": "noble",
      "commit": "47b3718573116031a8700e5905a49a6f938d4bd0",
      "fileid": "4aa3ac1680215bd07a54c6469abbd2e38d3e024f302cc674a23818ea15f3d9df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25665224230"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-05-22T11:18:53.000Z",
      "commit": "47b3718573116031a8700e5905a49a6f938d4bd0",
      "fileid": "c09aee5696d1a36bb286743f00caec129708aa906054c172749fa1ab73b93a14",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25665224230"
    }
  ]
}