No articles match
Prior-Data Conflict Diagnostics4 days ago
Why Conflict Diagnostics Matter | Supported Data Types | Univariate Conflict: prior_conflict() | Binary Data | The Diagnostics Explained | 1. Box's Prior Predictive P-value | Exact prior predictive version | 2. S-value (Surprisal) | 3. Surprise Index | 4. KL Divergence | 5. Bhattacharyya Overlap Coefficient | Threshold Summary | Prior-Likelihood-Posterior Overlay | Continuous Endpoint Conflict | Poisson / Count Data Conflict | Survival / Time-to-Event Data Conflict | Compatibility Validation | Mixture Prior Conflict | Multivariate Conflict: conflict_mahalanobis() | Conflict Severity Classification | References
Regulatory Reporting13 days ago
Regulatory Context | The Prior Justification Report | What It Contains | Output Formats | Generating a Report | The Notes Field | The FDA/EMA Compliance Checklist | Session Reproducibility | Working with the Shiny App | Pre-Submission Checklist | References
Using bayprior Priors with rstanarm and brms15 days ago
Overview | Deriving the prior | Handoff to rstanarm | Handoff to brms | Summary
Introduction to bayprior29 days ago
Overview | Prior Elicitation | Beta Prior (Binary Endpoints) | Quantile Matching | Moment Matching | Normal Prior (Continuous Endpoints) | Gamma Prior (Rate / Count Endpoints) | Log-Normal Prior (Hazard Ratios) | Roulette Method | Expert Pooling | Linear Pooling | Manual Mixture Construction | Meta-Analytic-Predictive (MAP) Priors | Prior-Data Conflict Diagnostics | Sensitivity Analysis | Tornado Plot | Influence Heatmap | Credible Interval Sensitivity | Robust and Sceptical Priors | Robust Mixture Prior | Sceptical Prior | Power Prior Calibration | Multivariate Conflict Diagnostics | Generating a Prior Justification Report | Complete Worked Example | Function Reference | References
Robust, Sceptical, and Power Priors29 days ago
Overview | Robust Mixture Prior | Concept | Usage | Varying the Vague Weight | Vague SD Multiplier | Deriving the Informative Prior from Historical Trials (MAP) | Getting y and se from Raw Trial Data | Choosing the Heterogeneity Prior Scale | Inspecting the Heterogeneity Posterior | Sceptical Prior | Normal Family (Mean Differences, Log Odds Ratios) | Beta Family (Response Rates) | Log-Normal Family (Hazard Ratios) | Enthusiastic vs Sceptical Pair | Power Prior | Calibrating $\delta$ | Compatibility Method | Power Prior for Other Families | Choosing the Right Alternative Prior | Including Robust Priors in the Regulatory Report | References
Sensitivity Analysis3 months ago
Why Sensitivity Analysis Is Required | Supported Data Types | Binary Data | Credible Interval Sensitivity | Poisson / Count Data | Survival / Time-to-Event Data | Continuous Endpoints | Interpreting Influence Scores | Mixture Prior Sensitivity | Regulatory Reporting | References
Getting started with lineager3 months ago
1. Start a session | 2. Tag your source datasets | Tagging multiple datasets | 3. Derive new variables | 4. Join datasets with lineage tracking | 5. Filter with mandatory exclusion reasons | 6. The session operation log | 7. End the session | 8. Complete minimal workflow | 9. Visualise the pipeline
Populations, variable specifications, and reporting3 months ago
Setup: a complete pipeline | Derive analysis variables | 1. lg_population(): documenting analysis sets | Multiple populations | What lg_population() records | print method | 2. lg_spec(): documenting variable derivations | Documenting flag derivations | Overwriting a spec | 3. lg_report(): generating the provenance report | In-memory report (inspect without writing to disk) | Write to file | Report arguments | 4. A note on CDISC-specific usage | 5. Visualise the pipeline lineage | 6. End the session
Exclusion tracking and subject tracing4 months ago
Setup: a realistic multi-stage pipeline | 1. lg_filter() in depth | Mandatory reason | reason_code: machine-readable classification | population: grouping exclusions by analysis set | 2. The exclusion registry | Filter by population | Filter by dataset | The exclusion record structure | 3. Disposition tables | Group by reason | Group by population | Group by dataset | 4. Subject tracing | Tracing an excluded subject | Tracing an included subject | Tracing a subject not found | Using the trace result programmatically | 5. The operation log | 6. Visualise exclusions as a lineage graph | 7. Common patterns | Cascaded filters with verbose tracking
Getting started with regulog4 months ago
1. Initialise a session | 2. Log actions | 3. Log field changes | 4. Log notes and decisions | 5. Logging data reads | Single reads with rl_read() | Scoped logging with with_log() | 6. Electronic signatures | 7. Verify chain integrity | 8. Query the log | 9. Convert to data frame | 10. Export the audit trail | 11. Entry type reference | 12. Validation (regulated environments) | Running the protocols | Capturing the qualification record | Requirements traceability | Logging the qualification itself | Re-qualification
Shiny integration4 months ago
1. Basic pattern | 2. User resolution | 3. Session lifecycle events | 4. Using regulog_observer() | 5. Notes and decisions from Shiny | 6. Logging data changes from Shiny | 7. Electronic signatures from Shiny | 8. Download handler for the audit trail | 9. Per-session vs shared log | Per-session (default) | Shared log across users | 10. Querying and verifying from outside the app | 11. Logging data reads from Shiny | 12. Complete minimal example
The hash chain: how tamper detection works4 months ago
1. The genesis record | 2. How entries are hashed | 3. Verification | 4. What tampering looks like | 4a. Modifying an entry's content | 4b. Deleting an entry | 4c. Breaking the prev_hash directly | 5. What the chain does NOT protect against | 6. Verifying a file without a live session | 7. Working with persistent .rlog files | 8. The NDJSON format | 9. Archival and long-term storage | 10. Hash algorithm
Auditing scripts and scoring risk4 months ago
How audit_script() detects calls | What gets skipped | Single-file vs directory scan | Version resolution | The audit_report object | How risk_score() works | Check 1: "changelog" — the breaking-changes database | Check 2: "seed_check" — missing set.seed() | Check 3: "locale_check" — locale-sensitive operations | Combining checks and filtering | Working with the results | Practical interpretation
Certifying outputs and detecting drift4 months ago
The problem they solve — a real scenario | Scenario — The revision drift problem | certify() — creating a baseline | What gets hashed | Choosing what to certify | Tags and the certification store | list_certs() — inspecting the store | check_drift() — comparing against a baseline | Basic usage | The four statuses | Using "latest" | Using drift results programmatically | Recommended workflow | At submission | After reviewer comments | Version control
Generating reports and badges4 months ago
repro_report() — generating reports | The verdict | Style: "minimal" | Style: "academic" | Style: "pharma" | Format: "md" and "html" | All nine combinations | repro_badge() — status badges | Badge colours | Inserting into README.md | Removing a badge | Full CI pipeline
Getting started with reproducr4 months ago
What is reproducr? | Why this matters — real failure modes | Scenario 1 — The collaborator upgrade problem | Scenario 2 — The server deployment problem | Scenario 3 — The renv false sense of security | Tier 1: Scan and score | Auditing a script | Scoring for risk | Tier 2: Baseline and drift detection | Certifying outputs | Checking for drift | Tier 3: Report and export | The full pipeline
Contributing to the breaking-changes database5 months ago
What belongs in the database | Examples of things that belong | Examples of things that do not belong | The database schema | The version window | Rules for setting to_version | Quick reference | Risk levels | Finding candidates | From NEWS.md files | From your own experience | Writing an entry | Testing your entry | Submitting a pull request | Minimum test for a new entry | Keeping the database current
Prior Elicitation Methods5 months ago
Overview | Distribution Families | Elicitation Methods | Beta Prior (Binary Endpoints) | Quantile Matching | Moment Matching | Normal Prior (Continuous Endpoints) | Gamma Prior (Rate and Count Endpoints) | Log-Normal Prior (Hazard Ratios) | Exponential Prior (Constant Hazard Rates) | Method: moments | Method: rate | Method: quantile | Conjugate update | Weibull Prior (Non-Constant Hazard Survival Times) | Method: params | Posterior approximation note | Roulette Method | Expert Pooling | Linear Pooling | Pooling Compatibility | Prior Object Structure | References