{
  "_id": "6af0776ef4a180a2e271d865",
  "Package": "ctreeMI",
  "Title": "Conditional Inference Trees with Stacked Multiple Imputation",
  "Version": "1.3.0",
  "Authors@R": "person(\"Phillip\", \"Sherlock\",\nemail = \"phillip.sherlock@ufl.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0433-3681\"))",
  "Description": "Implements the stacked-imputation workflow for conditional\ninference trees ('ctree') described in Sherlock et al. (2026)\n<doi:10.1080/00273171.2026.2661244>. When data contain missing\nvalues, multiply imputed datasets (e.g., from 'mice') are\nstacked vertically and a single 'ctree' is fit on the combined\ndata. To correct for the artificially inflated sample size\nintroduced by stacking, every node-level test statistic is\ndivided by the number of imputations M, the node-level p-values\nare recomputed from the chi-squared reference distribution\n'ctree' uses (including its multiplicity adjustment across\ncandidate splitting variables), and the tree is compressed\nbottom-up (the Stack/M correction). Degrees of freedom are\nderived for each node and each candidate variable, so\nunivariate, bivariate and higher-dimensional outcomes are all\nhandled, as are unordered factor predictors, whose degrees of\nfreedom depend on how many levels remain in a node. The result\nis a single interpretable tree that incorporates imputation\nuncertainty without requiring pooling of structurally different\ntrees. Also exports stack_imputations(), rescale_statistic(),\nprune_stackM(), node_table() and report_ctreeMI() as standalone\nutilities. For data nested in few clusters, a within-cluster\ndesign splits participants within every cluster, grows the tree\non the outcome centered by cluster, and confirms the partition\nthree ways (confirm_within()). The underlying 'ctree' algorithm\nis provided by 'partykit' (Hothorn & Zeileis, 2015; Hothorn,\nHornik & Zeileis, 2006 <doi:10.1198/106186006X133933>).",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/Phillip-Sherlock/ctreeMI",
  "BugReports": "https://github.com/Phillip-Sherlock/ctreeMI/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://phillip-sherlock.r-universe.dev",
  "Date/Publication": "2026-11-06 21:41:48 UTC",
  "RemoteUrl": "https://github.com/phillip-sherlock/ctreemi",
  "RemoteRef": "HEAD",
  "RemoteSha": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-08 13:18:25 UTC",
    "User": "root"
  },
  "Author": "Phillip Sherlock [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0433-3681>)",
  "Maintainer": "Phillip Sherlock <phillip.sherlock@ufl.edu>",
  "_user": "phillip-sherlock",
  "_type": "src",
  "_file": "ctreeMI_1.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/23735f40a9f08c5bc0cd1687379ffcef43556c4f863b9b6f5229b2df6bb8ad6a",
  "_filesize": 295224,
  "_sha256": "23735f40a9f08c5bc0cd1687379ffcef43556c4f863b9b6f5229b2df6bb8ad6a",
  "_expires": "2027-02-16T13:21:48.000Z",
  "_created": "2026-11-08T13:18:25.000Z",
  "_published": "2026-11-20T02:55:52.863Z",
  "_upstream": "https://github.com/phillip-sherlock/ctreemi",
  "_status": "success",
  "_maintainer": {
    "name": "Phillip Sherlock",
    "email": "phillip.sherlock@ufl.edu",
    "login": "phillip-sherlock",
    "description": "",
    "uuid": 202012894,
    "orcid": "0000-0003-0433-3681"
  },
  "_jobs": [
    {
      "job": 128742847171,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13618613301"
    },
    {
      "job": 128742847153,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13619150684"
    },
    {
      "job": 128742847250,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13618339658"
    },
    {
      "job": 128742847187,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13618638173"
    },
    {
      "job": 128741982849,
      "time": 209,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13619130619"
    },
    {
      "job": 128742847248,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13619071874"
    },
    {
      "job": 128742847281,
      "time": 129,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13618817735"
    },
    {
      "job": 128742847308,
      "time": 102,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13618757891"
    },
    {
      "job": 128742847297,
      "time": 86,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13619175581"
    }
  ],
  "_buildurl": "https://github.com/r-universe/phillip-sherlock/actions/runs/42484032196",
  "_commit": {
    "id": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
    "author": "Phillip-Sherlock <phillip.sherlock@ufl.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1 from Phillip-Sherlock/release-1.3.0\n\nctreeMI 1.3.0",
    "time": 1794001308
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "partykit",
      "version": ">= 1.2-0",
      "role": "Imports"
    },
    {
      "package": "mice",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "phillip-sherlock",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 3
    },
    {
      "week": "2026-30",
      "n": 2
    },
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 2
    },
    {
      "week": "2026-38",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 1
    },
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-07-27"
    },
    {
      "name": "v1.0.1",
      "date": "2026-08-25"
    },
    {
      "name": "v1.1.0",
      "date": "2026-09-18"
    },
    {
      "name": "v1.2.0",
      "date": "2026-09-22"
    },
    {
      "name": "v1.3.0",
      "date": "2026-11-06"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "phillip-sherlock",
      "count": 8,
      "uuid": 202012894
    }
  ],
  "_userbio": {
    "uuid": 202012894,
    "type": "user",
    "name": "Phillip-Sherlock",
    "followers": 0
  },
  "_downloads": {
    "count": 510,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ctreeMI"
  },
  "_devurl": "https://github.com/phillip-sherlock/ctreemi",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ctreeMI.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/phillip-sherlock/ctreemi",
  "_realowner": "phillip-sherlock",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-10"
    },
    {
      "version": "0.2.0",
      "date": "2026-07-23"
    },
    {
      "version": "0.3.0",
      "date": "2026-07-25"
    },
    {
      "version": "1.0.0",
      "date": "2026-07-27"
    },
    {
      "version": "1.0.1",
      "date": "2026-08-26"
    },
    {
      "version": "1.1.0",
      "date": "2026-09-18"
    },
    {
      "version": "1.2.0",
      "date": "2026-10-12"
    },
    {
      "version": "1.3.0",
      "date": "2026-11-07"
    }
  ],
  "_exports": [
    "center_outcome",
    "check_stackM_extraction",
    "confirm_ctreeMI",
    "confirm_within",
    "ctree_stacked",
    "discover_confirm",
    "node_table",
    "prune_stackM",
    "prune_unconfirmed",
    "report_confirm",
    "report_ctreeMI",
    "rescale_statistic",
    "split_holdout",
    "stack_imputations"
  ],
  "_help": [
    {
      "page": "center_outcome",
      "title": "Center Outcomes on Group Means Within Each Imputed Dataset",
      "topics": [
        "center_outcome"
      ]
    },
    {
      "page": "check_stackM_extraction",
      "title": "Check That Node Statistics Can Be Extracted",
      "topics": [
        "check_stackM_extraction"
      ]
    },
    {
      "page": "confirm_ctreeMI",
      "title": "Confirm a Discovered Tree on Independent Data",
      "topics": [
        "confirm_ctreeMI"
      ]
    },
    {
      "page": "confirm_within",
      "title": "Confirm a Tree Within Clusters, Three Ways",
      "topics": [
        "confirm_within"
      ]
    },
    {
      "page": "ctree_stacked",
      "title": "Conditional Inference Tree on Stacked Multiply Imputed Data",
      "topics": [
        "ctree_stacked"
      ]
    },
    {
      "page": "discover_confirm",
      "title": "Discover a Tree and Confirm It on Held-Out Data",
      "topics": [
        "discover_confirm"
      ]
    },
    {
      "page": "node_table",
      "title": "Terminal-Node Summary With Effective Sample Sizes",
      "topics": [
        "node_table"
      ]
    },
    {
      "page": "print.ctreeMI",
      "title": "Print Method for ctreeMI Objects",
      "topics": [
        "print.ctreeMI"
      ]
    },
    {
      "page": "print.ctreeMI_nodes",
      "title": "Print a Node Table",
      "topics": [
        "print.ctreeMI_nodes"
      ]
    },
    {
      "page": "print.ctreeMI_report",
      "title": "Print a Methods Paragraph",
      "topics": [
        "print.ctreeMI_report"
      ]
    },
    {
      "page": "prune_stackM",
      "title": "Prune a Stacked Tree Using the Stack / M Correction",
      "topics": [
        "prune_stackM"
      ]
    },
    {
      "page": "prune_unconfirmed",
      "title": "Collapse Splits That Did Not Confirm",
      "topics": [
        "prune_unconfirmed"
      ]
    },
    {
      "page": "report_confirm",
      "title": "A Methods Paragraph For a Discover-Then-Confirm Analysis",
      "topics": [
        "report_confirm"
      ]
    },
    {
      "page": "report_ctreeMI",
      "title": "A Methods Paragraph For a ctreeMI Analysis",
      "topics": [
        "report_ctreeMI"
      ]
    },
    {
      "page": "rescale_statistic",
      "title": "Rescale a Node-Level Test Statistic for Stacking",
      "topics": [
        "rescale_statistic"
      ]
    },
    {
      "page": "split_holdout",
      "title": "Split Data Into Discovery and Confirmation Sets",
      "topics": [
        "split_holdout"
      ]
    },
    {
      "page": "stack_imputations",
      "title": "Stack Multiply Imputed Datasets",
      "topics": [
        "stack_imputations"
      ]
    },
    {
      "page": "summary.ctreeMI",
      "title": "Summary Method for ctreeMI Objects",
      "topics": [
        "summary.ctreeMI"
      ]
    }
  ],
  "_readme": "https://github.com/phillip-sherlock/ctreemi/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bit",
    "bit64",
    "boot",
    "broom",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "dplyr",
    "forcats",
    "foreach",
    "Formula",
    "generics",
    "glmnet",
    "glue",
    "haven",
    "hms",
    "inum",
    "iterators",
    "jomo",
    "lattice",
    "libcoin",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "mice",
    "minqa",
    "mitml",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "ordinal",
    "pan",
    "partykit",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "rpart",
    "sandwich",
    "shape",
    "stringi",
    "stringr",
    "strucchange",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "discover-then-confirm.Rmd",
      "filename": "discover-then-confirm.html",
      "title": "Discover, then confirm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The problem this workflow solves",
        "A worked example",
        "What the confirmation tests",
        "Acting on the result",
        "Outcome types",
        "Clustered data",
        "What to report"
      ],
      "created": "2026-11-06 21:41:48",
      "modified": "2026-11-06 21:41:48",
      "commits": 1
    },
    {
      "source": "few-clusters.Rmd",
      "filename": "few-clusters.html",
      "title": "Few clusters: the within-cluster design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "When splitting whole clusters leaves too few to confirm on",
        "Why the extra steps are needed",
        "A worked example",
        "What the claim is",
        "What the design has been checked against",
        "Doing it by hand"
      ],
      "created": "2026-11-06 21:41:48",
      "modified": "2026-11-06 21:41:48",
      "commits": 1
    }
  ],
  "_score": 4.845098040014257,
  "_indexed": true,
  "_nocasepkg": "ctreemi",
  "_universes": [
    "phillip-sherlock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-11-08T13:21:05.000Z",
      "distro": "resolute",
      "commit": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
      "fileid": "https://r2.ropensci.org/06b389e0aa9c20db2af62904a64abfe8e355e792030e2ef82b199bb44a43c67c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phillip-sherlock/actions/runs/42484032196"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-11-08T13:20:32.000Z",
      "distro": "resolute",
      "commit": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
      "fileid": "https://r2.ropensci.org/1f9046aceb669c6922889c2639efb763d379c7355a1469c8410cf5087b358d86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phillip-sherlock/actions/runs/42484032196"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-11-08T13:20:24.000Z",
      "commit": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
      "fileid": "https://r2.ropensci.org/8f3391514922009be48c93f09b9b8ad3da7e6b87b302c35f5a89637ead4f0ff9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phillip-sherlock/actions/runs/42484032196"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-11-08T13:20:18.000Z",
      "commit": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
      "fileid": "https://r2.ropensci.org/a3da6bbf9a542e3a20339c93084b3424f7a3361d08a3cb05a09667161ca3e578",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phillip-sherlock/actions/runs/42484032196"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-11-08T13:20:26.000Z",
      "commit": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
      "fileid": "https://r2.ropensci.org/c8a8a6b65327b52171aee722c093b3ffd4a076188e2c14c1b9d0dded9358cee9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/phillip-sherlock/actions/runs/42484032196"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-11-08T13:20:16.000Z",
      "commit": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
      "fileid": "https://r2.ropensci.org/9ab4fb441a80fc60e1c5f38a4cb1fe9c38c16382797aefde7bf28d48a2a90d27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phillip-sherlock/actions/runs/42484032196"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-11-08T13:19:43.000Z",
      "commit": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
      "fileid": "https://r2.ropensci.org/380fac39b61e2b2e6abb2cb7364eb5d769db00660c10bac00f2189ad16c0464f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phillip-sherlock/actions/runs/42484032196"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-11-08T13:19:33.000Z",
      "commit": "e903d4ab9407f03ec3204eace5f4e4bc2211c3b9",
      "fileid": "https://r2.ropensci.org/be7d29990deb1fe69f4b2fb0105a53907f3dc104449238999620b231e2811aa5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phillip-sherlock/actions/runs/42484032196"
    }
  ]
}