| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
A line graph is used to show how a set of data changes over a period of time. To make a line graph, a scale and interval should be chosen. Then the pairs of data should be graphed and a line connecting the points should be drawn. Consider a table of values that represents the growth of a plant over several weeks.
Plant Growth | |||||
---|---|---|---|---|---|
Week | 1 | 2 | 3 | 4 | 5 |
Height, (in) | 1.5 | 2.3 | 4 | 6.2 | 8 |
The height data includes values from 1.5 to 8, so a scale from 0 to 10 inches with an interval of 1 inch are reasonable. The horizontal axis can represent time in weeks and the vertical axis can represent the plant height in inches. Now, the points can be plotted on a coordinate plane and connected.
By observing the upward and downward slant of lines connecting the points, the trends in the data can be described and future events can be predicted.A box plot or box and whisker plot can be used to illustrate the distribution of a data set. A box plot has three parts.
A box plot is a scaled figure, usually presented above a number line. The set of numbers used to draw the box plot is called the five-number summary of the data set. Each of the five numbers is labeled accordingly.
A box plot provides a visual illustration of the distribution of a data set. Each segment of the chart contains one quarter, or 25% of the data, and the center 50% of the data lies inside the box. The further apart the segments are, the greater the spread is for that quarter of the data.A histogram is a graphical illustration of a frequency distribution of a data set that contains numerical data. Histograms have several defining characteristics.
A bar graph is a graphical representation of a frequency distribution of a categorical data. It is made of rectangular bars and each bar represents a category and its frequency in a data set. A bar graph is most often created using the data in a frequency table.
A bar graph can be oriented either horizontally or vertically by swapping which axis shows the categories and which contains the frequency of each category. For example, consider a group of students who are asked what their favorite color is. The categories and values will be adjusted accordingly.A pie chart is a circular chart used to represent the relative frequencies of a data set. It is also called a circle chart. These charts are divided into several slices — each representing a group of the whole data set. The following characteristics are typical of pie charts.
A pie chart allows the visualization of each individual data group when compared to the whole. Alone, however, the chart does not give information about the frequency of each group.
Pie charts might also include the relative frequency of each group written as a percentage. It is also possible to include labels to represent each group with matching colors.
A scatter plot is a graph that shows each observation of a bivariate data set as an ordered pair in a coordinate plane. Consider the following example, where a scatter plot illustrates the results gathered at a local ice cream parlor. This study records the number of ice creams sold and the corresponding air temperature.
Among other insights, the graph shows that when the temperature is about 100∘F, approximately 4000 ice creams are sold. Additionally, as the temperature increased, the number of sales also increased. In this case, it can be said that there is a positive correlation between the data sets — the number of ice creams sold and the air temperature.A stem-and-leaf plot is a table that orders numerical data, which can be either discrete or continuous, and shows how they are distributed. A stem-and-leaf plot is constructed by breaking each number from the data into a stem
and a leaf.
The stem of the number is all but the last digit and the leaf is always the last digit. Stem-and-leaf plots include a key that defines how the numbers in the set are to be interpreted.