{
  "_id": "6a22a26bcd65a98ecbd590d5",
  "Package": "aglm",
  "Type": "Package",
  "Title": "Accurate Generalized Linear Model",
  "Version": "0.4.1",
  "Authors@R": "c(\nperson(\"Kenji\", \"Kondo\", role=c(\"aut\", \"cre\", \"cph\"), email=\"kkondo.odnokk@gmail.com\"),\nperson(\"Kazuhisa\", \"Takahashi\", role=c(\"ctb\")),\nperson(\"Hikari\", \"Banno\", role=c(\"ctb\"))\n)",
  "Description": "Provides functions to fit Accurate Generalized Linear\nModel (AGLM) models, visualize them, and predict for new data.\nAGLM is defined as a regularized GLM which applies a sort of\nfeature transformations using a discretization of numerical\nfeatures and specific coding methodologies of dummy variables.\nFor more information on AGLM, see Suguru Fujita, Toyoto Tanaka,\nKenji Kondo and Hirokazu Iwasawa (2020)\n<https://www.institutdesactuaires.com/global/gene/link.php?doc_id=16273&fg=1>.",
  "URL": "https://github.com/kkondo1981/aglm",
  "BugReports": "https://github.com/kkondo1981/aglm/issues",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "RdMacros": "mathjaxr",
  "Repository": "https://kkondo1981.r-universe.dev",
  "Date/Publication": "2025-05-11 15:58:19 UTC",
  "RemoteUrl": "https://github.com/kkondo1981/aglm",
  "RemoteRef": "HEAD",
  "RemoteSha": "5f25d77f627a1d498cea77744a93f71bb6045de9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 10:14:18 UTC",
    "User": "root"
  },
  "Author": "Kenji Kondo [aut, cre, cph],\nKazuhisa Takahashi [ctb],\nHikari Banno [ctb]",
  "Maintainer": "Kenji Kondo <kkondo.odnokk@gmail.com>",
  "MD5sum": "9c39928ec60b13dd6d3055aa2530ae1c",
  "_user": "kkondo1981",
  "_type": "src",
  "_file": "aglm_0.4.1.tar.gz",
  "_fileid": "dccf8469dbb041a91b3dbe8856b04bf1f841d977659e71de80ac7cecbf1d0377",
  "_filesize": 267611,
  "_sha256": "dccf8469dbb041a91b3dbe8856b04bf1f841d977659e71de80ac7cecbf1d0377",
  "_created": "2026-06-05T10:14:18.000Z",
  "_published": "2026-06-05T10:18:19.325Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79707921993,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434211081"
    },
    {
      "job": 79707921915,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434208408"
    },
    {
      "job": 79707921907,
      "time": 206,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434216704"
    },
    {
      "job": 79707921899,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434206019"
    },
    {
      "job": 79707415326,
      "time": 212,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434162569"
    },
    {
      "job": 79707921930,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434194613"
    },
    {
      "job": 79707922077,
      "time": 150,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434209042"
    },
    {
      "job": 79707921896,
      "time": 105,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434195305"
    },
    {
      "job": 79707921946,
      "time": 122,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434200564"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kkondo1981/actions/runs/27008908223",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/kkondo1981/aglm",
  "_commit": {
    "id": "5f25d77f627a1d498cea77744a93f71bb6045de9",
    "author": "Kenji Kondo <kkondo.odnokk@gmail.com>",
    "committer": "Kenji Kondo <kkondo.odnokk@gmail.com>",
    "message": "Submitted to CRAN.\n",
    "time": 1746979099
  },
  "_maintainer": {
    "name": "Kenji Kondo",
    "email": "kkondo.odnokk@gmail.com",
    "login": "kkondo1981",
    "description": "Working in a life insurance company in Japan.\ninterested in the Bayesian prediction, the actuarial science, and computer programming.",
    "uuid": 23006151
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "glmnet",
      "version": ">= 4.0.2",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "faraway",
      "role": "Suggests"
    }
  ],
  "_owner": "kkondo1981",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "actuarial-modeling"
  ],
  "_stars": 17,
  "_contributors": [
    {
      "user": "kkondo1981",
      "count": 216,
      "uuid": 23006151
    },
    {
      "user": "kazuzowo",
      "count": 2,
      "uuid": 51168548
    }
  ],
  "_userbio": {
    "uuid": 23006151,
    "type": "user",
    "name": "Kenji Kondo",
    "description": "Working in a life insurance company in Japan.\r\ninterested in the Bayesian prediction, the actuarial science, and computer programming."
  },
  "_downloads": {
    "count": 273,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/aglm"
  },
  "_devurl": "https://github.com/kkondo1981/aglm",
  "_searchresults": 42,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/aglm.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kkondo1981/aglm",
  "_realowner": "kkondo1981",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.0",
      "date": "2021-06-09"
    },
    {
      "version": "0.4.1",
      "date": "2025-05-12"
    }
  ],
  "_exports": [
    "aglm",
    "createEqualFreqBins",
    "createEqualWidthBins",
    "cv.aglm",
    "cva.aglm",
    "executeBinning",
    "getLVarMatForOneVec",
    "getODummyMatForOneVec",
    "getUDummyMatForOneVec"
  ],
  "_help": [
    {
      "page": "aglm-package",
      "title": "aglm: Accurate Generalized Linear Model",
      "topics": [
        "aglm-package"
      ]
    },
    {
      "page": "AccurateGLM-class",
      "title": "Class for results of 'aglm()' and 'cv.aglm()'",
      "topics": [
        "AccurateGLM-class"
      ]
    },
    {
      "page": "aglm",
      "title": "Fit an AGLM model with no cross-validation",
      "topics": [
        "aglm"
      ]
    },
    {
      "page": "AGLM_Input-class",
      "title": "S4 class for input",
      "topics": [
        "AGLM_Input-class"
      ]
    },
    {
      "page": "coef.AccurateGLM",
      "title": "Get coefficients",
      "topics": [
        "coef.AccurateGLM"
      ]
    },
    {
      "page": "createEqualFreqBins",
      "title": "Create bins (equal frequency binning)",
      "topics": [
        "createEqualFreqBins"
      ]
    },
    {
      "page": "createEqualWidthBins",
      "title": "Create bins (equal width binning)",
      "topics": [
        "createEqualWidthBins"
      ]
    },
    {
      "page": "cv.aglm",
      "title": "Fit an AGLM model with cross-validation for lambda",
      "topics": [
        "cv.aglm"
      ]
    },
    {
      "page": "CVA_AccurateGLM-class",
      "title": "Class for results of 'cva.aglm()'",
      "topics": [
        "CVA_AccurateGLM-class"
      ]
    },
    {
      "page": "cva.aglm",
      "title": "Fit an AGLM model with cross-validation for both alpha and lambda",
      "topics": [
        "cva.aglm"
      ]
    },
    {
      "page": "deviance.AccurateGLM",
      "title": "Get deviance",
      "topics": [
        "deviance.AccurateGLM"
      ]
    },
    {
      "page": "executeBinning",
      "title": "Binning the data to given bins.",
      "topics": [
        "executeBinning"
      ]
    },
    {
      "page": "getLVarMatForOneVec",
      "title": "Create L-variable matrix for one variable",
      "topics": [
        "getLVarMatForOneVec"
      ]
    },
    {
      "page": "getODummyMatForOneVec",
      "title": "Create a O-dummy matrix for one variable",
      "topics": [
        "getODummyMatForOneVec"
      ]
    },
    {
      "page": "getUDummyMatForOneVec",
      "title": "Create a U-dummy matrix for one variable",
      "topics": [
        "getUDummyMatForOneVec"
      ]
    },
    {
      "page": "plot.AccurateGLM",
      "title": "Plot contribution of each variable and residuals",
      "topics": [
        "plot.AccurateGLM"
      ]
    },
    {
      "page": "predict.AccurateGLM",
      "title": "Make predictions for new data",
      "topics": [
        "predict.AccurateGLM"
      ]
    },
    {
      "page": "print.AccurateGLM",
      "title": "Display textual information of the model",
      "topics": [
        "print.AccurateGLM"
      ]
    },
    {
      "page": "residuals.AccurateGLM",
      "title": "Get residuals of various types",
      "topics": [
        "residuals.AccurateGLM"
      ]
    }
  ],
  "_readme": "https://github.com/kkondo1981/aglm/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "codetools",
    "foreach",
    "glmnet",
    "iterators",
    "lattice",
    "mathjaxr",
    "Matrix",
    "Rcpp",
    "RcppEigen",
    "shape",
    "survival"
  ],
  "_score": 4.552668216112194,
  "_indexed": true,
  "_nocasepkg": "aglm",
  "_universes": [
    "kkondo1981"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-06-05T10:16:24.000Z",
      "distro": "noble",
      "commit": "5f25d77f627a1d498cea77744a93f71bb6045de9",
      "fileid": "f02852db7d5409f0141487046a18a0d192070ee009443d1b7012204c5b150300",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkondo1981/actions/runs/27008908223"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-06-05T10:16:18.000Z",
      "distro": "noble",
      "commit": "5f25d77f627a1d498cea77744a93f71bb6045de9",
      "fileid": "1c8048d0f658390377c26eaf37b0d6982d16cecd6740447a8ccad7a08fe51de5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkondo1981/actions/runs/27008908223"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-06-05T10:16:50.000Z",
      "commit": "5f25d77f627a1d498cea77744a93f71bb6045de9",
      "fileid": "57f41b8f781d2841679790f10acc99355b50e436cb17a5a8012b32628574d54f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkondo1981/actions/runs/27008908223"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-06-05T10:16:21.000Z",
      "commit": "5f25d77f627a1d498cea77744a93f71bb6045de9",
      "fileid": "21034139da1feb3e637ddcb545ff9689a1d8aab36ea94475080c8a7c64c4becd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkondo1981/actions/runs/27008908223"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-06-05T10:16:23.000Z",
      "commit": "5f25d77f627a1d498cea77744a93f71bb6045de9",
      "fileid": "ca7fe95e90c53dcafb89c0cd8faaa1a00acd95267eab63326158ef4a1417af3c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kkondo1981/actions/runs/27008908223"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-06-05T10:16:10.000Z",
      "commit": "5f25d77f627a1d498cea77744a93f71bb6045de9",
      "fileid": "3bbdff911ddfa08b75abdd240215ac4ddcd0a443d1f8213a6015b433f5dd7857",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkondo1981/actions/runs/27008908223"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-06-05T10:15:28.000Z",
      "commit": "5f25d77f627a1d498cea77744a93f71bb6045de9",
      "fileid": "fe2cfd83a00e11d462ae1cc06a2b8a7abc22ac46f7a1612aec72acdc80d4a6ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkondo1981/actions/runs/27008908223"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-06-05T10:15:43.000Z",
      "commit": "5f25d77f627a1d498cea77744a93f71bb6045de9",
      "fileid": "4fcdac3906b861e6bb8beefda1ede91602a717a00a374f4d4da767005538a0de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kkondo1981/actions/runs/27008908223"
    }
  ]
}