STA130H1 Study Guide - Final Guide: Histogram, Unimodality, Linear Combination

23
STA130H1 Full Course Notes
Verified Note
23 documents
Document Summary
Each value of a variable is from a numerical scale. Each value is from a fixed set of possible values. Possible values may or may not have an ordering. Some ggplot vocabulary: aesthetic mapping between a variable and where it will be represented on the graph (e. g. , x axis, color-coding, etc. ) geometry what are you plotting (e. g. , points , lines, histogram, etc. ) Every plot must have at least one geometry and there is no upper limit you add a geometry to a plot using + Plot to show the distribution of a numerical variable. Count the number of numerical values that lie within ranges, called bins. Bins are defined by their lower bounds (inclusive); the upper bound is the lower bound of the next bin. Histogram displays the distribution (count (default) or density) of the numerical values in the bins. Horizontal axis is numerical, hence no gaps just need one aesthetic, x.