8 Reproducible Research Reports and Manuscripts
A scientific manuscript is a carefully constructed argument about evidence. Its credibility depends not only on the statistical methods but also on whether readers can trace the reported findings to the observations and decisions that produced them. A manuscript written in a conventional word processor can be reproducible, but the author must maintain the connections between the analysis and the text. Quarto makes those connections explicit by allowing narrative, executable analysis, tables, figures and references to share a source document.
Consider a research team evaluating a new scheduling procedure in an outpatient clinic. The team prepares a table of waiting times, calculates a confidence interval and writes a results section. A week later, a data entry error is discovered. If the table was copied from a spreadsheet, the figure exported from another application and the results typed manually, every artifact must be updated separately. A computational manuscript instead allows the team to correct the input, rerun the analysis and regenerate the dependent outputs. Scientific interpretation still requires human review: a new result may invalidate an earlier conclusion even when the numbers update automatically.
8.1 Learning objectives
- Organize a scientific manuscript using the IMRaD framework.
- Specify author information, abstracts, keywords and output formats.
- Translate a research question into an estimand and reproducible analysis.
- Generate research tables, figures and results with R or Python.
- Distinguish a conventional Quarto report from a manuscript project.
- Prepare supplementary materials and transparent disclosure statements.
- Audit a manuscript before submission and archive a reproducible release.
8.2 The research publication workflow
The stages in Figure 8.1 are not merely technical. Before opening a code editor, identify the population, outcome, comparison and time period. Specify which observations are eligible, how missing outcomes will be handled, and what analysis will answer the question. A beautifully formatted report cannot compensate for a poorly defined outcome or an inappropriate comparison.
Distinguish computational reproducibility (obtaining consistent results from the same data and analysis) from replication (collecting new evidence to investigate the same scientific question). A successful render demonstrates neither that the design is valid nor that another study will reach the same conclusion. It is one component of a broader research quality process.
8.2.1 Organizing a research project
A small project can use the following structure. Keep the raw input separate from derived data, and do not edit the raw file to make the analysis work. Record corrections in a documented transformation or a controlled data revision.
clinic-study/
manuscript.qmd
references.bib
data/
clinic-trial.csv
scripts/
validate.py
supplement/
data-dictionary.md
analysis-plan.md
README.md
requirements.txt
Use relative paths rather than a path tied to a particular user’s desktop. A collaborator should be able to extract the project into another directory and run the documented commands. Record the working directory and software environment. For confidential research, the shared project should contain a data access procedure or a synthetic demonstration rather than protected patient records. Never assume that removing names makes a clinical dataset safe to publish.
8.3 Structuring a scientific manuscript
IMRaD stands for Introduction, Methods, Results and Discussion. These sections answer different questions. The introduction explains why the investigation is needed. The methods describe how evidence was collected and analyzed. The results present findings, and the discussion explains their meaning in relation to the question, limitations and prior research.
| Section | Central question | Common mistake |
|---|---|---|
| Introduction | Why is the study needed? | Giving results before defining the question |
| Methods | How was the evidence obtained? | Omitting eligibility or missing-data rules |
| Results | What was observed? | Reporting only significant findings |
| Discussion | What do the findings mean? | Treating uncertainty as proof of no effect |
8.3.1 Title and abstract
A title should identify the central topic and, when useful, the design. A structured abstract often includes background, methods, results and conclusions. Write the abstract after the analysis has stabilized and check that its numbers agree with the main text. A journal may impose a word limit or require a different set of headings. Do not assume a universal template.
8.3.2 Metadata and document configuration
The following is a standalone document configuration. The names and affiliations are illustrative placeholders, not actual authorship claims.
---
title: "Waiting Times Under Two Scheduling Procedures"
author:
- name: "Example Researcher"
affiliations:
- name: "Example University"
abstract: |
This teaching study illustrates reproducible reporting.
keywords: [waiting time, reproducibility, clinical operations]
format:
html:
toc: true
docx: default
pdf: default
bibliography: references.bib
---The bibliography file must exist relative to this standalone document. Within a book, the project configuration can provide the bibliography instead. Metadata fields do not guarantee that every format displays them identically. Inspect each output. For blinded review, create a separate submission version without identifying metadata and check acknowledgments, file properties, supplements and self-identifying links.
8.4 Worked investigation: a simulated clinical trial
Suppose 16 simulated appointments are assigned to either standard scheduling or a new scheduling procedure, eight per group. The outcome is waiting time in minutes from check-in to the beginning of the consultation. All observations are synthetic, independent for the purposes of this example, and complete. This is not evidence about a real clinic or intervention.
The primary estimand is the difference in population mean waiting time, new minus standard. A negative value favors the new procedure. We use a Welch two-sample confidence interval, which does not require equal population variances. The small sample makes the interval sensitive to distributional assumptions; examine the raw observations and avoid presenting the result as definitive clinical evidence.
\[ \widehat{\Delta}=\bar{x}_{N}-\bar{x}_{S},\qquad SE=\sqrt{\frac{s_N^2}{n_N}+\frac{s_S^2}{n_S}}. \tag{8.1}\]
The interval is the estimated difference plus or minus the appropriate t critical value times the standard error. The Welch degrees of freedom account for uncertainty in both variance estimates. The analysis plan should specify this comparison before examining the outcome. Changing the direction after seeing the results creates confusion and can conceal selective reporting.
8.4.1 R implementation
The following listing assumes the standalone example directory is the working directory. The complete executable document is supplied in examples/ch08/trial-r.qmd.
trial <- read.csv("../../data/clinic-trial-ch08.csv")
stopifnot(!anyDuplicated(trial$id),
all(trial$group %in% c("Standard", "New")),
all(is.finite(trial$wait_min)),
all(trial$wait_min >= 0))
new <- trial$wait_min[trial$group == "New"]
standard <- trial$wait_min[trial$group == "Standard"]
fit <- t.test(new, standard, var.equal = FALSE)
mean(new) - mean(standard)
fit$conf.int
fit$p.valueThe order of the arguments matters: t.test(new, standard) estimates new minus standard. The test uses a two-sided alternative by default. The confidence interval and p-value answer related but distinct questions. The interval expresses uncertainty about the size of the difference; the p-value measures incompatibility with a zero difference under the statistical model.
A generated table avoids manually transferring numbers:
summary_table <- do.call(rbind, lapply(split(trial$wait_min,
trial$group), function(x) c(n=length(x), mean=mean(x), sd=sd(x))))
knitr::kable(summary_table, digits=2)The row names identify groups. In a real manuscript include units in the headings and report missing outcomes separately. For a binary outcome, a mean and standard deviation table would not be the appropriate primary summary; choose a display that matches the measurement scale.
8.4.2 Python implementation
The corresponding Python example uses pandas for data management and SciPy for the Welch procedure. It is supplied independently in examples/ch08/trial-python.qmd.
import pandas as pd
import numpy as np
from scipy import stats
trial = pd.read_csv("../../data/clinic-trial-ch08.csv")
assert trial.id.is_unique
assert trial.group.isin(["Standard", "New"]).all()
assert np.isfinite(trial.wait_min).all()
assert (trial.wait_min >= 0).all()
new = trial.loc[trial.group == "New", "wait_min"]
standard = trial.loc[trial.group == "Standard", "wait_min"]
fit = stats.ttest_ind(new, standard, equal_var=False)
print(new.mean() - standard.mean())
print(fit.confidence_interval())
print(fit.pvalue)Use a SciPy version supporting confidence_interval() on the test result. The accompanying requirements file specifies a suitable minimum version. The Python and R implementations should agree to numerical precision because they analyze identical observations with the same method. If they disagree, inspect missing-value handling, group order, variance assumptions and the actual input files before attributing the difference to the programming language.
8.5 Presenting the results
A plot of individual observations, as in Figure 8.2, is more informative than a bar chart of means alone when sample sizes are small. Readers can see overlap and variation. The figure caption should identify the outcome, groups, units and meaning of symbols without requiring readers to search the methods section.
| Group | n | Mean (min) | SD (min) |
|---|---|---|---|
| Standard | 8 | 20.00 | 3.46 |
| New | 8 | 14.62 | 2.67 |
The estimated mean difference was -5.38 minutes (95% CI -8.71 to -2.04; two-sided Welch p = 0.0040). In this synthetic example, the interval excludes zero. This is a demonstration of reporting, not a clinical finding. The interval is not a prediction interval for individual patients, nor does it establish that every appointment would benefit.
8.5.1 Dynamic narrative and interpretation
In a knitr document, inline R expressions can insert calculated values directly into a sentence. For example, after defining difference, write the following source:
The estimated difference was `r sprintf("%.2f", difference)` minutes.In a Jupyter document, an inline Python expression can use the syntax shown below. Define the variable in an earlier executable cell.
The estimated difference was `{python} f"{difference:.2f}"` minutes.Inline execution reduces transcription errors but cannot replace interpretation. If a confidence interval changes from excluding zero to including zero, a sentence claiming evidence of a difference may need revision. Avoid writing code that automatically labels every statistically significant finding clinically important. Clinical importance depends on the outcome, context and a defensible threshold.
8.6 Preparing a journal submission
Quarto supports ordinary documents as well as a dedicated manuscript project. A manuscript project is useful when the article and computational notebooks should be published together. Start with quarto create project manuscript and follow the prompts, or configure a project explicitly. A minimal project configuration is:
project:
type: manuscript
manuscript:
article: index.qmd
format:
html: default
docx: defaultThe article file is the main narrative. Computational notebooks can be associated with it, but an ordinary standalone report is often sufficient for a first publication. Do not place this configuration inside the existing textbook project: create a separate directory. See the Quarto manuscript guide for the project-specific workflow.
A journal may provide a Quarto extension or a Word template. Review the journal’s author instructions first. For a Word submission, a reference document can control paragraph and heading styles (reference-doc under format: docx). It is not a substitute for checking margins, line numbering, figure placement and journal-specific requirements. For PDF, select a supported document class or a journal extension and verify the resulting layout. Use a CSL file to match the required citation style; the file must be present in the project. The bibliography and citation keys should remain stable when changing the presentation format.
8.6.1 Supplementary materials and disclosure
A supplement should provide information necessary to assess the analysis without burying essential methods. Include a data dictionary, analysis plan, additional figures and sensitivity analyses where appropriate. Give each supplementary item a stable identifier and check that references to it resolve in the submission version. A data availability statement should describe actual access conditions. For this teaching example, the synthetic CSV and code are included. For restricted clinical data, state the legitimate access procedure and restrictions rather than promising public availability.
Funding, conflicts of interest, author contributions and ethics statements must reflect actual circumstances. Never generate a fictional ethics approval number or imply that simulated records were collected from patients. For this exercise, state explicitly that no patient data were used. In real studies, confirm applicable ethics and reporting requirements with the institution and journal.
8.7 Application to systematic reviews and meta-analysis
A reproducible review requires more than an executable forest plot. Preserve search dates, database-specific search strategies, eligibility criteria, screening decisions, extraction rules and the analysis dataset. Record why studies were excluded at the full-text stage. Keep bibliographic citation keys distinct from study identifiers because one study may have multiple publications. Report the effect measure, model, uncertainty and heterogeneity methods. A change to an extracted effect estimate should trigger a rerun of the synthesis and a review of the interpretation. Chapter 7 provides a simple common-effect example; a real review requires a model justified by its question and evidence. Consult the applicable reporting guideline, such as PRISMA, rather than assuming a generic manuscript template covers every requirement.
8.8 Quality assurance and release
Render from a clean session and verify the source data version. Compare the abstract, main text, tables and figures; inspect units, group labels, sample sizes and rounding. Check that the results follow the stated analysis plan and that deviations are disclosed. Open each requested output format, test hyperlinks and cross-references, and inspect figure legibility. Record package versions and the render command. Archive a versioned source release, excluding secrets and restricted data. A cached result is not proof that the current code ran; disable or refresh caching when conducting the final audit.
8.9 Guided practice
- Render the standalone R or Python report. Identify the source of each number in its results paragraph and explain the direction of the difference.
- Make a copy of the CSV and change appointment 9 from 12 to 16 minutes. Recalculate the estimate and interval. Explain which parts of the manuscript require editorial review.
- Create a blinded submission copy. Remove identifying metadata and inspect the rendered document for remaining identifiers. Explain why removing the author line alone is insufficient.
- Create a data dictionary with variable names, types, units, allowed values and missing-value conventions. Compare it with the supplied dictionary and justify any differences.
8.10 Troubleshooting
| Symptom | Diagnostic action |
|---|---|
| Data file not found | Check the working directory and relative path. |
| Opposite signs in R and Python | Check group ordering. |
| Different confidence intervals | Verify the same variance assumption and confidence level. |
| Old values in results | Refresh cache and render from a clean session. |
| Missing citations | Verify the bibliography path and keys. |
| Word layout differs from HTML | Inspect format-specific styles and unsupported features. |
8.11 From research question to analysis contract
Before writing an abstract, prepare a one-page analysis contract. This is a compact statement of what the team intends to estimate, what data will be used, and what decisions will be made without reference to the observed result. It is not a replacement for a full protocol or registration. Its purpose is to make the connection between the research question and the code inspectable by a collaborator.
In the scheduling example, the unit is an appointment, not a clinic or a patient followed over several visits. The teaching dataset assumes independent appointments. In a real clinic, repeat visits by the same patient or shared staff could create dependence; a two-sample t procedure would then require reconsideration. Define the time origin as check-in and the endpoint as consultation start. A record of zero minutes is possible, whereas a negative duration requires investigation. Specify minutes as the analysis unit even if the source system stores seconds.
| Contract element | Teaching specification | Consequence if changed |
|---|---|---|
| Population | Hypothetical eligible appointments | Generalizability changes |
| Outcome | Minutes from check-in to consultation | Measurement interpretation changes |
| Contrast | New minus Standard | Sign and interpretation change |
| Analysis | Welch two-sample interval | Uncertainty calculation changes |
| Missing outcomes | Report counts; observed-case analysis | Potential selection bias |
| Confidence level | 95 percent | Interval width changes |
| Practical benchmark | Illustrative reduction of 5 minutes | Practical interpretation changes |
The distinction between an estimand and an estimator matters. The estimand is the population mean difference under the stated comparison; the estimator is the sample mean difference. Neither a confidence interval nor a p-value repairs a mismatch between the population of interest and the actual sampling process. If a clinic administrator asks whether the new procedure reduces the proportion of patients waiting more than 20 minutes, that is a different estimand. Do not answer it with a mean difference alone.
8.11.1 Guided investigation: operational definitions
Imagine a patient checks in at 09:00, enters an examination room at 09:12 and meets the clinician at 09:20. The waiting time is 20 minutes under our contract, but 12 minutes under a room-entry definition. Both measurements may be useful; they cannot be combined without qualification. Write a data dictionary entry that distinguishes the two endpoints and identify the information needed to calculate each one. In a real study, preserve timestamp provenance and time-zone information. Do not infer a missing timestamp from a typical appointment duration.
8.12 Writing a structured abstract from an evidence ledger
A structured abstract is a compressed scientific argument. Its background should identify the problem without exaggerating the evidence gap. Its methods should state the design, outcome, comparison and analysis. Its results should contain the estimate and uncertainty, rather than a significance label alone. Its conclusion should be proportional to the design and evidence.
Here is a model for the synthetic trial. Background: Waiting time is an operational measure that can be used to illustrate quantitative reporting. Methods: We analyzed 16 simulated appointments, eight per scheduling group, using a Welch two-sample comparison of mean waiting times. Results: Mean waiting times were 20.00 and 14.62 minutes for Standard and New, respectively. The estimated difference (New minus Standard) was -5.38 minutes (95% CI -8.71 to -2.04). Conclusion: The constructed data illustrate a reduction in mean waiting time and a reproducible reporting workflow; they do not establish effectiveness in a real clinic.
The abstract intentionally avoids a claim that the scheduling procedure is proven to improve patient satisfaction. Satisfaction was not measured. It also avoids saying that every appointment became shorter: a difference in means is not a statement about every individual. A reviewer should be able to locate the exact table or analysis output supporting each number.
| Claim | Evidence location | Editorial check |
|---|---|---|
| Sixteen appointments | Input row count and group audit | No duplicated identifiers |
| Means 20.00 and 14.62 | Generated descriptive table | Units and group ordering |
| Difference -5.38 | Welch result | New minus Standard |
| Interval -8.71 to -2.04 | Welch interval | Confidence level and rounding |
| No clinical effectiveness claim | Synthetic data disclosure | Abstract and discussion agree |
A ledger is particularly useful when the abstract and manuscript are maintained in different files. Assign each result a stable name in the analysis output. Avoid copying a number from a plot label when the underlying numeric result is available. Round only for presentation: the difference calculated from rounded group means can differ slightly from the rounded difference calculated at full precision. Use a consistent rounding convention and explain any apparent discrepancy.
8.13 Laboratory: a correction that changes the manuscript
Create a controlled revision in which appointment 9 changes from 12 to 16 minutes. Preserve the original file and record the identifier, old value, new value and reason. For this exercise the reason is an invented transcription correction. Do not imply that an actual source record has been inspected. The new mean in the New group is 15.125 minutes and the new difference is -4.875 minutes. The original difference was -5.375 minutes. Thus the correction changes the estimate by 0.5 minutes, because the four-minute correction is distributed over eight observations.
\[ \bar{x}_{\mathrm{revised}}-\bar{x}_{\mathrm{original}}=\frac{4}{8}=0.5. \tag{8.2}\]
This simple calculation is a useful independent check on the software. The variance also changes, so the confidence interval cannot be updated merely by adding 0.5 to each endpoint. Recompute the variance, degrees of freedom and interval. The practical benchmark provides an editorial challenge: the original point estimate exceeds a five-minute reduction in magnitude, but the revised point estimate does not. Neither interval establishes a reduction of at least five minutes with the stated confidence procedure. An automatically updated number is therefore insufficient; the discussion needs a human review.
8.13.1 R implementation
trial <- read.csv("trial.csv")
stopifnot(sum(trial$id == 9) == 1)
revised <- trial
revised$wait_min[revised$id == 9] <- 16
compare <- function(d) {
a <- d$wait_min[d$group == "New"]
b <- d$wait_min[d$group == "Standard"]
fit <- t.test(a, b, var.equal = FALSE)
c(difference = mean(a)-mean(b), lower = fit$conf.int[1],
upper = fit$conf.int[2], p = fit$p.value)
}
rbind(original = compare(trial), revised = compare(revised))8.13.2 Python implementation
import pandas as pd
from scipy.stats import ttest_ind
trial = pd.read_csv("trial.csv")
assert trial["id"].eq(9).sum() == 1
revised = trial.copy()
revised.loc[revised["id"].eq(9), "wait_min"] = 16
for label, data in [("original", trial), ("revised", revised)]:
a = data.loc[data.group.eq("New"), "wait_min"]
b = data.loc[data.group.eq("Standard"), "wait_min"]
fit = ttest_ind(a, b, equal_var=False)
print(label, a.mean()-b.mean(), fit.confidence_interval(), fit.pvalue)8.14 Sensitivity analysis and transparent missingness
A sensitivity analysis asks whether an important conclusion depends on a plausible alternative assumption. It is not a search for a preferred p-value. In the teaching dataset, remove the outcome of appointment 9 in a separate scenario, without removing its identifier or group assignment. The New group now contains eight eligible records but seven observed outcomes. Its observed-case mean is 105/7 = 15 minutes. The observed-case difference is -5 minutes. This is not an estimate obtained by assigning a zero to the missing record.
Suppose, solely for a sensitivity exercise, that the unobserved wait is bounded between 0 and 40 minutes. The full-group mean under a candidate value m is (105+m)/8. The corresponding difference ranges from -6.875 to -1.875 minutes. These are deterministic bounds under the stipulated range, not a confidence interval. They do not account for sampling variability and the upper bound of 40 is not established by the data. In a real analysis, justify plausible bounds using measurement and operational knowledge. If no credible bound is available, report that limitation rather than inventing one.
The release laboratory includes the observed-case scenario and these two endpoint scenarios. Keep the primary analysis and sensitivity analyses clearly labeled. Do not replace the primary analysis simply because a sensitivity result is more favorable. When reporting a missingness rate, use eligible records as the denominator, not observed outcomes.
8.15 Building a submission-ready research package
A manuscript is only one component of a research release. The source package should make it possible to inspect the analysis without requiring access to the author’s personal computer. The release laboratory accompanying this chapter uses the following structure:
release-lab/
trial.csv
analyze.py
verify.R
manuscript.qmd
requirements.txt
analysis-plan.md
claim-ledger.csv
README.md
results.json
The analysis script validates the schema and identifiers, computes the primary and alternative scenarios, and writes a machine-readable result file. The manuscript imports this file and uses inline expressions to report the primary results. This design is useful when several documents share the same analysis. Its risk is stale results: a manuscript can read an old JSON file even if the input changed. The laboratory records the input SHA-256 digest and checks it inside the manuscript. A digest is a change detector, not proof of authenticity or scientific validity. Regenerate the analysis whenever the data or analysis code changes. Record the code revision and dependency versions separately.
8.15.1 Journal adaptation without changing evidence
Prepare a neutral source manuscript first. Then inspect the target journal’s current instructions and make a requirements matrix covering article type, abstract structure, word limits, reference style, figure formats, supplementary files, declarations and anonymization. Record the date of the instructions. A generic template is not evidence of compliance with any specific journal. Keep journal-specific styling separate from the statistical analysis. For a Word submission, a reference document may provide styles; for a PDF submission, an approved class or extension may provide layout. Neither eliminates the need to inspect the final output.
When a reviewer requests a different analysis, preserve the original release and document the request. Explain whether the change is a correction, a prespecified sensitivity analysis or a new exploratory analysis. Update the abstract and conclusions only after inspecting the new results. A response letter can cite a stable section or table identifier in the source, but the submitted response should use the page or line references required by the journal.
8.16 Extended guided laboratory: independent reproduction
Work in pairs. The first reader runs the analysis and prepares a manuscript; the second receives only the release directory and instructions. The second reader records the software environment, checks the input digest, reruns the script and compares the results at full precision within a reasonable numerical tolerance. Compare scientific quantities rather than demanding identical PDF bytes: timestamps, fonts and software versions may change the binary output without changing the findings. If a discrepancy appears, first check the data version, group direction, missingness policy and variance convention. Record the discrepancy even if it is resolved.
8.16.1 Additional review exercises
- Write an estimand for the proportion of waits exceeding 20 minutes.
- Explain why repeated appointments from the same patient may invalidate independence.
- Rewrite the model abstract for an administrator without changing its evidence.
- Calculate the change in the mean after correcting appointment 9.
- Explain why the interval must be recomputed after a correction.
- Calculate the missingness percentage in the New group in the missing scenario.
- Derive the sensitivity bounds when the missing value is between 0 and 40.
- Explain why the sensitivity bounds are not a confidence interval.
- Identify two limitations of a file digest as a reproducibility check.
- Draft a response to a reviewer requesting an unplanned subgroup analysis.
8.16.2 Extended project: research release and revision (30 points)
Prepare a structured abstract and IMRaD manuscript using the original synthetic data. Generate a machine-readable result file and a claim ledger. Create a separate corrected dataset or a documented transformation, and prepare a revision memo identifying every affected claim. Include an observed-case missingness analysis and a justified sensitivity scenario. Produce HTML and one submission format, inspect both, and arrange independent reproduction by a peer. Clearly disclose the synthetic nature of the data. If a required renderer is unavailable, document the blocker and submit the source plus the evidence that can be verified; do not claim that rendering succeeded.
| Criterion | Points |
|---|---|
| Analysis contract and scientific structure | 6 |
| Validated data and correct statistical results | 7 |
| Correction and sensitivity analysis | 6 |
| Claim ledger, disclosure and revision memo | 6 |
| Independent reproduction and output review | 5 |
| Total | 30 |
8.17 Chapter summary
A reproducible manuscript links a defined question to validated data, an explicit analysis and generated outputs. Quarto supports that link but does not validate the research design or guarantee appropriate interpretation. Separate the analysis from format-specific presentation, document the environment and review every final output. Scientific transparency also requires honest disclosure of data access, limitations and deviations from the analysis plan.
8.18 Review exercises
- Distinguish computational reproducibility from replication.
- Explain the four IMRaD sections.
- Define the estimand in the simulated trial.
- Explain why the sign of the estimate matters.
- State why Welch’s method was selected.
- Interpret the reported confidence interval without claiming a probability about the fixed parameter.
- Explain why the p-value does not measure clinical importance.
- Identify two data validation checks.
- Explain why a raw-data file should not be silently overwritten.
- Describe the advantage and limitation of inline computation.
- Explain the role of a CSL file.
- Distinguish a manuscript project from a standalone report.
- Identify two risks when preparing a blinded submission.
- Draft an honest data availability statement for this exercise.
- Explain why a reproducible meta-analysis also requires screening records.
- Describe a clean-render audit procedure.
8.19 Applied project
Prepare a reproducible manuscript comparing two simulated scheduling procedures. Use the supplied dataset or a clearly labeled synthetic alternative. Submit the Quarto source, rendered HTML and Word outputs, data dictionary, analysis plan and environment instructions. Include an abstract, IMRaD sections, a generated table, a labeled figure, an estimate with a confidence interval, limitations and a data availability statement. Do not claim clinical efficacy from synthetic observations.
| Criterion | Points |
|---|---|
| Research question and manuscript structure | 5 |
| Data validation and documented analysis | 5 |
| Correct statistical results and interpretation | 5 |
| Generated tables, figures and narrative | 5 |
| Reproducibility, disclosure and output audit | 5 |
| Total | 25 |
8.20 Further reading
8.21 Supplemental assessment
- Conceptual (4 points). Explain why a small p-value is not a measure of clinical importance.
- Technical (8 points). For standard waits 18,22,15,25,20,17,24,19 and new waits 12,16,14,19,11,17,15,13 compute new minus standard and Welch interval.
- Applied (8 points). Write a synthetic IMRaD report and sensitivity analysis omitting the largest new-group wait.
See the student assessment packet in the source package for submission guidance and any required datasets.
8.22 Looking ahead
Adapt research findings to an audience-facing presentation in Chapter 9.
8.23 Interactive learning lab
Explore the activity below, then explain what changed and why.