Question

In: Statistics and Probability

how to calculate quartiles and draw a box plot from a sample data set containing two...

how to calculate quartiles and draw a box plot from a sample data set containing two independent variables and one dependent variable?

Solutions

Expert Solution

Let’s say that we have a data set with N data points:

X – {X1, X2, X3……….. XN}

The formula for quartiles is given by:

  • Lower Quartile (Q1) = (N+1) * 1 / 4
  • Middle Quartile (Q2) = (N+1) * 2 / 4
  • Upper Quartile (Q3 )= (N+1) * 3 / 4

What it basically means is that in a data set with N data points:

  • ((N+1) * 1 / 4)th term is the lower quartile
  • ((N+1) * 2 / 4)th term is the middle quartile
  • ((N+1) * 3 / 4)th term is the upper quartile

Let's say we have a dependent variable Y and two independent variable X1 and X2. Using the above formula, we can compute Quartiles.

The box Plot shows you how your data is spread out. Five pieces of information (the “five-number summary“) are generally included in the Plot:

  • The minimum (the smallest number in the data set). The minimum is shown at the far left of the Plot, at the end of the left “whisker.”
  • First quartile, Q1, is the far left of the box (or the far right of the left whisker).
  • The median is shown as a line in the center of the box.
  • Third quartile, Q3, shown at the far right of the box (at the far left of the right whisker).
  • The maximum (the largest number in the data set), shown at the far right of the box.

The above figure depicts the simple example of Box Plot.

If we have two independent and one dependent variable we can make a side-by-side Box Plot of each independent variable with the dependent variable. For example :


Related Solutions

How do you graph outliers on a box plot when given a data set of numbers?...
How do you graph outliers on a box plot when given a data set of numbers? I found the median, lower and upper quartile numbers and have already plotted that but how do you plot outliers? Lets say the data is :1 2 3 4 5 6 7 8 9
Frequency Plots: a) How do you draw a frequency plot given a data set? b) What...
Frequency Plots: a) How do you draw a frequency plot given a data set? b) What information about a data set do you get from a frequency plot of that set? c) What is the difference between theoretical and experimental frequency plots? i. When is it a safe bet to say that experimental frequency plots will begin to look like theoretical frequency plots? d) How does the frequency plot relate to the cumulative distribution plot? i. How do you draw...
.  Draw a plot of the following set of data and determine the linear regression equation.  What is...
.  Draw a plot of the following set of data and determine the linear regression equation.  What is the      value of the slope and intercept?   What is r and R2?  Are there any outlier values?   (15 points)                                 Age (X):     20  25  36  29  41  35  56  43  66  50  59  67  51  75  75  81  54  66  52  48            Total Body Water (Y):     61  57  52  59  53  58  48  51  37  44  42  41  48  38  41  39  47  42  51  50  
Find the five-number summary, and (b) draw a box-and-whisker plot of the data 3 8 8...
Find the five-number summary, and (b) draw a box-and-whisker plot of the data 3 8 8 6 2 9 8 7 9 6 9 5 1 6 2 9 8 7 7 9
17)Here is the set of data from the previous page:10,11,12,13,15,17,17,18,20,20. The first, second, and third quartiles...
17)Here is the set of data from the previous page:10,11,12,13,15,17,17,18,20,20. The first, second, and third quartiles for this data set are 12, 16, and 18 respectively. Identify the 5-number summary for this data set, and create a box plot(box-and-whisker plot) representing it. 18)a) What 3 numbers are cited in the Empirical Rule for normal distributions?(b) Suppose that height for a species of tree is normally distributed with a mean of 30 feet and a standarddeviation of 3 feet. Approximately what...
Construct a box plot from the given data. Use the approximation method. Scores on a Statistics...
Construct a box plot from the given data. Use the approximation method. Scores on a Statistics Test: 50,65,79,59,63,90,73,80,50,90
Construct a box plot from the given data. Use the approximation method. Diameters of Cans in...
Construct a box plot from the given data. Use the approximation method. Diameters of Cans in an Assembly Line: 5.7,5.2,5.7,5.6,5.1,5.3,5.5,5.3,5.6 Answer Draw the box plot by selecting each of the five movable parts to the appropriate position.
From a box of fruit containing 74 oranges and 1 apple a random sample of 2...
From a box of fruit containing 74 oranges and 1 apple a random sample of 2 pieces of fruit has been selected without replacement. Let X be the number of oranges and Y be the number of apples in the sample. What will the expected value of X, E(X)?
From a box of fruit containing 75 oranges and 1 apple a random sample of 2...
From a box of fruit containing 75 oranges and 1 apple a random sample of 2 pieces of fruit has been selected without replacement. Let X be the number of oranges and Y be the number of apples in the sample. What will the covariance of X and Y be?
From a box of fruit containing 37 oranges and 1 apple a random sample of 2...
From a box of fruit containing 37 oranges and 1 apple a random sample of 2 pieces of fruit has been selected without replacement. Let X be the number of oranges and Y be the number of apples in the sample. What will the expected value of X, E(X)?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT