{
  "_id": "6a20341bcd65a98ecbd10acb",
  "Package": "gsDesignNB",
  "Version": "0.3.2",
  "Title": "Sample Size and Simulation for Negative Binomial Outcomes",
  "Authors@R": "c(\nperson(\"Keaven\", \"Anderson\", email = \"keaven_anderson@merck.com\", role = c(\"aut\", \"cre\")),\nperson(\"Hongtao\", \"Zhang\", role = \"aut\"),\nperson(\"Andrea\", \"Maes\", role = \"aut\"),\nperson(\"Nan\", \"Xiao\", role = \"ctb\"),\nperson(\"Merck & Co., Inc., Rahway, NJ, USA and its affiliates\", role = \"cph\",\ncomment = c(ROR = \"02891sr49\"))\n)",
  "Description": "Provides tools for planning and simulating recurrent event\ntrials with overdispersed count endpoints analyzed using\nnegative binomial (or Poisson) rate models. Implements sample\nsize and power calculations for fixed designs with variable\naccrual, dropout, maximum follow-up, and event gaps, including\nmethods of Zhu and Lakkis (2014) <doi:10.1002/sim.5947> and\nFriede and Schmidli (2010) <doi:10.3414/ME09-02-0060> as well\nas extensions for score-test sizing and gaps between events.\nSupports group sequential monitoring by building on the\n'gsDesign' package. Includes recurrent-event simulation\nutilities (including seasonal rates), interim data truncation,\nWald and score-test inference for rate ratios, and blinded or\nunblinded information estimation and sample size re-estimation.",
  "License": "GPL (>= 3)",
  "URL": "https://keaven.github.io/gsDesignNB/,\nhttps://github.com/keaven/gsDesignNB",
  "BugReports": "https://github.com/keaven/gsDesignNB/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nlibssl-dev libnode-dev",
  "Repository": "https://keaven.r-universe.dev",
  "Date/Publication": "2026-05-01 14:23:27 UTC",
  "RemoteUrl": "https://github.com/keaven/gsdesignnb",
  "RemoteRef": "HEAD",
  "RemoteSha": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 13:56:14 UTC",
    "User": "root"
  },
  "Author": "Keaven Anderson [aut, cre],\nHongtao Zhang [aut],\nAndrea Maes [aut],\nNan Xiao [ctb],\nMerck & Co., Inc., Rahway, NJ, USA and its affiliates [cph] (ROR:\n<https://ror.org/02891sr49>)",
  "Maintainer": "Keaven Anderson <keaven_anderson@merck.com>",
  "MD5sum": "3de122365939adaaf40776d05957b7f2",
  "_user": "keaven",
  "_type": "src",
  "_file": "gsDesignNB_0.3.2.tar.gz",
  "_fileid": "92288606de9a0761bf99caf4b629901ef9a9cd16d8c36f221b9e50d157f09e68",
  "_filesize": 46949871,
  "_sha256": "92288606de9a0761bf99caf4b629901ef9a9cd16d8c36f221b9e50d157f09e68",
  "_created": "2026-06-03T13:56:14.000Z",
  "_published": "2026-06-03T14:03:07.511Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79311439638,
      "time": 337,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7386809352"
    },
    {
      "job": 79311439626,
      "time": 341,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7386811222"
    },
    {
      "job": 79311439642,
      "time": 203,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7386751823"
    },
    {
      "job": 79311439717,
      "time": 259,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7386775075"
    },
    {
      "job": 79309235395,
      "time": 610,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386660092"
    },
    {
      "job": 79311439641,
      "time": 167,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386736418"
    },
    {
      "job": 79311439684,
      "time": 276,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7386782925"
    },
    {
      "job": 79311439522,
      "time": 297,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7386791445"
    },
    {
      "job": 79311439697,
      "time": 270,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7386780093"
    }
  ],
  "_buildurl": "https://github.com/r-universe/keaven/actions/runs/26888962739",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/keaven/gsdesignnb",
  "_commit": {
    "id": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
    "author": "keaven <temzq@yahoo.com>",
    "committer": "keaven <temzq@yahoo.com>",
    "message": "Merge score-test SSR guidance\n\n# Conflicts:\n#\t.Rbuildignore\n#\t.gitignore\n",
    "time": 1777645407
  },
  "_maintainer": {
    "name": "Keaven Anderson",
    "email": "keaven_anderson@merck.com",
    "login": "keaven",
    "description": "Keaven Anderson is a statistician who has supported the gsDesign R package for group sequential design since 2006. ",
    "uuid": 1045995
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "gsDesign",
      "version": ">= 3.9.0",
      "role": "Imports"
    },
    {
      "package": "simtrial",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "glmmTMB",
      "role": "Suggests"
    },
    {
      "package": "httpuv",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "foreach",
      "role": "Suggests"
    },
    {
      "package": "doFuture",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "future.apply",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "crosstalk",
      "role": "Suggests"
    }
  ],
  "_owner": "keaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 20
    },
    {
      "week": "2025-49",
      "n": 45
    },
    {
      "week": "2025-50",
      "n": 29
    },
    {
      "week": "2025-51",
      "n": 46
    },
    {
      "week": "2026-03",
      "n": 6
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 3
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "FirstFunctionalRelease",
      "date": "2025-12-05"
    },
    {
      "name": "v0.2.1",
      "date": "2025-12-15"
    },
    {
      "name": "v0.2.3",
      "date": "2025-12-16"
    },
    {
      "name": "v0.2.6",
      "date": "2026-02-12"
    },
    {
      "name": "v0.3.2",
      "date": "2026-05-01"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "keaven",
      "count": 196,
      "uuid": 1045995
    },
    {
      "user": "nanxstats",
      "count": 51,
      "uuid": 199363
    },
    {
      "user": "copilot",
      "count": 7,
      "uuid": 198982749
    },
    {
      "user": "jdblischak",
      "count": 1,
      "uuid": 1608317
    }
  ],
  "_userbio": {
    "uuid": 1045995,
    "type": "user",
    "name": "Keaven",
    "description": "Keaven Anderson is a statistician who has supported the gsDesign R package for group sequential design since 2006. "
  },
  "_downloads": {
    "count": 134,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gsDesignNB"
  },
  "_devurl": "https://github.com/keaven/gsdesignnb",
  "_pkgdown": "https://keaven.github.io/gsDesignNB/",
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gsDesignNB.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/keaven/gsdesignnb",
  "_realowner": "keaven",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.6",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "blinded_ssr",
    "calculate_blinded_info",
    "check_gs_bound",
    "compute_info_at_time",
    "cut_completers",
    "cut_data_by_date",
    "cut_date_for_completers",
    "estimate_nb_mom",
    "fit_nb_glmm",
    "get_analysis_date",
    "get_cut_date",
    "gsBoundSummary",
    "gsDesign",
    "gsNBCalendar",
    "impute_nb",
    "impute_nb_composite",
    "impute_nb_mar",
    "impute_nb_mnar_ref",
    "mutze_test",
    "nb_sim",
    "nb_sim_seasonal",
    "preview_pkgdown_site",
    "run_ssr_shiny",
    "sample_size_nbinom",
    "sfBetaDist",
    "sfCauchy",
    "sfExponential",
    "sfExtremeValue",
    "sfExtremeValue2",
    "sfGapped",
    "sfHSD",
    "sfLDOF",
    "sfLDPocock",
    "sfLinear",
    "sfLogistic",
    "sfNormal",
    "sfPoints",
    "sfPower",
    "sfStep",
    "sfTDist",
    "sfTrimmed",
    "sfTruncated",
    "sfXG1",
    "sfXG2",
    "sfXG3",
    "sim_gs_nbinom",
    "sim_ssr_nbinom",
    "summarize_gs_sim",
    "summarize_ssr_sim",
    "toInteger",
    "unblinded_ssr"
  ],
  "_help": [
    {
      "page": "blinded_ssr",
      "title": "Blinded sample size re-estimation for recurrent events",
      "topics": [
        "blinded_ssr"
      ]
    },
    {
      "page": "calculate_blinded_info",
      "title": "Calculate blinded statistical information",
      "topics": [
        "calculate_blinded_info"
      ]
    },
    {
      "page": "check_gs_bound",
      "title": "Check group sequential bounds",
      "topics": [
        "check_gs_bound"
      ]
    },
    {
      "page": "compute_info_at_time",
      "title": "Compute statistical information at analysis time",
      "topics": [
        "compute_info_at_time"
      ]
    },
    {
      "page": "cut_completers",
      "title": "Cut data for completers analysis",
      "topics": [
        "cut_completers"
      ]
    },
    {
      "page": "cut_data_by_date",
      "title": "Cut simulated trial data at a calendar date",
      "topics": [
        "cut_data_by_date",
        "cut_data_by_date.default",
        "cut_data_by_date.nb_sim_data",
        "cut_data_by_date.nb_sim_seasonal"
      ]
    },
    {
      "page": "cut_date_for_completers",
      "title": "Find calendar date for target completer count",
      "topics": [
        "cut_date_for_completers"
      ]
    },
    {
      "page": "estimate_nb_mom",
      "title": "Method of Moments Estimation for Negative Binomial Parameters",
      "topics": [
        "estimate_nb_mom"
      ]
    },
    {
      "page": "fit_nb_glmm",
      "title": "Fit a negative binomial GLMM for count imputation",
      "topics": [
        "fit_nb_glmm"
      ]
    },
    {
      "page": "get_analysis_date",
      "title": "Find calendar date for target event count",
      "topics": [
        "get_analysis_date"
      ]
    },
    {
      "page": "get_cut_date",
      "title": "Determine analysis date based on criteria",
      "topics": [
        "get_cut_date"
      ]
    },
    {
      "page": "gsNBCalendar",
      "title": "Group sequential design for negative binomial outcomes",
      "topics": [
        "gsNBCalendar"
      ]
    },
    {
      "page": "impute_nb",
      "title": "Multiple imputation for longitudinal negative binomial counts",
      "topics": [
        "impute_nb"
      ]
    },
    {
      "page": "impute_nb_composite",
      "title": "Apply the composite ICE strategy: replace post-ICE outcomes with baseline",
      "topics": [
        "impute_nb_composite"
      ]
    },
    {
      "page": "impute_nb_mar",
      "title": "Impute missing counts under Missing at Random (MAR)",
      "topics": [
        "impute_nb_mar"
      ]
    },
    {
      "page": "impute_nb_mnar_ref",
      "title": "Impute missing counts under a reference-based MNAR assumption",
      "topics": [
        "impute_nb_mnar_ref"
      ]
    },
    {
      "page": "mutze_test",
      "title": "Wald or score test for treatment effect using negative binomial model",
      "topics": [
        "mutze_test",
        "print.mutze_test"
      ]
    },
    {
      "page": "nb_sim",
      "title": "Simulate recurrent events with fixed follow-up",
      "topics": [
        "nb_sim"
      ]
    },
    {
      "page": "nb_sim_seasonal",
      "title": "Simulate recurrent events with seasonal rates",
      "topics": [
        "nb_sim_seasonal"
      ]
    },
    {
      "page": "preview_pkgdown_site",
      "title": "Preview built pkgdown site in the browser",
      "topics": [
        "preview_pkgdown_site"
      ]
    },
    {
      "page": "print.gsNBsummary",
      "title": "Print method for gsNBsummary objects",
      "topics": [
        "print.gsNBsummary"
      ]
    },
    {
      "page": "print.sample_size_nbinom_result",
      "title": "Print method for sample_size_nbinom_result objects",
      "topics": [
        "print.sample_size_nbinom_result"
      ]
    },
    {
      "page": "print.sample_size_nbinom_summary",
      "title": "Print method for sample_size_nbinom_summary objects",
      "topics": [
        "print.sample_size_nbinom_summary"
      ]
    },
    {
      "page": "run_ssr_shiny",
      "title": "Launch the SSR Shiny prototype",
      "topics": [
        "run_ssr_shiny"
      ]
    },
    {
      "page": "sample_size_nbinom",
      "title": "Sample size calculation for negative binomial outcomes",
      "topics": [
        "sample_size_nbinom"
      ]
    },
    {
      "page": "sim_gs_nbinom",
      "title": "Simulate group sequential clinical trial for negative binomial outcomes",
      "topics": [
        "sim_gs_nbinom"
      ]
    },
    {
      "page": "sim_ssr_nbinom",
      "title": "Simulate adaptive group sequential trials with sample size re-estimation",
      "topics": [
        "sim_ssr_nbinom"
      ]
    },
    {
      "page": "summarize_gs_sim",
      "title": "Summarize group sequential simulation results",
      "topics": [
        "summarize_gs_sim"
      ]
    },
    {
      "page": "summarize_ssr_sim",
      "title": "Summarize adaptive SSR simulation results",
      "topics": [
        "summarize_ssr_sim"
      ]
    },
    {
      "page": "summary.gsNB",
      "title": "Summary for gsNB objects",
      "topics": [
        "summary.gsNB"
      ]
    },
    {
      "page": "summary.sample_size_nbinom_result",
      "title": "Summary for sample_size_nbinom_result objects",
      "topics": [
        "summary.sample_size_nbinom_result"
      ]
    },
    {
      "page": "toInteger",
      "title": "Convert group sequential design to integer sample sizes",
      "topics": [
        "toInteger",
        "toInteger.gsDesign",
        "toInteger.gsNB"
      ]
    },
    {
      "page": "unblinded_ssr",
      "title": "Unblinded sample size re-estimation for recurrent events",
      "topics": [
        "unblinded_ssr"
      ]
    }
  ],
  "_readme": "https://github.com/keaven/gsdesignnb/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bigD",
    "bitops",
    "bslib",
    "cachem",
    "cli",
    "codetools",
    "commonmark",
    "cpp11",
    "curl",
    "data.table",
    "digest",
    "doFuture",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gsDesign",
    "gt",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "litedown",
    "magrittr",
    "markdown",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "mvtnorm",
    "parallelly",
    "pillar",
    "pkgconfig",
    "purrr",
    "r2rtf",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reactable",
    "reactR",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "simtrial",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "xtable",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "blinded-info-diagnostics.Rmd",
      "filename": "blinded-info-diagnostics.html",
      "title": "Diagnosing Blinded Information Calculation Issues",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Dataset 1: Near-Zero Blinded Information",
        "Event Counts Summary",
        "Event Distribution",
        "Event Rates by Patient",
        "Violin Plot of Event Rates",
        "What Happened with the Information Calculations",
        "Root Cause Analysis",
        "Method of Moments Comparison",
        "Dataset 2: Extreme High Blinded Information",
        "Why the Mutze Test Falls Back to Poisson",
        "Summary of Issues",
        "Recommendations"
      ],
      "created": "2026-01-14 22:54:54",
      "modified": "2026-05-01 14:23:27",
      "commits": 3
    },
    {
      "source": "group-sequential-simulation.Rmd",
      "filename": "group-sequential-simulation.html",
      "title": "Group sequential design and simulation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Trial design parameters",
        "Sample size calculation",
        "Group sequential design",
        "Simulation study",
        "Load simulation results",
        "Simulation results summary",
        "Summary of verification results",
        "Overall operating characteristics",
        "Power comparison by analysis",
        "Visualization of Z-statistics",
        "Notes"
      ],
      "created": "2025-12-13 11:13:56",
      "modified": "2026-05-01 14:23:27",
      "commits": 16
    },
    {
      "source": "completers-interim-example.Rmd",
      "filename": "completers-interim-example.html",
      "title": "Group sequential simulation with completers analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulation setup",
        "Simulation loop",
        "Results summary",
        "Visualization",
        "Group sequential design evaluation"
      ],
      "created": "2025-12-13 11:13:56",
      "modified": "2025-12-20 13:11:54",
      "commits": 3
    },
    {
      "source": "multiple-imputation-nb.Rmd",
      "filename": "multiple-imputation-nb.html",
      "title": "Multiple imputation for longitudinal negative binomial counts",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Statistical background",
        "Negative binomial count model",
        "Imputation draw",
        "Bootstrap–MI combination",
        "Worked example",
        "Simulating longitudinal count data",
        "Introducing missing data by mechanism",
        "Running impute_nb()",
        "Inspecting imputed values",
        "Comparing imputed means by strategy",
        "Pooled analysis with Rubin's rules (standard MI)",
        "Bootstrap–MI for variance estimation",
        "Using the building-block functions directly",
        "Step 1 — Fit the GLMM",
        "Step 2 — MAR imputation",
        "Step 3 — MNAR reference-based imputation",
        "Step 4 — Composite strategy (no model required)",
        "Key considerations",
        "Session info"
      ],
      "created": "2026-04-21 22:27:18",
      "modified": "2026-04-21 22:27:18",
      "commits": 1
    },
    {
      "source": "non-inferiority-example.Rmd",
      "filename": "non-inferiority-example.html",
      "title": "Non-inferiority and super-superiority designs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Non-inferiority design",
        "Super-superiority design"
      ],
      "created": "2025-12-20 16:33:07",
      "modified": "2025-12-20 16:33:07",
      "commits": 1
    },
    {
      "source": "sample-size-nbinom.Rmd",
      "filename": "sample-size-nbinom.html",
      "title": "Sample size calculation for negative binomial outcomes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Notation",
        "Methodology",
        "Negative binomial distribution",
        "Gamma-Poisson mixture motivation",
        "Graphical illustration",
        "Sample size formula",
        "Relationship between Zhu-Lakkis, Friede-Schmidli, and Mutze et al.",
        "Non-inferiority and super-superiority",
        "Average exposure",
        "Setup",
        "Calendar exposure without dropout",
        "Calendar exposure with dropout",
        "Maximum follow-up",
        "Weighted average across segments",
        "Group-specific parameters",
        "Variance inflation for variable follow-up ($Q$ factor)",
        "Event gaps",
        "Simulation verification of average exposure",
        "Statistical information",
        "Per-subject Fisher information",
        "Total information",
        "Information in practice: blinded and unblinded estimation",
        "Connection to sample size",
        "Examples",
        "Basic calculation [@zhu2014sample]",
        "Piecewise constant accrual",
        "Accrual with dropout and max follow-up",
        "Group-specific dropout rates",
        "Calculating power for fixed design",
        "Unequal allocation",
        "Example with event gap",
        "References"
      ],
      "created": "2025-12-13 11:13:56",
      "modified": "2026-05-01 14:23:27",
      "commits": 15
    },
    {
      "source": "ssr-example.Rmd",
      "filename": "ssr-example.html",
      "title": "Sample size re-estimation example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Trial setup and initial design",
        "Initial sample size calculation",
        "End-to-end helper workflow",
        "Simulation",
        "Interim analysis",
        "Information computation",
        "Sample size re-estimation",
        "Final analysis",
        "Updating bounds",
        "References"
      ],
      "created": "2025-12-19 11:19:34",
      "modified": "2026-04-11 13:22:55",
      "commits": 4
    },
    {
      "source": "score-vs-wald-simulation.Rmd",
      "filename": "score-vs-wald-simulation.html",
      "title": "Score vs Wald tests and sample-size recommendations",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Load pre-computed results",
        "Scenario grid",
        "Type I error comparison",
        "Power comparison",
        "Z-score density comparison (null simulations)",
        "Fallback method frequency",
        "Summary"
      ],
      "created": "2026-05-01 14:23:27",
      "modified": "2026-05-01 14:23:27",
      "commits": 1
    },
    {
      "source": "seasonal-simulation.Rmd",
      "filename": "seasonal-simulation.html",
      "title": "Seasonal event simulation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulation setup",
        "Define parameters",
        "Run simulation",
        "Analysis at a cut date",
        "Seasonal and treatment effect estimation",
        "Variance and information"
      ],
      "created": "2025-12-13 11:13:56",
      "modified": "2025-12-20 13:11:54",
      "commits": 3
    },
    {
      "source": "simulation-example.Rmd",
      "filename": "simulation-example.html",
      "title": "Simulating recurrent events",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulation setup",
        "Defining input parameters",
        "Running the simulation",
        "Analyzing the data",
        "Inspect first ten records",
        "Plotting events",
        "Cutting data by analysis date",
        "Missing data assumptions and imputation",
        "Wald test [@mutze2019group]",
        "Finding analysis date for target events",
        "Generating and verifying negative binomial data",
        "Simulation with dispersion",
        "Verifying the dispersion parameter",
        "Visualizing the distribution",
        "References"
      ],
      "created": "2025-12-13 11:13:56",
      "modified": "2026-05-01 14:23:27",
      "commits": 8
    },
    {
      "source": "ssr-simulation-study.Rmd",
      "filename": "ssr-simulation-study.html",
      "title": "SSR simulation study",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Planned trial design",
        "Fixed design",
        "Group sequential design",
        "Group sequential sample size under each nuisance scenario",
        "Expected information fraction at planned time of each interim",
        "Scenario grid",
        "Simulation engine",
        "Running simulations",
        "Results",
        "Starting sample-size sensitivity",
        "Power by rate ratio and SSR strategy",
        "Power by nuisance scenario",
        "Adapted sample size distribution",
        "Expected sample size at study stop",
        "Calendar and information at each analysis",
        "Discussion",
        "Key findings",
        "Information-based interim timing",
        "Futility at low information",
        "Blinded information fallback",
        "Computational considerations",
        "References"
      ],
      "created": "2026-02-24 00:34:47",
      "modified": "2026-05-01 14:23:27",
      "commits": 3
    },
    {
      "source": "ai-skills.Rmd",
      "filename": "ai-skills.html",
      "title": "Using the gsDesignNB AI skill",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Purpose",
        "Example task",
        "Time-scale setup",
        "Wald versus score sizing",
        "Calendar-time group sequential design",
        "Simulate, cut, and test a small data set",
        "Production workflow reminder",
        "What this skill is and is not"
      ],
      "created": "2026-05-01 14:23:27",
      "modified": "2026-05-01 14:23:27",
      "commits": 1
    },
    {
      "source": "verification-simulation.Rmd",
      "filename": "verification-simulation.html",
      "title": "Verification of sample size calculation via simulation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Simulation design",
        "Parameters",
        "Theoretical calculation",
        "Simulation results",
        "Power comparison",
        "Summary of verification results (corrected design)",
        "Distribution of the test statistic",
        "Wald vs score Z-score comparison",
        "Distribution statistics for log(RR)",
        "Type I error: Wald vs score test",
        "Scenario sweep: impact of the Jensen correction",
        "Discussion: why we apply the correction"
      ],
      "created": "2025-12-13 11:13:56",
      "modified": "2026-05-01 14:23:27",
      "commits": 11
    }
  ],
  "_score": 6.647969458362972,
  "_indexed": true,
  "_nocasepkg": "gsdesignnb",
  "_universes": [
    "keaven"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-06-03T13:59:41.000Z",
      "distro": "noble",
      "commit": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
      "fileid": "138417d665bf125879eb6e0ac11e271cbbd09506d51d157f7f7b7563dba3ebe2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26888962739"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-06-03T13:59:52.000Z",
      "distro": "noble",
      "commit": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
      "fileid": "5cb29a6b3052c0e23d08b25d1e7048450e54c059d432390f7415fc5045540f93",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26888962739"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-06-03T13:58:21.000Z",
      "commit": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
      "fileid": "ea12b1e5a3213d7dde07498ca2e98ab8c8b5de84059cec9bc4f4690dc1ccdd9b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26888962739"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-06-03T13:58:37.000Z",
      "commit": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
      "fileid": "bef7fe762731d86222c487bb95c0ce71defcc5b7f7d944d96de4ad4b7935f0ec",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26888962739"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-06-03T13:59:35.000Z",
      "commit": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
      "fileid": "46d72616d0e92e6d4ff7d2aab9a17818e03c2897219dcaf73138b459380bc354",
      "status": "success",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26888962739"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-06-03T13:58:06.000Z",
      "commit": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
      "fileid": "47dccbcacca45b57fd377a3789e898e35c2203a4568d61504999bcbad5043628",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26888962739"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-06-03T13:58:21.000Z",
      "commit": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
      "fileid": "37cde542d1cd4ae9f538c32a7243f8c605b9e5d7adaf3634e8b46a43c6f838b5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26888962739"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-06-03T13:58:01.000Z",
      "commit": "22931f2a7c360fd08d189dd587b2d0edcef5807c",
      "fileid": "0bded47b8acfc99cb92396ee0ee02ad452615b2fe7b4cb929cfca30afc140db2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26888962739"
    }
  ]
}