LoslegenKostenlos loslegen

Sampling

The sample gathered can be plotted with a histogram to assess the sample distribution, visualizing whether the sample distribution is similar to the assumed distribution of the population.

Make a histogram of the original, normal distribution of 50,000 data points, then gather a small sample to plot and large sample to plot in order to visualize the change in distribution with sample size.

The ggplot2 package and distribution dataset of 50,000 data points have been loaded for you.

Diese Übung ist Teil des Kurses

A/B Testing in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Make a histogram of the parent distribution
ggplot() + aes(___) + geom_histogram(___ = 10)
Code bearbeiten und ausführen