Package: eikosograms 0.1.1.9000
eikosograms: The Picture of Probability
An eikosogram (ancient Greek for probability picture) divides the unit square into rectangular regions whose areas, sides, and widths, represent various probabilities associated with the values of one or more categorical variates. Rectangle areas are joint probabilities, widths are always marginal (though possibly joint margins, i.e. marginal joint distributions of two or more variates), and heights of rectangles are always conditional probabilities. Eikosograms embed the rules of probability and are useful for introducing elementary probability theory, including axioms, marginal, conditional, and joint probabilities, and their relationships (including Bayes theorem as a completely trivial consequence). They are markedly superior to Venn diagrams for this purpose, especially in distinguishing probabilistic independence, mutually exclusive events, coincident events, and associations. They also are useful for identifying and understanding conditional independence structure. As data analysis tools, eikosograms display categorical data in a manner similar to Mosaic plots, especially when only two variates are involved (the only case in which they are essentially identical, though eikosograms purposely disallow spacing between rectangles). Unlike Mosaic plots, eikosograms do not alternate axes as each new categorical variate (beyond two) is introduced. Instead, only one categorical variate, designated the "response", presents on the vertical axis and all others, designated the "conditioning" variates, appear on the horizontal. In this way, conditional probability appears only as height and marginal probabilities as widths. The eikosogram is therefore much better suited to a response model analysis (e.g. logistic model) than is a Mosaic plot. Mosaic plots are better suited to log-linear style modelling as in discrete multivariate analysis. Of course, eikosograms are also suited to discrete multivariate analysis with each variate in turn appearing as the response. This makes it better suited than Mosaic plots to discrete graphical models based on conditional independence graphs (i.e. "Bayesian Networks" or "BayesNets"). The eikosogram and its superiority to Venn diagrams in teaching probability is described in W.H. Cherry and R.W. Oldford (2003) <https://math.uwaterloo.ca/~rwoldfor/papers/eikosograms/paper.pdf>, its value in exploring conditional independence structure and relation to graphical and log-linear models is described in R.W. Oldford (2003) <https://math.uwaterloo.ca/~rwoldfor/papers/eikosograms/independence/paper.pdf>, and a number of problems, puzzles, and paradoxes that are easily explained with eikosograms are given in R.W. Oldford (2003) <https://math.uwaterloo.ca/~rwoldfor/papers/eikosograms/examples/paper.pdf>.
Authors:
eikosograms_0.1.1.9000.tar.gz
eikosograms_0.1.1.9000.zip(r-4.5)eikosograms_0.1.1.9000.zip(r-4.4)eikosograms_0.1.1.9000.zip(r-4.3)
eikosograms_0.1.1.9000.tgz(r-4.4-any)eikosograms_0.1.1.9000.tgz(r-4.3-any)
eikosograms_0.1.1.9000.tar.gz(r-4.5-noble)eikosograms_0.1.1.9000.tar.gz(r-4.4-noble)
eikosograms_0.1.1.9000.tgz(r-4.4-emscripten)eikosograms_0.1.1.9000.tgz(r-4.3-emscripten)
eikosograms.pdf |eikosograms.html✨
eikosograms/json (API)
# Install 'eikosograms' in R: |
install.packages('eikosograms', repos = c('https://rwoldford.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rwoldford/eikosograms/issues
Last updated 5 years agofrom:55b2b1b39b. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 14 2024 |
R-4.5-win | OK | Nov 14 2024 |
R-4.5-linux | OK | Nov 14 2024 |
R-4.4-win | OK | Nov 14 2024 |
R-4.4-mac | OK | Nov 14 2024 |
R-4.3-win | OK | Nov 14 2024 |
R-4.3-mac | OK | Nov 14 2024 |
Exports:eikos
Data Analysis
Rendered fromDataAnalysis.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2018-08-22
Started: 2018-08-21
Exploring Independence
Rendered fromIndependenceExploration.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2019-07-19
Started: 2018-07-29
Introduction to eikosograms
Rendered fromIntroduction.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2019-07-19
Started: 2018-08-22
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Generic method for creating an eikosogram | eikos |
Create eikosogram data frame | eikos_data |
Create eikosogram legend | eikos_legend |
eikos helper function. Returns grob with x axis labels. | eikos_x_labels |
Create grob with eikosogram x-axis probabilities | eikos_x_probs |
eikos helper function. Returns grob with y axis labels. | eikos_y_labels |
Create grob with eikosogram y-axis probabilities | eikos_y_probs |
Create a new eikosogram | eikos.default |
Draw eikosogram using a formula to identify response and conditioning variates | eikos.formula |