Multivariate Sample Simulator
Loading the math board and drawing, please wait…
This example demonstrates the variance and covariance of multivariate data by dragging points and sampling. Core math concepts include variance, covariance, sample mean, and geometric constructions. It uses GeoGebra commands like Sequence, MeanX/Y, Segment, Variance, and Covariance. Suitable for high school and above in probability & statistics education.
GeoGebra Commands & Parameters
Sequence((Element[A1perm, i], Element[B2perm, i]), i, 1, Length[A1perm]) → list1Sequence(RandomElement[list1], i, 1, samplesize) → list3MeanX(list3) → aMeanY(list3) → bSequence((Element[list2, i], -i), i, 1, samplesize) → list5Segment(B, (x(B), -100)) → cSequence(Segment[Element[list5, i], (a, -i)], i, 1, samplesize) → list6Sequence((-i, Element[list4, i]), i, 1, samplesize) → list7Segment(C, (-100, y(C))) → dSequence(Segment[Element[list7, i], (-i, b)], i, 1, samplesize) → list8Variance(list2) → eSequence(Element[list2, i] - a, i, 1, samplesize) → xmeancorrectedSequence(Element[list4, i] - b, i, 1, samplesize) → ymeancorrectedCovariance(xmeancorrected, ymeancorrected) → covarVariance(list4) → varoflist4
AI Drawing Prompt Reference
Draw a set of multivariate data points and observe variance and covariance by dragging points and sampling. First, create a series of random points, calculate their means, then draw line segments from these points to the mean point to show the relationship between data points and the mean point. Finally, compute variance and covariance to observe the distribution of data points.
The prompt above was compiled from the original drawing commands and is for reference only.