Entering Values in Contingency Tables (Absolute Frequencies) Interactive Practic

Entering Values in Contingency Tables (Absolute Frequencies) Interactive Practic
Loading the math board and drawing, please wait…
2025-01-22 21:26
In collections Kreuztabellen
This interactive GeoGebra example is designed for middle school students (grades 7-8) to practice entering absolute frequencies into contingency tables and fourfold tables. It demonstrates how to organize categorical data into a cross-tabulation format, reinforcing the statistical concept of frequency distribution and joint classification. The construction uses GeoGebra commands such as Join, Element, Textfield, Sequence, and Text to create multiple table objects (Table01 to Table05) and input fields (e.g., input22, input23), along with random question generation (randomQuestions) and a validation button (btnValidate) that provides immediate feedback. The activity tracks attempt and correct counts to support formative assessment. It is suitable for classroom exercises or self-study in statistics and probability, helping students master the correct placement of absolute frequencies in contingency tables.

GeoGebra Commands & Parameters

  1. Join({{1}, Shuffle[{2, 3, 4}], {5}}) → randomQuestions
  2. Element(randomQuestions, Mod[questionCount - 1, Length[randomQuestions]] + 1) → randomQuestion
  3. Textfield(input) → inputBox
  4. Sequence(Sequence[PosTable + (Sum[ListSpalte, k], (-Sum[ListZeile, m])), k, 0, 4], m, 0, 4) → TablePosMat, {{(0.14, 4.12), (3.14, 4.12), (6.9399999999999995, 4.12), (10.74, 4.12), (13.24, 4.12)}, {(0.14, 3.12), (3.14, 3.12), (6.9399999999999995, 3.12), (10.74, 3.12), (13.24, 3.12)}, {(0.14, 2.12), (3.14, 2.12), (6.9399999999999995, 2.12), (10.74, 2.12), (13.24, 2.12)}, {(0.14, 1.12), (3.14, 1.12), (6.9399999999999995, 1.12), (10.74, 1.12), (13.24, 1.12)}, {(0.14, 0.1200000000000001), (3.14, 0.1200000000000001), (6.9399999999999995, 0.1200000000000001), (10.74, 0.1200000000000001), (13.24, 0.1200000000000001)}}
  5. Textfield(input22) → InputBox22
  6. Textfield(input23) → InputBox23
  7. Textfield(input24) → InputBox24
  8. Textfield(input32) → InputBox32
  9. Textfield(input33) → InputBox33
  10. Textfield(input34) → InputBox34
  11. Textfield(input42) → InputBox42
  12. Textfield(input43) → InputBox43
  13. Textfield(input44) → InputBox44
  14. Text((("\textsf{\bold{" * TableCapList12(randomQuestion)) * "\vphantom{g}}}"), Midpoint[TablePosMat(1, 2), TablePosMat(2, 2)], false, true, 1, 0) → TableCap12
  15. Text((("\textsf{\bold{" * TableCapList13(randomQuestion)) * "\vphantom{g}}}"), Midpoint[TablePosMat(1, 3), TablePosMat(2, 3)], false, true, 1, 0) → TableCap13
  16. Text("\textsf{\bold{Gesamt\vphantom{g}}}", Midpoint[TablePosMat(1, 4), TablePosMat(2, 4)], false, true, 1, 0) → TableCap14
  17. Text((("\textsf{\bold{" * TableCapList21(randomQuestion)) * "\phantom{g}}}"), Midpoint[TablePosMat(2, 1), TablePosMat(3, 1)], false, true, 1, 0) → TableCap21
  18. Text((("\textsf{\bold{" * TableCapList31(randomQuestion)) * "\phantom{g}}}"), Midpoint[TablePosMat(3, 1), TablePosMat(4, 1)], false, true, 1, 0) → TableCap31
  19. Text("\textsf{\bold{Gesamt\phantom{g}}}", Midpoint[TablePosMat(4, 1), TablePosMat(5, 1)], false, true, 1, 0) → TableCap41
  20. Join({Sequence[Segment[Corner[4] + (RasterPixMat * ((k * RasterStepXY), 0)), Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY))], k, 0, RasterMaxX / RasterStepXY], Sequence[Segment[Corner[4] + (RasterPixMat * (0, (k * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], k, 0, RasterMaxY / RasterStepXY]}) → RasterStrecken
  21. Join({Sequence[Text[UnicodeToLetter[65 + k], Midpoint[Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY)), Corner[4] + (RasterPixMat * (((k + 1) * RasterStepXY), RasterMaxY))], false, true, 0, -1], k, 0, RasterMaxX / RasterStepXY - 1], Sequence[Text[("" * k), Midpoint[Corner[4] + (RasterPixMat * (RasterMaxX, ((k - 1) * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], false, true, 1, 0], k, 1, RasterMaxY / RasterStepXY]}) → RasterBeschriftung
  22. Sequence(Sequence[Corner[4] + (RasterPixMat * ((k * RasterStepXY), (m * RasterStepXY))), k, 0, RasterMaxX / RasterStepXY], m, 0, RasterMaxY / RasterStepXY) → RasterPunkte, {{(-0.3199999999999996, 10.179999999999977), (0.6820242914979755, 10.179999999999977), (1.6840485829959506, 10.179999999999977), (2.6860728744939264, 10.179999999999977), (3.688097165991901, 10.179999999999977), (4.690121457489877, 10.179999999999977), (5.692145748987852, 10.179999999999977), (6.694170040485827, 10.179999999999977), (7.6961943319838015, 10.179999999999977), (8.698218623481777, 10.179999999999977), (9.700242914979752, 10.179999999999977), (10.702267206477726, 10.179999999999977), (11.704291497975703, 10.179999999999977), (12.706315789473678, 10.179999999999977), (13.708340080971652, 10.179999999999977), (14.710364372469629, 10.179999999999977), (15.712388663967602, 10.179999999999977), (16.71441295546558, 10.179999999999977), (17.716437246963554, 10.179999999999977), (18.71846153846153, 10.179999999999977), (19.720485829959504, 10.179999999999977)}, {(-0.3199999999999996, 9.177493734335819), (0.6820242914979755, 9.177493734335819), (1.6840485829959506, 9.177493734335819), (2.6860728744939264, 9.177493734335819), (3.688097165991901, 9.177493734335819), (4.690121457489877, 9.177493734335819), (5.692145748987852, 9.177493734335819), (6.694170040485827, 9.177493734335819), (7.6961943319838015, 9.177493734335819), (8.698218623481777, 9.177493734335819), (9.700242914979752, 9.177493734335819), (10.702267206477726, 9.177493734335819), (11.704291497975703, 9.177493734335819), (12.706315789473678, 9.177493734335819), (13.708340080971652, 9.177493734335819), (14.710364372469629, 9.177493734335819), (15.712388663967602, 9.177493734335819), (16.71441295546558, 9.177493734335819), (17.716437246963554, 9.177493734335819), (18.71846153846153, 9.177493734335819), (19.720485829959504, 9.177493734335819)}, {(-0.3199999999999996, 8.174987468671661), (0.6820242914979755, 8.174987468671661), (1.6840485829959506, 8.174987468671661), (2.6860728744939264, 8.174987468671661), (3.688097165991901, 8.174987468671661), (4.690121457489877, 8.174987468671661), (5.692145748987852, 8.174987468671661), (6.694170040485827, 8.174987468671661), (7.6961943319838015, 8.174987468671661), (8.698218623481777, 8.174987468671661), (9.700242914979752, 8.174987468671661), (10.702267206477726, 8.174987468671661), (11.704291497975703, 8.174987468671661), (12.706315789473678, 8.174987468671661), (13.708340080971652, 8.174987468671661), (14.710364372469629, 8.174987468671661), (15.712388663967602, 8.174987468671661), (16.71441295546558, 8.174987468671661), (17.716437246963554, 8.174987468671661), (18.71846153846153, 8.174987468671661), (19.720485829959504, 8.174987468671661)}, {(-0.3199999999999996, 7.172481203007503), (0.6820242914979755, 7.172481203007503), (1.6840485829959506, 7.172481203007503), (2.6860728744939264, 7.172481203007503), (3.688097165991901, 7.172481203007503), (4.690121457489877, 7.172481203007503), (5.692145748987852, 7.172481203007503), (6.694170040485827, 7.172481203007503), (7.6961943319838015, 7.172481203007503), (8.698218623481777, 7.172481203007503), (9.700242914979752, 7.172481203007503), (10.702267206477726, 7.172481203007503), (11.704291497975703, 7.172481203007503), (12.706315789473678, 7.172481203007503), (13.708340080971652, 7.172481203007503), (14.710364372469629, 7.172481203007503), (15.712388663967602, 7.172481203007503), (16.71441295546558, 7.172481203007503), (17.716437246963554, 7.172481203007503), (18.71846153846153, 7.172481203007503), (19.720485829959504, 7.172481203007503)}, {(-0.3199999999999996, 6.169974937343345), (0.6820242914979755, 6.169974937343345), (1.6840485829959506, 6.169974937343345), (2.6860728744939264, 6.169974937343345), (3.688097165991901, 6.169974937343345), (4.690121457489877, 6.169974937343345), (5.692145748987852, 6.169974937343345), (6.694170040485827, 6.169974937343345), (7.6961943319838015, 6.169974937343345), (8.698218623481777, 6.169974937343345), (9.700242914979752, 6.169974937343345), (10.702267206477726, 6.169974937343345), (11.704291497975703, 6.169974937343345), (12.706315789473678, 6.169974937343345), (13.708340080971652, 6.169974937343345), (14.710364372469629, 6.169974937343345), (15.712388663967602, 6.169974937343345), (16.71441295546558, 6.169974937343345), (17.716437246963554, 6.169974937343345), (18.71846153846153, 6.169974937343345), (19.720485829959504, 6.169974937343345)}, {(-0.3199999999999996, 5.167468671679187), (0.6820242914979755, 5.167468671679187), (1.6840485829959506, 5.167468671679187), (2.6860728744939264, 5.167468671679187), (3.688097165991901, 5.167468671679187), (4.690121457489877, 5.167468671679187), (5.692145748987852, 5.167468671679187), (6.694170040485827, 5.167468671679187), (7.6961943319838015, 5.167468671679187), (8.698218623481777, 5.167468671679187), (9.700242914979752, 5.167468671679187), (10.702267206477726, 5.167468671679187), (11.704291497975703, 5.167468671679187), (12.706315789473678, 5.167468671679187), (13.708340080971652, 5.167468671679187), (14.710364372469629, 5.167468671679187), (15.712388663967602, 5.167468671679187), (16.71441295546558, 5.167468671679187), (17.716437246963554, 5.167468671679187), (18.71846153846153, 5.167468671679187), (19.720485829959504, 5.167468671679187)}, {(-0.3199999999999996, 4.164962406015029), (0.6820242914979755, 4.164962406015029), (1.6840485829959506, 4.164962406015029), (2.6860728744939264, 4.164962406015029), (3.688097165991901, 4.164962406015029), (4.690121457489877, 4.164962406015029), (5.692145748987852, 4.164962406015029), (6.694170040485827, 4.164962406015029), (7.6961943319838015, 4.164962406015029), (8.698218623481777, 4.164962406015029), (9.700242914979752, 4.164962406015029), (10.702267206477726, 4.164962406015029), (11.704291497975703, 4.164962406015029), (12.706315789473678, 4.164962406015029), (13.708340080971652, 4.164962406015029), (14.710364372469629, 4.164962406015029), (15.712388663967602, 4.164962406015029), (16.71441295546558, 4.164962406015029), (17.716437246963554, 4.164962406015029), (18.71846153846153, 4.164962406015029), (19.720485829959504, 4.164962406015029)}, {(-0.3199999999999996, 3.162456140350871), (0.6820242914979755, 3.162456140350871), (1.6840485829959506, 3.162456140350871), (2.6860728744939264, 3.162456140350871), (3.688097165991901, 3.162456140350871), (4.690121457489877, 3.162456140350871), (5.692145748987852, 3.162456140350871), (6.694170040485827, 3.162456140350871), (7.6961943319838015, 3.162456140350871), (8.698218623481777, 3.162456140350871), (9.700242914979752, 3.162456140350871), (10.702267206477726, 3.162456140350871), (11.704291497975703, 3.162456140350871), (12.706315789473678, 3.162456140350871), (13.708340080971652, 3.162456140350871), (14.710364372469629, 3.162456140350871), (15.712388663967602, 3.162456140350871), (16.71441295546558, 3.162456140350871), (17.716437246963554, 3.162456140350871), (18.71846153846153, 3.162456140350871), (19.720485829959504, 3.162456140350871)}, {(-0.3199999999999996, 2.1599498746867134), (0.6820242914979755, 2.1599498746867134), (1.6840485829959506, 2.1599498746867134), (2.6860728744939264, 2.1599498746867134), (3.688097165991901, 2.1599498746867134), (4.690121457489877, 2.1599498746867134), (5.692145748987852, 2.1599498746867134), (6.694170040485827, 2.1599498746867134), (7.6961943319838015, 2.1599498746867134), (8.698218623481777, 2.1599498746867134), (9.700242914979752, 2.1599498746867134), (10.702267206477726, 2.1599498746867134), (11.704291497975703, 2.1599498746867134), (12.706315789473678, 2.1599498746867134), (13.708340080971652, 2.1599498746867134), (14.710364372469629, 2.1599498746867134), (15.712388663967602, 2.1599498746867134), (16.71441295546558, 2.1599498746867134), (17.716437246963554, 2.1599498746867134), (18.71846153846153, 2.1599498746867134), (19.720485829959504, 2.1599498746867134)}, {(-0.3199999999999996, 1.1574436090225557), (0.6820242914979755, 1.1574436090225557), (1.6840485829959506, 1.1574436090225557), (2.6860728744939264, 1.1574436090225557), (3.688097165991901, 1.1574436090225557), (4.690121457489877, 1.1574436090225557), (5.692145748987852, 1.1574436090225557), (6.694170040485827, 1.1574436090225557), (7.6961943319838015, 1.1574436090225557), (8.698218623481777, 1.1574436090225557), (9.700242914979752, 1.1574436090225557), (10.702267206477726, 1.1574436090225557), (11.704291497975703, 1.1574436090225557), (12.706315789473678, 1.1574436090225557), (13.708340080971652, 1.1574436090225557), (14.710364372469629, 1.1574436090225557), (15.712388663967602, 1.1574436090225557), (16.71441295546558, 1.1574436090225557), (17.716437246963554, 1.1574436090225557), (18.71846153846153, 1.1574436090225557), (19.720485829959504, 1.1574436090225557)}, {(-0.3199999999999996, 0.15493734335839804), (0.6820242914979755, 0.15493734335839804), (1.6840485829959506, 0.15493734335839804), (2.6860728744939264, 0.15493734335839804), (3.688097165991901, 0.15493734335839804), (4.690121457489877, 0.15493734335839804), (5.692145748987852, 0.15493734335839804), (6.694170040485827, 0.15493734335839804), (7.6961943319838015, 0.15493734335839804), (8.698218623481777, 0.15493734335839804), (9.700242914979752, 0.15493734335839804), (10.702267206477726, 0.15493734335839804), (11.704291497975703, 0.15493734335839804), (12.706315789473678, 0.15493734335839804), (13.708340080971652, 0.15493734335839804), (14.710364372469629, 0.15493734335839804), (15.712388663967602, 0.15493734335839804), (16.71441295546558, 0.15493734335839804), (17.716437246963554, 0.15493734335839804), (18.71846153846153, 0.15493734335839804), (19.720485829959504, 0.15493734335839804)}, {(-0.3199999999999996, -0.8475689223057596), (0.6820242914979755, -0.8475689223057596), (1.6840485829959506, -0.8475689223057596), (2.6860728744939264, -0.8475689223057596), (3.688097165991901, -0.8475689223057596), (4.690121457489877, -0.8475689223057596), (5.692145748987852, -0.8475689223057596), (6.694170040485827, -0.8475689223057596), (7.6961943319838015, -0.8475689223057596), (8.698218623481777, -0.8475689223057596), (9.700242914979752, -0.8475689223057596), (10.702267206477726, -0.8475689223057596), (11.704291497975703, -0.8475689223057596), (12.706315789473678, -0.8475689223057596), (13.708340080971652, -0.8475689223057596), (14.710364372469629, -0.8475689223057596), (15.712388663967602, -0.8475689223057596), (16.71441295546558, -0.8475689223057596), (17.716437246963554, -0.8475689223057596), (18.71846153846153, -0.8475689223057596), (19.720485829959504, -0.8475689223057596)}, {(-0.3199999999999996, -1.850075187969919), (0.6820242914979755, -1.850075187969919), (1.6840485829959506, -1.850075187969919), (2.6860728744939264, -1.850075187969919), (3.688097165991901, -1.850075187969919), (4.690121457489877, -1.850075187969919), (5.692145748987852, -1.850075187969919), (6.694170040485827, -1.850075187969919), (7.6961943319838015, -1.850075187969919), (8.698218623481777, -1.850075187969919), (9.700242914979752, -1.850075187969919), (10.702267206477726, -1.850075187969919), (11.704291497975703, -1.850075187969919), (12.706315789473678, -1.850075187969919), (13.708340080971652, -1.850075187969919), (14.710364372469629, -1.850075187969919), (15.712388663967602, -1.850075187969919), (16.71441295546558, -1.850075187969919), (17.716437246963554, -1.850075187969919), (18.71846153846153, -1.850075187969919), (19.720485829959504, -1.850075187969919)}, {(-0.3199999999999996, -2.852581453634077), (0.6820242914979755, -2.852581453634077), (1.6840485829959506, -2.852581453634077), (2.6860728744939264, -2.852581453634077), (3.688097165991901, -2.852581453634077), (4.690121457489877, -2.852581453634077), (5.692145748987852, -2.852581453634077), (6.694170040485827, -2.852581453634077), (7.6961943319838015, -2.852581453634077), (8.698218623481777, -2.852581453634077), (9.700242914979752, -2.852581453634077), (10.702267206477726, -2.852581453634077), (11.704291497975703, -2.852581453634077), (12.706315789473678, -2.852581453634077), (13.708340080971652, -2.852581453634077), (14.710364372469629, -2.852581453634077), (15.712388663967602, -2.852581453634077), (16.71441295546558, -2.852581453634077), (17.716437246963554, -2.852581453634077), (18.71846153846153, -2.852581453634077), (19.720485829959504, -2.852581453634077)}, {(-0.3199999999999996, -3.8550877192982345), (0.6820242914979755, -3.8550877192982345), (1.6840485829959506, -3.8550877192982345), (2.6860728744939264, -3.8550877192982345), (3.688097165991901, -3.8550877192982345), (4.690121457489877, -3.8550877192982345), (5.692145748987852, -3.8550877192982345), (6.694170040485827, -3.8550877192982345), (7.6961943319838015, -3.8550877192982345), (8.698218623481777, -3.8550877192982345), (9.700242914979752, -3.8550877192982345), (10.702267206477726, -3.8550877192982345), (11.704291497975703, -3.8550877192982345), (12.706315789473678, -3.8550877192982345), (13.708340080971652, -3.8550877192982345), (14.710364372469629, -3.8550877192982345), (15.712388663967602, -3.8550877192982345), (16.71441295546558, -3.8550877192982345), (17.716437246963554, -3.8550877192982345), (18.71846153846153, -3.8550877192982345), (19.720485829959504, -3.8550877192982345)}, {(-0.3199999999999996, -4.857593984962392), (0.6820242914979755, -4.857593984962392), (1.6840485829959506, -4.857593984962392), (2.6860728744939264, -4.857593984962392), (3.688097165991901, -4.857593984962392), (4.690121457489877, -4.857593984962392), (5.692145748987852, -4.857593984962392), (6.694170040485827, -4.857593984962392), (7.6961943319838015, -4.857593984962392), (8.698218623481777, -4.857593984962392), (9.700242914979752, -4.857593984962392), (10.702267206477726, -4.857593984962392), (11.704291497975703, -4.857593984962392), (12.706315789473678, -4.857593984962392), (13.708340080971652, -4.857593984962392), (14.710364372469629, -4.857593984962392), (15.712388663967602, -4.857593984962392), (16.71441295546558, -4.857593984962392), (17.716437246963554, -4.857593984962392), (18.71846153846153, -4.857593984962392), (19.720485829959504, -4.857593984962392)}, {(-0.3199999999999996, -5.86010025062655), (0.6820242914979755, -5.86010025062655), (1.6840485829959506, -5.86010025062655), (2.6860728744939264, -5.86010025062655), (3.688097165991901, -5.86010025062655), (4.690121457489877, -5.86010025062655), (5.692145748987852, -5.86010025062655), (6.694170040485827, -5.86010025062655), (7.6961943319838015, -5.86010025062655), (8.698218623481777, -5.86010025062655), (9.700242914979752, -5.86010025062655), (10.702267206477726, -5.86010025062655), (11.704291497975703, -5.86010025062655), (12.706315789473678, -5.86010025062655), (13.708340080971652, -5.86010025062655), (14.710364372469629, -5.86010025062655), (15.712388663967602, -5.86010025062655), (16.71441295546558, -5.86010025062655), (17.716437246963554, -5.86010025062655), (18.71846153846153, -5.86010025062655), (19.720485829959504, -5.86010025062655)}}

AI Drawing Prompt Reference

This is an interactive table graph for practicing entering absolute frequencies into contingency tables. The graph includes multiple tables with rows and columns to display categorical data. Users can input absolute frequency values into cells via input boxes. The graph also features a random question generator that produces a statistical question at random, and a validation button that provides immediate feedback. It also includes attempt and correct counts for formative assessment. The overall design is suitable for middle school students to practice data organization and frequency distribution concepts in statistics and probability.
The prompt above was compiled from the original drawing commands and is for reference only.