# \#simulation

**URL:** https://discourse.datamethods.org/tag/simulation/87.md

[Latest](https://discourse.datamethods.org/latest.md) · [Categories](https://discourse.datamethods.org/categories.md) · [Tags](https://discourse.datamethods.org/tags.md)

---

## [Sample size calculation for Paired Data using ordinal models](https://discourse.datamethods.org/t/sample-size-calculation-for-paired-data-using-ordinal-models/28685)

<div class="topic-metadata">

**Author:** [@Mahmoud-Hamza](https://discourse.datamethods.org/u/Mahmoud-Hamza)\
**Replies:** 1\
**Last updated:** [March 31, 2026, 4:03pm UTC](https://discourse.datamethods.org/t/sample-size-calculation-for-paired-data-using-ordinal-models/28685 "2026-03-31T16:03:21Z")

</div>

I came across this blog post by Prof. Harrell Ordinal Models for Paired Data – Statistical Thinking. I was trying to replicate the simulation in order to estimate the sample size for my paired study. Eveyrthing works pe…

---

## [Critique of paper on generalizability of oncology trials](https://discourse.datamethods.org/t/critique-of-paper-on-generalizability-of-oncology-trials/28523)

<div class="topic-metadata">

**Author:** [@f2harrell](https://discourse.datamethods.org/u/f2harrell)\
**Replies:** 27\
**Last updated:** [December 10, 2025, 1:39pm UTC](https://discourse.datamethods.org/t/critique-of-paper-on-generalizability-of-oncology-trials/28523 "2025-12-10T13:39:15Z")

</div>

Orcutt, Chen, Mamtani, Long, and Parikh recently published Evaluating generalizability of oncology trial results to real-world patients using machine learning-based trial emulations in Nature Medicine, 2025. The paper …

---

## [Simulating data - reading suggestions](https://discourse.datamethods.org/t/simulating-data-reading-suggestions/6313)

<div class="topic-metadata">

**Author:** [@sadneurons](https://discourse.datamethods.org/u/sadneurons)\
**Replies:** 9\
**Last updated:** [November 17, 2023, 2:10pm UTC](https://discourse.datamethods.org/t/simulating-data-reading-suggestions/6313 "2023-11-17T14:10:57Z")

</div>

Dear DataMethods community, I have become a great believer in simulating data in order to pre-specify models and ensure your model can actually model what you’re setting out to. McElreath takes this to its natural concl…

---

## [The role of simulation in developing analysis plans](https://discourse.datamethods.org/t/the-role-of-simulation-in-developing-analysis-plans/664)

<div class="topic-metadata">

**Author:** [@timdisher](https://discourse.datamethods.org/u/timdisher)\
**Replies:** 7\
**Last updated:** [September 30, 2018, 2:02am UTC](https://discourse.datamethods.org/t/the-role-of-simulation-in-developing-analysis-plans/664 "2018-09-30T02:02:03Z")

</div>

I have become increasingly interested in the role of simulation in developing plans for analysis. I first came across the idea when reading about estimating frequentist properties of Bayesian procedures, and now more rec…
