242,485 views
10 votes
10 votes
The librarian at the public library counted the number of books on each shelf. Number of books Number of shelves 12 3 40 3 45 3 58 4 75 2 5 88 X is the number of books that a randomly chosen shelf has. What is the expected value of X? Write your answer as a decimal.

The librarian at the public library counted the number of books on each shelf. Number-example-1
User Timofey Drozhzhin
by
3.1k points

1 Answer

11 votes
11 votes

The data shows the number of books per shelf in the library.

The variable of the study is X: the number of books on each shelf.

The data is arranged in a frequency table, in the first column you see the number of books per column and on the second column, you see the absolute frequency.

So, for example, in the first row, we see that 3 shelves have 12 books, and in the second row we have the information that three shelves have 40 books, and so on...

To calculate the expected value of a sample shown on a frequency table you have to use the following formula:


E(X)=(\Sigma x_if_i)/(n)

Where

xi represents each possible observation of the variable X

fi represents the absolute frequency of each observation

n represents the sample size

To determine the sample size, which is the total number of shelves, you have to add all observed frequencies:


\begin{gathered} n=3+3+3+4+2+5 \\ n=20 \end{gathered}

Next is to calculate the expected value, you have to multiply each observation by its corresponding frequency and add them together, then divide the result by 20:


\begin{gathered} E(X)=((12\cdot3)+(40\cdot3)+(45\cdot3)+(58\cdot4)+(75\cdot2)+(88\cdot5))/(20) \\ E(X)=(36+120+135+232+150+440)/(20) \\ E(X)=(1113)/(20) \\ E(X)=55.65 \end{gathered}

The expected value is E(X)=55.65 books

The librarian at the public library counted the number of books on each shelf. Number-example-1
User Abolfazl Bazghandi
by
2.6k points