Skip to content

Commit

Permalink
05 working draft minus test yourself
Browse files Browse the repository at this point in the history
  • Loading branch information
BartlettJE committed Jan 17, 2025
1 parent 614ce33 commit eee0092
Show file tree
Hide file tree
Showing 48 changed files with 2,343 additions and 1,500 deletions.
1,471 changes: 0 additions & 1,471 deletions 05-glm.html

This file was deleted.

105 changes: 76 additions & 29 deletions 05-glm.qmd

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions _freeze/05-glm/execute-results/html.json

Large diffs are not rendered by default.

Binary file added _freeze/05-glm/figure-html/unnamed-chunk-17-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _freeze/05-glm/figure-html/unnamed-chunk-18-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _freeze/05-glm/figure-html/unnamed-chunk-20-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _freeze/05-glm/figure-html/unnamed-chunk-33-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _freeze/05-glm/figure-html/unnamed-chunk-34-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _freeze/05-glm/figure-html/unnamed-chunk-35-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _freeze/05-glm/figure-html/unnamed-chunk-7-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ book:
- 02-lm-categorical.qmd
- 03-lm-multiple.qmd
- 04-screening-data.qmd
- 05-glm.qmd
appendices:
- references.qmd
bibliography: include/statsresbook_references.bib
Expand Down
2,156 changes: 2,156 additions & 0 deletions docs/05-glm.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/data/05_data.zip
Binary file not shown.
60 changes: 60 additions & 0 deletions docs/search.json

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions include/statsresbook_references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -692,3 +692,36 @@ @article{bostyn_mice_2018
}


@article{voas_odds_2024,
title = {The odds are it's wrong: {Correcting} a common mistake in statistics},
copyright = {© 2024 The Author(s). Teaching Statistics published by John Wiley \& Sons Ltd on behalf of Teaching Statistics Trust.},
issn = {1467-9639},
shorttitle = {The odds are it's wrong},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1111/test.12391},
doi = {10.1111/test.12391},
abstract = {Binary logistic regression is one of the most widely used statistical tools. The method uses odds, log odds, and odds ratios, which are difficult to understand and interpret. Understanding of logistic regression tends to fall down in one of three ways: (1) Many students and researchers come to believe that an odds ratio translates directly into relative probabilities. (2) Alternatively, they learn that coefficients tell us whether the variables make the outcome more or less likely, without knowing how to interpret changes in the odds. (3) They may be instructed in how to calculate predicted probabilities, but the additional steps are too complicated for them to follow. Our key aim is to highlight and correct the common mistake of confusing differences in odds with relative risks. Simply reporting the odds ratio is unhelpful, however, so we describe an easy method of estimating probabilities for both binary and continuous variables.},
language = {en},
urldate = {2024-11-11},
journal = {Teaching Statistics},
author = {Voas, David and Watt, Laura},
year = {2024},
note = {\_eprint: https://onlinelibrary.wiley.com/doi/pdf/10.1111/test.12391},
keywords = {log odds, logistic regression, odds ratio, predicted probability, relative risk, teaching statistics},
file = {Full Text PDF:/Users/jamesbartlett/Zotero/storage/TT4QH8IX/Voas and Watt - The odds are it's wrong Correcting a common mista.pdf:application/pdf;Snapshot:/Users/jamesbartlett/Zotero/storage/Z2P2L5NL/test.html:text/html},
}

@Manual{Christensen2023,
title = {ordinal---Regression Models for Ordinal Data},
author = {Rune H. B. Christensen},
year = {2023},
note = {R package version 2023.12-4.1},
url = {https://CRAN.R-project.org/package=ordinal},
}

@Manual{luedecke_2024,
title = {sjPlot: Data Visualization for Statistics in Social Science},
author = {Daniel Lüdecke},
year = {2024},
note = {R package version 2.8.16},
url = {https://CRAN.R-project.org/package=sjPlot},
}

0 comments on commit eee0092

Please sign in to comment.