{
  "_id": "6ab3746e3d719c1f8408f8d5",
  "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-09-23 06:28:50 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",
  "_user": "mathsinhealth",
  "_type": "src",
  "_file": "xreg2_0.1.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/b4fb70898ad3d19729c278dea773c0d1b566d7caebf2451c1fa35944fcb693d9",
  "_filesize": 360467,
  "_sha256": "b4fb70898ad3d19729c278dea773c0d1b566d7caebf2451c1fa35944fcb693d9",
  "_expires": "2027-01-01T06:40:43.000Z",
  "_created": "2026-09-23T06:28:50.000Z",
  "_published": "2026-09-23T06:40:45.934Z",
  "_jobs": [
    {
      "job": 107070709236,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10734504989"
    },
    {
      "job": 107070709194,
      "time": 104,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735916405"
    },
    {
      "job": 107070709356,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10735811743"
    },
    {
      "job": 107070709203,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735224292"
    },
    {
      "job": 107070084489,
      "time": 156,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735661544"
    },
    {
      "job": 107070709285,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10735741640"
    },
    {
      "job": 107070709201,
      "time": 62,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10735901252"
    },
    {
      "job": 107070709198,
      "time": 62,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10735901255"
    },
    {
      "job": 107070709296,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735321381"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/35826728766",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 2,
    "description": "Maths in Health is a quants-oriented consultancy"
  },
  "_downloads": {
    "count": 272,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xreg2"
  },
  "_devurl": "https://github.com/mathsinhealth/xreg2",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/xreg2.html"
  ],
  "_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-09-23T06:30:54.000Z",
      "distro": "resolute",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "https://r2.ropensci.org/0dbacab5d06bfba722e382c059d3d2dbed5ed0beaed6e844ca4a54d1b38d2f8d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/35826728766"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-09-23T06:30:42.000Z",
      "distro": "resolute",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "https://r2.ropensci.org/e8c19d24f8309446fc4cdd8a2586f88f89579371757185f1cbda50112739f09d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/35826728766"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-09-23T06:39:53.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "https://r2.ropensci.org/1d7867a8accdab1b503cd6bc01fd26676018ef9345c9cc63b3dde3aa301dd996",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/35826728766"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-09-23T06:39:19.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "https://r2.ropensci.org/605b15bb7a5c8b7f94abef07fed954a71894cbf04344c0b3b8df286dc8761729",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/35826728766"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-09-23T06:30:51.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "https://r2.ropensci.org/cd6af98cef362e4bf672f51005169a5837f91829922f344146da7c7011266b34",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/35826728766"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-09-23T06:29:49.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "https://r2.ropensci.org/19229ce1a103f17a0c5081cb909c544ea1bbed59ac90c7026d5281c34b78488d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/35826728766"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-09-23T06:29:51.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "https://r2.ropensci.org/2a6bed0e97ba1015db6be8b17e6360276f2ce4d09040ef7b2605b6a316945e3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/35826728766"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-09-23T06:29:55.000Z",
      "commit": "3496e82b032d5ae3f1603be4c9b3bfba98b11093",
      "fileid": "https://r2.ropensci.org/037c71a609bcc69522821e5af95904d6ee2c28c1ee6d609f36f886996c318aba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mathsinhealth/actions/runs/35826728766"
    }
  ]
}