diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 86237e678..b2dd8fdd7 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -11,7 +11,7 @@ on: - 'man/**' - 'pkgdown/**' - 'vignettes/**' - - '_quarto.yml' + - '_quarto*.yml' - '.github/workflows/preview.yml' - '.github/workflows/publish.yml' - '*.qmd' @@ -58,12 +58,12 @@ jobs: - name: list files shell: bash run: | - echo "contents of _book:\n" - ls _book/ + echo "contents of _site:\n" + ls _site/ echo "contents of .:\n" ls . - name: Deploy PR Preview uses: rossjrw/pr-preview-action@main with: - source-dir: _book/ + source-dir: _site/ diff --git a/.gitignore b/.gitignore index 540f7f448..e22bb05e9 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,9 @@ test.qmd *.tex /.quarto/ /_book/ +/_site/ +/_slides/ +/_handouts/ _freeze/ *.pdf rsconnect diff --git a/CONTRIBUTING.md b/CONTRIBUTING.qmd similarity index 98% rename from CONTRIBUTING.md rename to CONTRIBUTING.qmd index 2a9366de6..16fbd85e2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.qmd @@ -1,3 +1,9 @@ +--- +title: "Contributing to rme" +format: + html: default +--- + # Contributing to `rme` Contributions to these notes are very much appreciated; anything from diff --git a/Intro-to-GLMs.qmd b/Intro-to-GLMs.qmd index 0c53905e9..520a5e84c 100755 --- a/Intro-to-GLMs.qmd +++ b/Intro-to-GLMs.qmd @@ -1,3 +1,13 @@ +--- +title: "Introduction to GLMs" +format: + html: default + revealjs: + output-file: Intro-to-GLMs-slides.html + pdf: + output-file: Intro-to-GLMs-handout.pdf +--- + # Introduction --- diff --git a/Linear-models-overview.qmd b/Linear-models-overview.qmd index 3b4232b64..630ae1461 100644 --- a/Linear-models-overview.qmd +++ b/Linear-models-overview.qmd @@ -1,3 +1,13 @@ +--- +title: "Linear (Gaussian) Models" +format: + html: default + revealjs: + output-file: Linear-models-overview-slides.html + pdf: + output-file: Linear-models-overview-handout.pdf +--- + # Linear (Gaussian) Models --- diff --git a/_def-base-cuhaz.qmd b/_def-base-cuhaz.qmd index a9d5f8fad..e1c00c07f 100644 --- a/_def-base-cuhaz.qmd +++ b/_def-base-cuhaz.qmd @@ -7,7 +7,7 @@ The **baseline cumulative hazard**, **base cumulative hazard**, or **reference cumulative hazard**, denoted $H_0(t)$ or $\Lambda_0(t)$, -is the cumulative hazard function (@def-cuhaz) +is the [cumulative hazard function](intro-to-survival-analysis.html#def-cuhaz) for the subpopulation of individuals whose covariates are all equal to their reference levels: :::: diff --git a/_quarto-handout.yml b/_quarto-handout.yml index 0981d1803..6d809990a 100644 --- a/_quarto-handout.yml +++ b/_quarto-handout.yml @@ -1,5 +1,56 @@ +project: + output-dir: _handouts + render: + - "index.qmd" + - "Intro-to-GLMs.qmd" + - "glms.qmd" + - "Linear-models-overview.qmd" + - "logistic-regression.qmd" + - "count-regression.qmd" + - "intro-multilevel-models.qmd" + - "time-to-event-models.qmd" + - "intro-to-survival-analysis.qmd" + - "proportional-hazards-models.qmd" + - "parametric-survival-models.qmd" + - "top-ten-concepts.qmd" + - "appendices-are-prereqs.qmd" + - "math-prereqs.qmd" + - "probability.qmd" + - "estimation.qmd" + - "inference.qmd" + - "intro-MLEs.qmd" + - "intro-bayes.qmd" + - "common-mistakes.qmd" + - "notation.qmd" + - "intro-to-R.qmd" + - "midterm-formula-sheet.qmd" + +bibliography: references.bib + format: pdf: geometry: - top=15mm - bottom=20mm + keep-md: false + keep-tex: false + toc: true + fig-pos: "H" + toc-title: Contents + df-print: tibble + links-as-notes: true + documentclass: article + colorlinks: true + number-sections: true + number-depth: 3 + +execute: + warning: false + message: false + cache: false + freeze: auto + +knitr: + opts_chunk: + collapse: true + comment: "#>" diff --git a/_quarto-preview.yml b/_quarto-preview.yml deleted file mode 100644 index 14b3443dd..000000000 --- a/_quarto-preview.yml +++ /dev/null @@ -1,5 +0,0 @@ -format: - html: - include-in-header: - - text: | - diff --git a/_quarto-revealjs.yml b/_quarto-revealjs.yml index ae371bb44..328f7976a 100644 --- a/_quarto-revealjs.yml +++ b/_quarto-revealjs.yml @@ -1,19 +1,29 @@ project: output-dir: _slides render: - - intro-to-GLMs.qmd - - intro-MLEs.qmd - - glms.qmd - - Linear-models-overview.qmd - - logistic-regression.qmd - - count-regression.qmd - - time-to-event-models.qmd - - intro-to-survival-analysis.qmd - - proportional-hazards-models.qmd - - parametric-survival-models.qmd - - probability.qmd - - estimation.qmd - - intro-MLEs.qmd + - "index.qmd" + - "Intro-to-GLMs.qmd" + - "glms.qmd" + - "Linear-models-overview.qmd" + - "logistic-regression.qmd" + - "count-regression.qmd" + - "intro-multilevel-models.qmd" + - "time-to-event-models.qmd" + - "intro-to-survival-analysis.qmd" + - "proportional-hazards-models.qmd" + - "parametric-survival-models.qmd" + - "top-ten-concepts.qmd" + - "appendices-are-prereqs.qmd" + - "math-prereqs.qmd" + - "probability.qmd" + - "estimation.qmd" + - "inference.qmd" + - "intro-MLEs.qmd" + - "intro-bayes.qmd" + - "common-mistakes.qmd" + - "notation.qmd" + - "intro-to-R.qmd" + - "midterm-formula-sheet.qmd" format: revealjs: diff --git a/_quarto-website.yml b/_quarto-website.yml new file mode 100644 index 000000000..1f8ec4265 --- /dev/null +++ b/_quarto-website.yml @@ -0,0 +1,169 @@ +project: + type: website + output-dir: _site + render: + # Only render the files that were in the original book + - index.qmd + - Intro-to-GLMs.qmd + - glms.qmd + - Linear-models-overview.qmd + - logistic-regression.qmd + - count-regression.qmd + - intro-multilevel-models.qmd + - time-to-event-models.qmd + - intro-to-survival-analysis.qmd + - proportional-hazards-models.qmd + - parametric-survival-models.qmd + - top-ten-concepts.qmd + - appendices-are-prereqs.qmd + - math-prereqs.qmd + - probability.qmd + - estimation.qmd + - inference.qmd + - intro-MLEs.qmd + - intro-bayes.qmd + - common-mistakes.qmd + - notation.qmd + - intro-to-R.qmd + - CONTRIBUTING.qmd + - midterm-formula-sheet.qmd + +website: + title: "Regression Models for Epidemiology" + site-url: https://d-morrison.github.io/rme/ + description: "Lecture notes for Epidemiology 204: Quantitative Epidemiology III (Statistical Models)" + page-footer: + left: + - text: "Copyright 2024-2026, Douglas Ezra Morrison" + back-to-top-navigation: true + page-navigation: true + reader-mode: true + repo-url: https://github.com/d-morrison/rme + repo-actions: [edit, issue, source] + google-analytics: "G-VS314RJ2KP" + navbar: + left: + - text: "Home" + href: index.qmd + - text: "Chapters" + menu: + - text: "Introduction to GLMs" + href: Intro-to-GLMs.qmd + - text: "---" + - text: "Generalized Linear Models" + href: glms.qmd + - text: "Linear Models Overview" + href: Linear-models-overview.qmd + - text: "Logistic Regression" + href: logistic-regression.qmd + - text: "Count Regression" + href: count-regression.qmd + - text: "Multilevel Models" + href: intro-multilevel-models.qmd + - text: "---" + - text: "Time to Event Models" + href: time-to-event-models.qmd + - text: "Introduction to Survival Analysis" + href: intro-to-survival-analysis.qmd + - text: "Proportional Hazards Models" + href: proportional-hazards-models.qmd + - text: "Parametric Survival Models" + href: parametric-survival-models.qmd + - text: "---" + - text: "Top Ten Concepts" + href: top-ten-concepts.qmd + - text: "Appendices" + menu: + - text: "Math Prerequisites" + href: math-prereqs.qmd + - text: "Probability" + href: probability.qmd + - text: "Estimation" + href: estimation.qmd + - text: "Inference" + href: inference.qmd + - text: "Introduction to MLEs" + href: intro-MLEs.qmd + - text: "Introduction to Bayesian Statistics" + href: intro-bayes.qmd + - text: "Common Mistakes" + href: common-mistakes.qmd + - text: "Notation" + href: notation.qmd + - text: "Introduction to R" + href: intro-to-R.qmd + - text: "Midterm Formula Sheet" + href: midterm-formula-sheet.qmd + +bibliography: references.bib + +format: + html: + theme: + light: cosmo + dark: darkly + toc: true + toc-location: right + toc-depth: 3 + code-fold: true + code-tools: true + code-link: true + code-summary: "Show R code" + css: custom.scss + highlight-style: pygments + lightbox: true + link-external-icon: true + embed-resources: false + fig-cap-location: top + html-math-method: mathjax + number-sections: true + number-depth: 3 + df-print: paged + date: last-modified + date-format: "[Last modified:] YYYY-MM-DD: H:mm:ss (z)" + subject: "Epidemiology 204" + revealjs: + lightbox: true + theme: dark + embed-resources: false + fig-cap-location: top + html-math-method: mathjax + smaller: true + number-sections: true + progress: true + incremental: false + df-print: paged + number-depth: 2 + slide-number: true + shift-heading-level-by: -1 + slide-level: 2 + scrollable: true + echo: true + margin: 0.0 + code-fold: true + code-link: true + code-summary: "[R code]" + auto-stretch: true + fig-height: 5 + fig-width: 7 + pdf: + geometry: + - top=15mm + - bottom=20mm + keep-md: false + keep-tex: false + toc: true + fig-pos: "H" + toc-title: Contents + df-print: tibble + links-as-notes: true + documentclass: article + colorlinks: true + number-sections: true + number-depth: 3 + +comments: + hypothesis: + theme: clean + openSidebar: false + enableExperimentalNewNoteButton: true diff --git a/_quarto.yml b/_quarto.yml index f9669be7c..4d819ae06 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -1,9 +1,22 @@ profile: - default: book + default: website + editor_options: chunk_output_type: console + editor: markdown: wrap: 72 -bibliography: references.bib +execute: + warning: false + message: false + cache: false + freeze: auto + +knitr: + opts_chunk: + collapse: true + comment: "#>" + R.options: + knitr.graphics.auto_pdf: true diff --git a/_sec-pdf.qmd b/_sec-pdf.qmd index f6e857d66..4cc9a0be5 100644 --- a/_sec-pdf.qmd +++ b/_sec-pdf.qmd @@ -1,6 +1,6 @@ For a time-to-event variable $T$ with a continuous distribution, the -**probability density function** is defined as usual (see @sec-prob-dens). +**probability density function** is defined as usual (see [probability density function](probability.html#sec-prob-dens)). ::: notes In most time-to-event models, this density is assumed to be 0 for all $t<0$; diff --git a/_sec-surv-conditional-hazards.qmd b/_sec-surv-conditional-hazards.qmd index ab67c503c..0d3e7e755 100644 --- a/_sec-surv-conditional-hazards.qmd +++ b/_sec-surv-conditional-hazards.qmd @@ -69,7 +69,7 @@ Now, let's define ***how*** the hazard function depends on covariates. We typically use a log link to model the relationship between the hazard function, $\haz(t|\vx)$, and the linear component, $\eta(t|\vx)$, -as we did for Poisson models in @sec-count-reg; +as we did for Poisson models in [models for count outcomes](count-regression.html#sec-count-reg); that is: ::: diff --git a/_sec_OR_inference.qmd b/_sec_OR_inference.qmd index 570ef84bb..cd082a36f 100644 --- a/_sec_OR_inference.qmd +++ b/_sec_OR_inference.qmd @@ -138,7 +138,7 @@ $${#eq-est-se-diff-logodds} Note: on the RHS, we have plugged in $\hat{\Sigma}$, our estimate of $\Sigma$. -Compare this result with @sec-se-fitted. +Compare this result with [confidence intervals](Linear-models-overview.html#sec-se-fitted). ::: diff --git a/_sec_mle_no_log.qmd b/_sec_mle_no_log.qmd index 306905a7e..a21cd0970 100644 --- a/_sec_mle_no_log.qmd +++ b/_sec_mle_no_log.qmd @@ -15,4 +15,4 @@ The derivative of the likelihood of independent data is the derivative of a product. To evaluate this derivative, we will have to perform a massive application of -the product rule (@thm-product-rule). +the [product rule](math-prereqs.html#thm-product-rule). diff --git a/_thm-diff-loghaz.qmd b/_thm-diff-loghaz.qmd index 43d42ae1a..8453171b0 100644 --- a/_thm-diff-loghaz.qmd +++ b/_thm-diff-loghaz.qmd @@ -13,7 +13,7 @@ $$\diffloghaz(t|\vx : \vxs)= \logf{\theta(t| \vx : \vxs)}$$ ::: proof -Using @def-hazard-ratio: +Using the [hazard ratio definition](intro-to-survival-analysis.html#def-hazard-ratio): $$ \ba diff --git a/appendices-are-prereqs.qmd b/appendices-are-prereqs.qmd index ca9f9cb43..9ad240006 100644 --- a/appendices-are-prereqs.qmd +++ b/appendices-are-prereqs.qmd @@ -1,3 +1,13 @@ +--- +title: "Overview of Appendices" +format: + html: default + revealjs: + output-file: appendices-are-prereqs-slides.html + pdf: + output-file: appendices-are-prereqs-handout.pdf +--- + # Overview of Appendices These appendices contain information that I consider to be diff --git a/common-mistakes.qmd b/common-mistakes.qmd index b873f8117..6cfbd5c04 100644 --- a/common-mistakes.qmd +++ b/common-mistakes.qmd @@ -1,3 +1,13 @@ +--- +title: "Common Mistakes" +format: + html: default + revealjs: + output-file: common-mistakes-slides.html + pdf: + output-file: common-mistakes-handout.pdf +--- + # Common Mistakes --- diff --git a/count-regression.qmd b/count-regression.qmd index c69369227..3e1ad28c0 100644 --- a/count-regression.qmd +++ b/count-regression.qmd @@ -1,5 +1,12 @@ --- +title: "Models for Count Outcomes" subtitle: "Poisson regression and variations" +format: + html: default + revealjs: + output-file: count-regression-slides.html + pdf: + output-file: count-regression-handout.pdf --- # Models for Count Outcomes {#sec-count-reg} diff --git a/estimation.qmd b/estimation.qmd index 856779d1e..b1fbddb66 100644 --- a/estimation.qmd +++ b/estimation.qmd @@ -1,3 +1,13 @@ +--- +title: "Estimation" +format: + html: default + revealjs: + output-file: estimation-slides.html + pdf: + output-file: estimation-handout.pdf +--- + # Estimation ## Probabilistic models {.scrollable} diff --git a/glms.qmd b/glms.qmd index c9763cb2f..87ba74541 100644 --- a/glms.qmd +++ b/glms.qmd @@ -1,3 +1,13 @@ +--- +title: "Generalized Linear Models" +format: + html: default + revealjs: + output-file: glms-slides.html + pdf: + output-file: glms-handout.pdf +--- + # Generalized Linear Models --- diff --git a/index.qmd b/index.qmd index 51816dfad..ffc898d40 100644 --- a/index.qmd +++ b/index.qmd @@ -1,3 +1,13 @@ +--- +title: "Regression Models for Epidemiology" +format: + html: default + revealjs: + output-file: index-slides.html + pdf: + output-file: index-handout.pdf +--- + # Preface {.unnumbered} This web-book is derived from my lecture slides for Epidemiology 204: "Quantitative Epidemiology III: Statistical Models", at UC Davis. @@ -25,45 +35,59 @@ Please see also the list of contributors on GitHub: . -The online notes are searchable and are currently being iteratively updated^[see the source file repository for recent changes: ]. -A pdf version of the notes is also downloadable from , -and the source files are available at . +This website provides lecture notes for Epidemiology 204: Quantitative Epidemiology III (Statistical Models) at UC Davis. + +The notes are available online at and are searchable and continuously updated^[see the source file repository for recent changes: ]. +### Multiple Format Options {.unnumbered} -### Compiling chapters as lecture slide decks {.unnumbered} +Each chapter is available in three formats: -Each chapter's source file can also be compiled as a lecture slide deck, using the -[`_quarto-revealjs.yml`](https://github.com/d-morrison/rme/blob/main/_quarto-revealjs.yml) [Quarto profile](https://quarto.org/docs/projects/profiles.html) -included in the [git repository on Github](https://github.com/d-morrison/rme). +1. **HTML (Website)**: Browse chapters online with navigation and search +2. **RevealJS Slides**: Presentation slides for teaching (e.g., `logistic-regression-slides.html`) +3. **PDF Handouts**: Printable documents for each chapter (e.g., `logistic-regression-handout.pdf`) -For example, to compile [Chapter @sec-Bernoulli-models] as a slide deck: +### Compiling chapters locally {.unnumbered} -1) [install quarto](https://quarto.org/docs/get-started/) +To compile chapters from source: -2) clone the project repository from [Github](https://github.com/d-morrison/rme) +1. [Install Quarto](https://quarto.org/docs/get-started/) + +2. Clone the repository: + +``` bash +git clone --recurse-submodules https://github.com/d-morrison/rme.git +cd rme +``` -3) Install the project dependencies using `devtools`: +3. Install R package dependencies: ``` r -library(devtools) # install from CRAN if needed +library(devtools) devtools::install_deps() ``` -4) Render the chapter using the `revealjs` profile using the following terminal shell command: +4. Render in your desired format: +**HTML website:** ``` bash -quarto render logistic-regression.qmd --profile=revealjs +quarto render --profile=website ``` -You can also render all the chapters listed in the [`_quarto-revealjs.yml`](https://github.com/d-morrison/rme/blob/main/_quarto-revealjs.yml) -[Quarto profile](https://quarto.org/docs/projects/profiles.html) -as slide decks simultaneously: - +**RevealJS slides:** ``` bash +quarto render logistic-regression.qmd --profile=revealjs +# Or render all slides: quarto render --profile=revealjs ``` +**PDF handouts:** +``` bash +quarto render logistic-regression.qmd --profile=handout +# Or render all handouts: +quarto render --profile=handout +``` + --- ### Extracting LaTeX commands from the online version of the notes {.unnumbered} diff --git a/inference.qmd b/inference.qmd index 8037153c6..ad70fc382 100644 --- a/inference.qmd +++ b/inference.qmd @@ -1,3 +1,13 @@ +--- +title: "Statistical Inference" +format: + html: default + revealjs: + output-file: inference-slides.html + pdf: + output-file: inference-handout.pdf +--- + # Inference --- @@ -16,8 +26,8 @@ based on the data (and our prior beliefs). There are two predominant paradigms for statistical inference: -1. Bayesian inference (@sec-bayes) -2. Frequentist inference (@sec-intro-MLEs) +1. [Bayesian inference](intro-bayes.html#sec-bayes) +2. [Frequentist inference](intro-MLEs.html#sec-intro-MLEs) ## Interpretation of Negative Findings diff --git a/intro-MLEs.qmd b/intro-MLEs.qmd index 92432d221..44a1576dc 100644 --- a/intro-MLEs.qmd +++ b/intro-MLEs.qmd @@ -1,3 +1,13 @@ +--- +title: "Introduction to Maximum Likelihood Inference" +format: + html: default + revealjs: + output-file: intro-MLEs-slides.html + pdf: + output-file: intro-MLEs-handout.pdf +--- + # Introduction to Maximum Likelihood Inference {#sec-intro-MLEs} --- diff --git a/intro-bayes.qmd b/intro-bayes.qmd index 287bbfe47..ec8d86900 100644 --- a/intro-bayes.qmd +++ b/intro-bayes.qmd @@ -1,3 +1,13 @@ +--- +title: "Introduction to Bayesian Inference" +format: + html: default + revealjs: + output-file: intro-bayes-slides.html + pdf: + output-file: intro-bayes-handout.pdf +--- + # Introduction to Bayesian inference {#sec-bayes} --- diff --git a/intro-multilevel-models.qmd b/intro-multilevel-models.qmd index cc1e48c59..d9e0b524c 100644 --- a/intro-multilevel-models.qmd +++ b/intro-multilevel-models.qmd @@ -1,3 +1,13 @@ +--- +title: "Introduction to Multi-level Models" +format: + html: default + revealjs: + output-file: intro-multilevel-models-slides.html + pdf: + output-file: intro-multilevel-models-handout.pdf +--- + # Introduction to multi-level models for correlated data diff --git a/intro-to-R.qmd b/intro-to-R.qmd index 13802123b..913372356 100644 --- a/intro-to-R.qmd +++ b/intro-to-R.qmd @@ -1,3 +1,13 @@ +--- +title: "Statistical Computing in R" +format: + html: default + revealjs: + output-file: intro-to-R-slides.html + pdf: + output-file: intro-to-R-handout.pdf +--- + # Statistical computing in R ## Online R learning resources diff --git a/intro-to-survival-analysis.qmd b/intro-to-survival-analysis.qmd index f5548ee0a..5dc22587a 100644 --- a/intro-to-survival-analysis.qmd +++ b/intro-to-survival-analysis.qmd @@ -1,3 +1,13 @@ +--- +title: "Introduction to Survival Analysis" +format: + html: default + revealjs: + output-file: intro-to-survival-analysis-slides.html + pdf: + output-file: intro-to-survival-analysis-handout.pdf +--- + # Introduction to Survival Analysis {{< include shared-config.qmd >}} diff --git a/logistic-regression.qmd b/logistic-regression.qmd index d08f05bc3..8d96036a2 100644 --- a/logistic-regression.qmd +++ b/logistic-regression.qmd @@ -1,5 +1,12 @@ --- +title: "Models for Binary Outcomes" subtitle: "Logistic regression and variations" +format: + html: default + revealjs: + output-file: logistic-regression-slides.html + pdf: + output-file: logistic-regression-handout.pdf --- # Models for Binary Outcomes {#sec-Bernoulli-models} diff --git a/math-prereqs.qmd b/math-prereqs.qmd index 8586aa90a..150ae1712 100644 --- a/math-prereqs.qmd +++ b/math-prereqs.qmd @@ -1,3 +1,13 @@ +--- +title: "Mathematics Prerequisites" +format: + html: default + revealjs: + output-file: math-prereqs-slides.html + pdf: + output-file: math-prereqs-handout.pdf +--- + # Mathematics {{< include latex-macros/macros.qmd >}} diff --git a/midterm-formula-sheet.qmd b/midterm-formula-sheet.qmd index c53f0abe8..b656e3833 100644 --- a/midterm-formula-sheet.qmd +++ b/midterm-formula-sheet.qmd @@ -1,6 +1,11 @@ --- +title: "Midterm Formula Sheet" format: - pdf: default + pdf: + output-file: midterm-formula-sheet-handout.pdf + html: default + revealjs: + output-file: midterm-formula-sheet-slides.html --- ```{r, eval = FALSE, include = FALSE} diff --git a/notation.qmd b/notation.qmd index e790acce8..0b7a59d37 100644 --- a/notation.qmd +++ b/notation.qmd @@ -1,3 +1,13 @@ +--- +title: "Notation" +format: + html: default + revealjs: + output-file: notation-slides.html + pdf: + output-file: notation-handout.pdf +--- + # Notation {#sec-notation} {{< include latex-macros/macros.qmd >}} diff --git a/parametric-survival-models.qmd b/parametric-survival-models.qmd index d7c5a0a7f..7ce305d99 100644 --- a/parametric-survival-models.qmd +++ b/parametric-survival-models.qmd @@ -1,3 +1,13 @@ +--- +title: "Parametric Survival Models" +format: + html: default + revealjs: + output-file: parametric-survival-models-slides.html + pdf: + output-file: parametric-survival-models-handout.pdf +--- + # Parametric survival models --- diff --git a/probability.qmd b/probability.qmd index 31062a145..0dbfe35c1 100644 --- a/probability.qmd +++ b/probability.qmd @@ -1,3 +1,13 @@ +--- +title: "Probability" +format: + html: default + revealjs: + output-file: probability-slides.html + pdf: + output-file: probability-handout.pdf +--- + # Probability {{< include shared-config.qmd >}} diff --git a/proportional-hazards-models.qmd b/proportional-hazards-models.qmd index 64ab2f4ca..5e56fc1e2 100644 --- a/proportional-hazards-models.qmd +++ b/proportional-hazards-models.qmd @@ -1,3 +1,13 @@ +--- +title: "Proportional Hazards Models" +format: + html: default + revealjs: + output-file: proportional-hazards-models-slides.html + pdf: + output-file: proportional-hazards-models-handout.pdf +--- + # Proportional Hazards Models --- diff --git a/time-to-event-models.qmd b/time-to-event-models.qmd index 279f448bf..93b27d40c 100644 --- a/time-to-event-models.qmd +++ b/time-to-event-models.qmd @@ -1,3 +1,13 @@ +--- +title: "Time to Event Models" +format: + html: default + revealjs: + output-file: time-to-event-models-slides.html + pdf: + output-file: time-to-event-models-handout.pdf +--- + # Time to Event Models In many health sciences applications, binary outcomes are *incompletely observed*. diff --git a/top-ten-concepts.qmd b/top-ten-concepts.qmd index 8310f3ea1..f9563c88d 100644 --- a/top-ten-concepts.qmd +++ b/top-ten-concepts.qmd @@ -1,3 +1,13 @@ +--- +title: "Summary of Regression Modeling Concepts" +format: + html: default + revealjs: + output-file: top-ten-concepts-slides.html + pdf: + output-file: top-ten-concepts-handout.pdf +--- + # Summary of Regression Modeling Concepts ## We use different probability models for different data types