{
  "_id": "6a1fe3edb401979e7343bab7",
  "Package": "xreg2",
  "Type": "Package",
  "Title": "Flexible Maximum Likelihood Regression with Gradient-Based\nOptimisation",
  "Version": "0.1.4",
  "Authors@R": "person(\"Kim\", \"Rand\", email = \"krand@krand.no\", role = c(\"aut\", \"cre\"))",
  "Description": "Fits flexible maximum likelihood regression models\nsupporting censored, interval, and hybrid\ncontinuous/dichotomous data. Provides explicit analytic and\nnumerical gradient computation, random intercept models via\nGauss-Hermite quadrature, and multiple distribution families.",
  "URL": "https://github.com/MathsinHealth/xreg2",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 08:16:58 UTC",
    "User": "root"
  },
  "Author": "Kim Rand [aut, cre]",
  "Maintainer": "Kim Rand <krand@krand.no>",
  "Repository": "https://mathsinhealth.r-universe.dev",
  "Date/Publication": "2026-04-23 12:56:01 UTC",
  "RemoteUrl": "https://github.com/mathsinhealth/xreg2",
  "RemoteRef": "HEAD",
  "RemoteSha": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
  "MD5sum": "012358db4d49e9d91949fcd736bfdf89",
  "_user": "mathsinhealth",
  "_type": "src",
  "_file": "xreg2_0.1.4.tar.gz",
  "_fileid": "6dea4edf7a50bc94c928944cf796deb3aad5c6fb3902e2b90cef2a93f51a3e76",
  "_filesize": 360289,
  "_sha256": "6dea4edf7a50bc94c928944cf796deb3aad5c6fb3902e2b90cef2a93f51a3e76",
  "_created": "2026-06-03T08:16:58.000Z",
  "_published": "2026-06-03T08:21:01.245Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79251070568,
      "time": 108,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379265063"
    },
    {
      "job": 79251070585,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379279231"
    },
    {
      "job": 79251070609,
      "time": 207,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379285005"
    },
    {
      "job": 79251070537,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379266317"
    },
    {
      "job": 79250675437,
      "time": 145,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379227212"
    },
    {
      "job": 79251070721,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379258980"
    },
    {
      "job": 79251070773,
      "time": 75,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379254114"
    },
    {
      "job": 79251070546,
      "time": 72,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379252339"
    },
    {
      "job": 79251070521,
      "time": 67,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379253540"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/26872360091",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mathsinhealth/xreg2",
  "_commit": {
    "id": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
    "author": "Kim Rand <intelligentaccident@gmail.com>",
    "committer": "Kim Rand <intelligentaccident@gmail.com>",
    "message": "Modified description\"\n",
    "time": 1776948961
  },
  "_maintainer": {
    "name": "Kim Rand",
    "email": "krand@krand.no"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "ucminf",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "optimx",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mathsinhealth",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "intelligentaccident",
      "count": 4,
      "uuid": 22443124
    }
  ],
  "_userbio": {
    "uuid": 275019313,
    "type": "organization",
    "name": "Maths in Health",
    "description": "Maths in Health is a quants-oriented consultancy"
  },
  "_downloads": {
    "count": 414,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xreg2"
  },
  "_devurl": "https://github.com/mathsinhealth/xreg2",
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/xreg2.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mathsinhealth/xreg2",
  "_realowner": "mathsinhealth",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.4",
      "date": "2026-04-28"
    }
  ],
  "_exports": [
    "ARE",
    "ARE_conform",
    "combmean",
    "combmeans",
    "combmssds",
    "combsd",
    "combsds",
    "comp_table",
    "erMAX",
    "fisher_icc",
    "fixdist",
    "getd",
    "getf",
    "getMean",
    "getp",
    "getq",
    "getr",
    "getSD",
    "getVar",
    "is.wholenumber",
    "just_CCC",
    "LCCC",
    "MAE",
    "MAPE",
    "MARE",
    "MBE",
    "ordD",
    "ordE",
    "ordEp",
    "pRMSE",
    "quant_fun",
    "quant_fun_groups",
    "quant_funs",
    "quant_funs_groups",
    "quant_funst",
    "ReMSE",
    "ReMSE_conform",
    "RMSE",
    "RMSRE",
    "rRMSE",
    "t_test2",
    "tstat",
    "U95",
    "xreg2_cont",
    "xreg2_cont_normal",
    "xreg2_cont_r_lnorm",
    "xreg2_cont_r_normal",
    "xreg2_control",
    "xreg2_dich_logistic",
    "xreg2_fit",
    "xreg2_fit_s",
    "xreg2_hyreg",
    "xreg2_optim"
  ],
  "_help": [
    {
      "page": "AIC.xreg2",
      "title": "AIC for an xreg2 Model",
      "topics": [
        "AIC.xreg2"
      ]
    },
    {
      "page": "ARE",
      "title": "Average Relative Error",
      "topics": [
        "ARE",
        "ARE.data.frame",
        "ARE.matrix",
        "ARE.numeric",
        "ARE_conform"
      ]
    },
    {
      "page": "BIC.xreg2",
      "title": "BIC for an xreg2 Model",
      "topics": [
        "BIC.xreg2"
      ]
    },
    {
      "page": "c.xreg2Control",
      "title": "Combine xreg2 Control Objects",
      "topics": [
        "c.xreg2Control",
        "c.xreg2ControlList"
      ]
    },
    {
      "page": "combmean",
      "title": "Combined mean of two groups",
      "topics": [
        "combmean"
      ]
    },
    {
      "page": "combmeans",
      "title": "Combined mean of multiple groups",
      "topics": [
        "combmeans"
      ]
    },
    {
      "page": "combmssds",
      "title": "Combined mean, SD and n for multiple groups",
      "topics": [
        "combmssds"
      ]
    },
    {
      "page": "combsd",
      "title": "Combined standard deviation of two groups",
      "topics": [
        "combsd"
      ]
    },
    {
      "page": "combsds",
      "title": "Combined SD of multiple groups",
      "topics": [
        "combsds"
      ]
    },
    {
      "page": "comp_table",
      "title": "Comparison Table",
      "topics": [
        "comp_table"
      ]
    },
    {
      "page": "erMAX",
      "title": "Maximum Absolute Relative Error",
      "topics": [
        "erMAX",
        "erMAX.data.frame",
        "erMAX.matrix",
        "erMAX.numeric"
      ]
    },
    {
      "page": "fisher_icc",
      "title": "Fisher's ICC",
      "topics": [
        "fisher_icc",
        "fisher_icc.data.frame",
        "fisher_icc.matrix",
        "fisher_icc.numeric"
      ]
    },
    {
      "page": "fixdist",
      "title": "Standardise Distribution Name",
      "topics": [
        "fixdist"
      ]
    },
    {
      "page": "getf",
      "title": "Get Distribution Function",
      "topics": [
        "getd",
        "getf",
        "getp",
        "getq",
        "getr"
      ]
    },
    {
      "page": "getMean",
      "title": "Mean of a distribution",
      "topics": [
        "getMean"
      ]
    },
    {
      "page": "getSD",
      "title": "Standard deviation of a distribution",
      "topics": [
        "getSD"
      ]
    },
    {
      "page": "getVar",
      "title": "Variance of a distribution",
      "topics": [
        "getVar"
      ]
    },
    {
      "page": "is.wholenumber",
      "title": "Test for Whole Number",
      "topics": [
        "is.wholenumber"
      ]
    },
    {
      "page": "just_CCC",
      "title": "Lin's CCC (simplified)",
      "topics": [
        "just_CCC",
        "just_CCC.data.frame",
        "just_CCC.matrix",
        "just_CCC.numeric"
      ]
    },
    {
      "page": "LCCC",
      "title": "Lin's Concordance Correlation Coefficient",
      "topics": [
        "LCCC"
      ]
    },
    {
      "page": "MAE",
      "title": "Mean Absolute Error",
      "topics": [
        "MAE",
        "MAE.data.frame",
        "MAE.matrix",
        "MAE.numeric"
      ]
    },
    {
      "page": "MAPE",
      "title": "Mean Absolute Relative Error (MARE / MAPE)",
      "topics": [
        "MAPE",
        "MARE",
        "MARE.data.frame",
        "MARE.matrix",
        "MARE.numeric"
      ]
    },
    {
      "page": "MBE",
      "title": "Mean Bias Error",
      "topics": [
        "MBE",
        "MBE.data.frame",
        "MBE.matrix",
        "MBE.numeric"
      ]
    },
    {
      "page": "ordD",
      "title": "Order Statistic Density",
      "topics": [
        "ordD"
      ]
    },
    {
      "page": "ordE",
      "title": "Order Statistic Expected Value",
      "topics": [
        "ordE"
      ]
    },
    {
      "page": "ordEp",
      "title": "Order Statistic Expected Probabilities",
      "topics": [
        "ordEp"
      ]
    },
    {
      "page": "predict.xreg2",
      "title": "Predict from an xreg2 Model",
      "topics": [
        "predict.xreg2"
      ]
    },
    {
      "page": "print.xreg2",
      "title": "Print an xreg2 Model",
      "topics": [
        "print.xreg2"
      ]
    },
    {
      "page": "quant_fun",
      "title": "Quantile Summary",
      "topics": [
        "quant_fun"
      ]
    },
    {
      "page": "quant_fun_groups",
      "title": "Quantile Summaries by Group",
      "topics": [
        "quant_funs_groups",
        "quant_fun_groups"
      ]
    },
    {
      "page": "quant_funs",
      "title": "Quantile Summaries (Matrix)",
      "topics": [
        "quant_funs"
      ]
    },
    {
      "page": "quant_funst",
      "title": "Transposed Quantile Summaries (Matrix)",
      "topics": [
        "quant_funst"
      ]
    },
    {
      "page": "ReMSE",
      "title": "Relative Mean Squared Error",
      "topics": [
        "ReMSE",
        "ReMSE.data.frame",
        "ReMSE.matrix",
        "ReMSE.numeric",
        "ReMSE_conform"
      ]
    },
    {
      "page": "RMSE",
      "title": "Root Mean Square Error",
      "topics": [
        "pRMSE",
        "RMSE",
        "RMSE.data.frame",
        "RMSE.matrix",
        "RMSE.numeric",
        "rRMSE"
      ]
    },
    {
      "page": "RMSRE",
      "title": "Root Mean Square Relative Error",
      "topics": [
        "RMSRE",
        "RMSRE.data.frame",
        "RMSRE.matrix",
        "RMSRE.numeric"
      ]
    },
    {
      "page": "summary.xreg2",
      "title": "Summarise an xreg2 Model",
      "topics": [
        "summary.xreg2"
      ]
    },
    {
      "page": "t_test2",
      "title": "Two-Sample t-Test from Summary Statistics",
      "topics": [
        "t_test2"
      ]
    },
    {
      "page": "tstat",
      "title": "t-Statistic",
      "topics": [
        "tstat",
        "tstat.data.frame",
        "tstat.matrix",
        "tstat.numeric"
      ]
    },
    {
      "page": "U95",
      "title": "Uncertainty at 95 Percent",
      "topics": [
        "U95",
        "U95.data.frame",
        "U95.matrix",
        "U95.numeric"
      ]
    },
    {
      "page": "xreg2_cont",
      "title": "General Continuous Negative Log-Likelihood",
      "topics": [
        "xreg2_cont"
      ]
    },
    {
      "page": "xreg2_cont_normal",
      "title": "Continuous Normal Negative Log-Likelihood",
      "topics": [
        "xreg2_cont_normal"
      ]
    },
    {
      "page": "xreg2_cont_r_lnorm",
      "title": "Continuous Log-Normal Negative Log-Likelihood with Random Intercept",
      "topics": [
        "xreg2_cont_r_lnorm"
      ]
    },
    {
      "page": "xreg2_cont_r_normal",
      "title": "Continuous Normal Negative Log-Likelihood with Random Intercept",
      "topics": [
        "xreg2_cont_r_normal"
      ]
    },
    {
      "page": "xreg2_control",
      "title": "Create xreg2 Control Object",
      "topics": [
        "xreg2_control"
      ]
    },
    {
      "page": "xreg2_dich_logistic",
      "title": "Dichotomous Logistic Negative Log-Likelihood",
      "topics": [
        "xreg2_dich_logistic"
      ]
    },
    {
      "page": "xreg2_fit",
      "title": "Fit xreg2 Model",
      "topics": [
        "xreg2_fit"
      ]
    },
    {
      "page": "xreg2_fit_s",
      "title": "Fit xreg2 Model from Pre-Structured Data",
      "topics": [
        "xreg2_fit_s"
      ]
    },
    {
      "page": "xreg2_hyreg",
      "title": "Hybrid Regression (xreg2 version)",
      "topics": [
        "xreg2_hyreg"
      ]
    },
    {
      "page": "xreg2_optim",
      "title": "Optimise an xreg2 Model",
      "topics": [
        "xreg2_optim"
      ]
    }
  ],
  "_rundeps": [
    "numDeriv",
    "ucminf"
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "xreg2",
  "_universes": [
    "mathsinhealth"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-03T08:18:49.000Z",
      "distro": "noble",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "6d5022f7b730d7e974624ce2814da698dab54b3335d1194c8b42730038a02bc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/26872360091"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-03T08:19:29.000Z",
      "distro": "noble",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "ab4cfc8fbef80a9874f3dfdd14c5fe9165c2f8c6009533b3d8cf7c0b5f79e0fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/26872360091"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-06-03T08:19:49.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "4bd8b8fd74d442a6ab131320ad1f20d98e86cdf931c27e1db3d26e9dccef0e36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/26872360091"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-06-03T08:18:56.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "b4f936d9ad6d5adfb4ddb139d87fb7bfc28eebf823a09389b6982597d6cf446e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/26872360091"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-06-03T08:18:46.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "3e7879b51b4e05014d6396389db537234094f1488e9e9f7a340145a71ef06772",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/26872360091"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-06-03T08:18:11.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "d554450506bca4d8f4bd982bf86dee776eddfab50ee20270a0befaa7b0616e3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/26872360091"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-06-03T08:18:07.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "6de9b131d7f2d6d1ccb7bbf9b26ea253fb9a18bf2a56d379a92af7114ea28af8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/26872360091"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-06-03T08:18:10.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "616564fe122dde8058c56941320093ba4ec354efce59aecbae2f12a6b1b433ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/26872360091"
    }
  ]
}