QQ-Plot for Normality Testing of Grouped Data

QQ-Plot for Normality Testing of Grouped Data
Loading the math board and drawing, please wait…
2024-09-06 23:53
In collections GeoGebra gebruiken
This example demonstrates how to use a QQ-plot (Quantile-Quantile plot) to test the normality of grouped data. In a QQ-plot, sample quantiles are plotted against theoretical quantiles from a normal distribution—if the data follows a normal distribution, the points should fall approximately along a straight line. The core mathematical concepts include normal distribution, quantiles, and normality testing within hypothesis testing. The construction employs the Sequence command to generate theoretical quantile coordinates and the NormalQuantilePlot command to directly render the QQ-plot, involving objects l1 through l6 (grouped data lists), button knop1 for interactive control, and parameters a, b for graph scaling. This example is suitable for high school or university statistics courses to help students understand the principles and graphical interpretation of normality tests.

GeoGebra Commands & Parameters

  1. Sequence(Random[1, 50], nn, 1, 50) → l1, {15, 39, 34, 14, 3, 28, 35, 40, 7, 19, 31, 11, 6, 15, 43, 45, 25, 41, 23, 39, 21, 12, 8, 45, 29, 45, 35, 48, 9, 27, 44, 24, 32, 11, 37, 8, 24, 10, 43, 6, 44, 35, 2, 21, 38, 42, 6, 35, 44, 39}
  2. NormalQuantilePlot(l2) → l3
  3. Sequence(RandomNormal[50, 5], nn, 1, 50) → l4, {48.185136331820146, 53.29857007466952, 45.78473134838685, 44.67631479612158, 55.95530910518356, 54.97001964743731, 40.60845199306331, 49.184418471567504, 49.86641514994285, 51.448413240653935, 46.11472626372543, 42.583260833030344, 61.971073734056425, 50.40535231661637, 50.39863565539731, 48.89261434580419, 52.123790715560304, 54.918415663397845, 54.03089829017244, 33.38933580581586, 44.481573130413764, 54.97683362222132, 47.82106857274053, 46.79876464766831, 50.75845156566912, 40.693705431973704, 48.42392422101194, 51.351251681538855, 35.17114581832019, 49.85263279260057, 54.151055475525936, 45.93715574574762, 50.650517419901824, 52.12172655523359, 50.58453148855075, 39.61557842388144, 52.4612105487845, 53.93413592811431, 52.629990660893, 55.089993565692055, 52.97123391818717, 46.780133783440895, 46.75885205866625, 43.43317185962028, 60.70437497881953, 49.58881382895653, 46.970216688016876, 49.24914487976706, 45.730399111097626, 48.6146805554056}
  4. NormalQuantilePlot(l5) → l6

AI Drawing Prompt Reference

Create a QQ plot to test the normality of grouped data by plotting sample quantiles against theoretical quantiles from a normal distribution; points should align roughly along a straight line if the data is normally distributed. Use two sets of randomly generated data, each with 50 values, calculate their normal quantiles, and plot these quantiles on the QQ plot to demonstrate the normality test results.
The prompt above was compiled from the original drawing commands and is for reference only.