Surveys in St. FLINKering - Multi-Field Tables and Contingency Tables
Loading the math board and drawing, please wait…
In collections
Kreuztabellen
This GeoGebra example demonstrates how to organize and present statistical data using interactive multi-field tables (Mehrfeldertafeln) and four-field tables (Vierfeldertafeln). The core mathematical concepts involve contingency tables and four-fold tables in probability and statistics, used to display the joint distribution of two categorical variables. The construction uses GeoGebra commands such as Element, Sequence, Textfield, Join, If, and Text, creating multiple input fields (e.g., input22 to input65) and answer lists (SolList01, SolList02, etc.), with random question generation (randomQuestions) and a validation button (btnValidate) for automatic checking. This material is suitable for grades 7-8, helping students practice converting data into cross-tabulations and four-fold tables, and enhancing their data representation skills.
GeoGebra Commands & Parameters
Element(randomQuestions, Mod[questionCount - 1, Length[randomQuestions]] + 1) → randomQuestionSequence(InputList01(k) ≟ SolList01(k), k, 1, Length[InputList01]) → CorrectList01Sequence(InputList02(k) ≟ SolList02(k), k, 1, Length[InputList02]) → CorrectList02Sequence(InputList03(k) ≟ SolList03(k), k, 1, Length[InputList03]) → CorrectList03Textfield(input) → inputBoxJoin({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]}) → RasterStreckenJoin({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]}) → RasterBeschriftungSequence(Sequence[Corner[4] + (RasterPixMat * ((k * RasterStepXY), (m * RasterStepXY))), k, 0, RasterMaxX / RasterStepXY], m, 0, RasterMaxY / RasterStepXY) → RasterPunkteElement({4, 6, 4}, randomQuestion) → AnzahlZeilenElement({6, 5, 7}, randomQuestion) → AnzahlSpaltenIf(randomQuestion ≟ 3, 1.1, 0.9) → zeile1If(randomQuestion ≟ 1, 4, randomQuestion ≟ 2, 3.5, 2.75) → spalte1If(randomQuestion ≟ 3, 2, 2.5) → spalte3If(randomQuestion ≟ 3, 2, 2.5) → spalte4If(randomQuestion ≟ 3, 3, randomQuestion ≟ 2, 2.5, 2.5) → spalte5If(randomQuestion ≟ 3, 2, 2.5) → spalte6Sequence(Sequence[PosTable + (Sum[ListSpalte, k], (-Sum[ListZeile, m])), k, 0, AnzahlSpalten], m, 0, AnzahlZeilen) → TablePosMatTextfield(input22) → InputBox22Textfield(input23) → InputBox23Textfield(input24) → InputBox24Textfield(input25) → InputBox25Textfield(input26) → InputBox26Textfield(input27) → InputBox27Textfield(input32) → InputBox32Textfield(input33) → InputBox33Textfield(input34) → InputBox34Textfield(input35) → InputBox35Textfield(input36) → InputBox36Textfield(input37) → InputBox37Textfield(input42) → InputBox42Textfield(input43) → InputBox43Textfield(input44) → InputBox44Textfield(input45) → InputBox45Textfield(input46) → InputBox46Textfield(input47) → InputBox47Textfield(input25) → InputBox55Textfield(input62) → InputBox62Textfield(input63) → InputBox63Textfield(input64) → InputBox64Textfield(input65) → InputBox65If(randomQuestion ≟ 1, Length[RemoveUndefined[InputList01]] ≟ Length[InputList01], randomQuestion ≟ 2, Length[RemoveUndefined[InputList02]] ≟ Length[InputList02], randomQuestion ≟ 3, Length[RemoveUndefined[InputList03]] ≟ Length[InputList03]) → clickableBtnValidateTextfield(input031) → InputBox031Textfield(input032) → InputBox032Textfield(input033) → InputBox033Textfield(input034) → InputBox034Textfield(input035) → InputBox035Textfield(input036) → InputBox036Textfield(input52) → InputBox52Textfield(input53) → InputBox53Textfield(input54) → InputBox54Text("\textsf{\bold{Lösung:}}", Midpoint[TablePosMat(1, 1), TablePosMat(2, 2)] + (0, 0.05), false, true, 0, 0) → txtSolutionTable
AI Drawing Prompt Reference
This is an interactive statistical table generator. Users input data into multiple input boxes, and the graphic automatically creates multi-field or four-field tables based on a randomly generated question. It includes an input area, table drawing area, answer list, and a validation button. The construction order is: first generate a random question, then input data, then compute table positions and draw tables, finally display answers and validation results.
The prompt above was compiled from the original drawing commands and is for reference only.