Contingency Table with Conditional Probability
Loading the math board and drawing, please wait…
This GeoGebra example dynamically constructs a contingency table to illustrate the joint distribution and conditional probabilities between two categorical variables. Core mathematical concepts include conditional probability, Poisson distribution (for generating random count data), set theory relations among events, and distribution visualization. Construction highlights: the Random command generates random data, and objects B1, C1, A2, A3, a, B2, b, B3, c, C2, d, C3 represent table cells for row/column counts and marginal totals, enabling interactive updates via sliders or randomization. Suitable for high school to undergraduate probability and statistics courses, it supports teaching independence tests, Bayes' formula, or contingency table analysis, helping students connect frequencies with probabilities.
GeoGebra Commands & Parameters
Random(40, 60) → aRandom(3, 5) → bRandom(5, 15) → cRandom(40, 60) → d
AI Drawing Prompt Reference
Create an interactive contingency table illustration for conditional probabilities between two categorical variables. Use randomly generated integer counts to populate a 2×2 table of core cells, then arrange the values into the table so students can relate the joint frequency layout to conditional probability ideas. First assign four random counts to the four main cells, each drawn from specified integer ranges so the table updates when the underlying randomness changes. Present the results as a clear contingency table, emphasizing the connection between the cell frequencies and the implied conditional/probability interpretation. Make it suitable for teaching independence tests, Bayes’ formula, and contingency table analysis.
The prompt above was compiled from the original drawing commands and is for reference only.