{
  "_id": "6a1c087b1d7bb097a0a2c32a",
  "Package": "kronxNBC",
  "Type": "Package",
  "Title": "Clock of Regimes Naive Bayes Classifier (Student-t)",
  "Version": "0.1.1",
  "Authors@R": "person(\ngiven  = \"Oscar\",\nfamily = \"Linares\",\nemail  = \"olinares@umich.edu\",\nrole   = c(\"aut\", \"cre\")\n)",
  "Description": "Computes and fits a heavy-tailed Student-t Naive Bayes\nclassifier for non-stationary financial market regime analysis\n(Clock of Regimes, COR). The core innovation is a profile grid\nsearch over the degrees-of-freedom parameter nu that prevents\nnumerical underflow and structural classification failures when\nidentifying fat-tailed Stress regimes. Provides S3 methods for\nfitting, prediction, summarising, plotting, and parameter\nextraction.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 10:04:52 UTC",
    "User": "root"
  },
  "Author": "Oscar Linares [aut, cre]",
  "Maintainer": "Oscar Linares <olinares@umich.edu>",
  "Repository": "https://oismrg-saamlab.r-universe.dev",
  "Date/Publication": "2026-05-30 13:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/kronxNBC",
  "RemoteRef": "HEAD",
  "RemoteSha": "a9df2955ae18665e99d9facd373d28c70d801261",
  "MD5sum": "aec3b16c93ec7a46b1cc87b03ada2c4a",
  "_user": "oismrg-saamlab",
  "_type": "src",
  "_file": "kronxNBC_0.1.1.tar.gz",
  "_fileid": "0bf75fb7f9a5ac7c98d93bd21523ec202afc31817d208a538d227d04e5b83e1e",
  "_filesize": 1660186,
  "_sha256": "0bf75fb7f9a5ac7c98d93bd21523ec202afc31817d208a538d227d04e5b83e1e",
  "_created": "2026-05-31T10:04:52.000Z",
  "_published": "2026-05-31T10:07:55.879Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78717378339,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315837313"
    },
    {
      "job": 78717378355,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315836701"
    },
    {
      "job": 78717378336,
      "time": 149,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315837336"
    },
    {
      "job": 78717378380,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315836632"
    },
    {
      "job": 78717206480,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315824320"
    },
    {
      "job": 78717378328,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315835899"
    },
    {
      "job": 78717378365,
      "time": 64,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315831677"
    },
    {
      "job": 78717378379,
      "time": 66,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315831858"
    },
    {
      "job": 78717378347,
      "time": 65,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315831779"
    }
  ],
  "_buildurl": "https://github.com/r-universe/oismrg-saamlab/actions/runs/26709589160",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/kronxNBC",
  "_commit": {
    "id": "a9df2955ae18665e99d9facd373d28c70d801261",
    "author": "Oscar Linares <olinares@umich.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.1\n",
    "time": 1780149002
  },
  "_maintainer": {
    "name": "Oscar Linares",
    "email": "olinares@umich.edu",
    "login": "oismrg-saamlab",
    "description": "Founder (2015), Research Director, and Quant Strategist at OIS Market Research Group, a self-funded research group specializing in options premium generation.",
    "uuid": 282791017
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "naivebayes",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-05-30"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "oismrg-saamlab",
      "count": 1,
      "uuid": 282791017
    }
  ],
  "_userbio": {
    "uuid": 282791017,
    "type": "user",
    "name": "Dr. Oscar Linares",
    "description": "Founder (2015), Research Director, and Quant Strategist at OIS Market Research Group, a self-funded research group specializing in options premium generation."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kronxNBC"
  },
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kronxNBC.html",
    "manual.pdf"
  ],
  "_realowner": "oismrg-saamlab",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-05-30"
    }
  ],
  "_exports": [
    "student_t_naive_bayes",
    "tables"
  ],
  "_help": [
    {
      "page": "coef.student_t_naive_bayes",
      "title": "Coefficient extraction for student_t_naive_bayes",
      "topics": [
        "coef.student_t_naive_bayes"
      ]
    },
    {
      "page": "plot.student_t_naive_bayes",
      "title": "Plot method for student_t_naive_bayes",
      "topics": [
        "plot.student_t_naive_bayes"
      ]
    },
    {
      "page": "predict.student_t_naive_bayes",
      "title": "Predict method for student_t_naive_bayes",
      "topics": [
        "predict.student_t_naive_bayes"
      ]
    },
    {
      "page": "print.student_t_naive_bayes",
      "title": "Print method for student_t_naive_bayes",
      "topics": [
        "print.student_t_naive_bayes"
      ]
    },
    {
      "page": "student_t_naive_bayes",
      "title": "Student-t Naive Bayes Classifier",
      "topics": [
        "student_t_naive_bayes"
      ]
    },
    {
      "page": "summary.student_t_naive_bayes",
      "title": "Summary method for student_t_naive_bayes",
      "topics": [
        "summary.student_t_naive_bayes"
      ]
    },
    {
      "page": "tables",
      "title": "Parameter tables for Naive Bayes classifiers",
      "topics": [
        "tables",
        "tables.default",
        "tables.student_t_naive_bayes"
      ]
    }
  ],
  "_rundeps": [
    "naivebayes"
  ],
  "_vignettes": [
    {
      "source": "empirical-regime-classification.Rmd",
      "filename": "empirical-regime-classification.html",
      "title": "Empirical Regime Classification with KRONXnbc",
      "author": "Oscar Linares",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Step 1 — Feature Engineering",
        "Rolling Volatility",
        "Drawdown",
        "Downside Semi-deviation (Transition Stress Proxy)",
        "Residence Pressure",
        "Ruin Proxy",
        "Attach Regime Labels and Export",
        "Step 2 — Why Random Sampling, Not a Chronological Split",
        "Step 3 — Fitting the Student-t Naive Bayes Classifier",
        "Step 4 — Inspecting the Fitted Parameters",
        "Parameter Tables",
        "Coefficient Data Frame",
        "Density Plots",
        "Step 5 — Out-of-Sample Evaluation",
        "Predictions",
        "Confusion Matrix",
        "COR Stress Alert",
        "Step 6 — Interpreting the $\\nu$ Parameter",
        "What low $\\nu$ means",
        "Validation of the heavy-tail hypothesis",
        "Appendix — Session Info"
      ],
      "created": "2026-05-30 13:50:02",
      "modified": "2026-05-30 13:50:02",
      "commits": 1
    },
    {
      "source": "kronxNBC-jss.Rmd",
      "filename": "kronxNBC-jss.html",
      "title": "kronxNBC: Student-t Naive Bayes Classification for Financial Market Regime Detection in R",
      "author": "Oscar Linares",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "Introduction",
        "Statistical Methodology",
        "The Naive Bayes Framework",
        "The Scaled Student-$t$ Distribution",
        "Profile Maximum Likelihood for $\\nu$",
        "Numerical Stability During Scoring",
        "Package Overview",
        "Installation",
        "Function Reference",
        "student_t_naive_bayes()",
        "predict()",
        "tables()",
        "coef()",
        "plot()",
        "Complete Worked Example",
        "Synthetic Dataset",
        "Fitting the Model",
        "Inspecting the Fitted Parameters",
        "Parameter Tables",
        "Coefficient Data Frame",
        "Interpreting the $\\nu$ Parameter",
        "Density Visualisation",
        "Out-of-Sample Evaluation",
        "Class Predictions",
        "Confusion Matrix",
        "Posterior Probabilities",
        "COR Stress Alert Signal",
        "Comparison: Student-$t$ vs Gaussian Naive Bayes",
        "Setup",
        "Gaussian NBC via naivebayes",
        "Head-to-Head Accuracy",
        "Confusion Matrices",
        "Stress-Class Recall",
        "Tail Log-Density Comparison",
        "Advanced Usage",
        "Custom Prior Probabilities",
        "Tuning the $\\nu$ Grid",
        "Accessing Raw Parameters",
        "Predicting with a Subset of Features",
        "The Clock of Regimes (COR) Framework",
        "Data Requirements",
        "Feature Engineering",
        "Train/Test Split Strategy",
        "Interpreting Empirical $\\nu$ Estimates",
        "Summary",
        "Appendix: Session Information",
        "References"
      ],
      "created": "2026-05-30 13:50:02",
      "modified": "2026-05-30 13:50:02",
      "commits": 1
    }
  ],
  "_score": 2.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "kronxnbc",
  "_universes": [
    "oismrg-saamlab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-31T10:06:58.000Z",
      "distro": "noble",
      "commit": "a9df2955ae18665e99d9facd373d28c70d801261",
      "fileid": "0a7078e5a59e35c083ce3941b40fd4f393d9d25eeac1e18df4c80cec1a0d2897",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oismrg-saamlab/actions/runs/26709589160"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-31T10:06:53.000Z",
      "distro": "noble",
      "commit": "a9df2955ae18665e99d9facd373d28c70d801261",
      "fileid": "ff5f51c9737522d8a2e7e8e4d840744d1421d81375aaf9fee9b2fabb87cb9002",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oismrg-saamlab/actions/runs/26709589160"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-31T10:07:02.000Z",
      "commit": "a9df2955ae18665e99d9facd373d28c70d801261",
      "fileid": "3869133d26740962dd6eef322125a4708f097797505fe77206ab79d608693309",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oismrg-saamlab/actions/runs/26709589160"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-31T10:06:56.000Z",
      "commit": "a9df2955ae18665e99d9facd373d28c70d801261",
      "fileid": "042bc2e4efbae13203770be47ebb420f2af25d57e81c2eba594d2e2073e93812",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oismrg-saamlab/actions/runs/26709589160"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-31T10:06:56.000Z",
      "commit": "a9df2955ae18665e99d9facd373d28c70d801261",
      "fileid": "69ff3703dc15981f796cc341adf6d348e2353cfa33070f724f3b9277c954b6e4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/oismrg-saamlab/actions/runs/26709589160"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-31T10:06:00.000Z",
      "commit": "a9df2955ae18665e99d9facd373d28c70d801261",
      "fileid": "760ce8e1c378adf642f8bf308791d31c7a48d2823d72b4086002f2975057dd40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oismrg-saamlab/actions/runs/26709589160"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-31T10:06:02.000Z",
      "commit": "a9df2955ae18665e99d9facd373d28c70d801261",
      "fileid": "2e5b4cf0500818ec6f5ce9e74bc79faa2371a54ce9c2d3151c544f35509062aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oismrg-saamlab/actions/runs/26709589160"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-31T10:06:02.000Z",
      "commit": "a9df2955ae18665e99d9facd373d28c70d801261",
      "fileid": "585cadfd370658e5beb2e8b6d53a0874b91e9a164fe05c5f750fd30182efbe93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/oismrg-saamlab/actions/runs/26709589160"
    }
  ]
}