3.7k views
0 votes
1. Consider the chance experiment of selecting an adult at random from the sample. The number of credit cards is a discrete random variable. The table above sets up the probability

distribution of this variable as a relative frequency. Make a histogram of the probability distribution of the number of credit cards per person based on the relative frequencies.

User Rashid KC
by
3.1k points

1 Answer

5 votes

Answer:

See the explanation below.

Explanation:

Assuming the distribution table given:

X ( Number od Credit Cards) Relative frequency

0 0.26

1 0.17

2 0.12

3 0.10

4 0.09

5 0.06

6 0.05

7 0.05

8 0.04

9 0.03

10 0.03

We can create the histogram for this data using the following code in R:

> x<-c(0,1,2,3,4,5,6,7,8,9,10)

> freq<-c(0.26,0.17,0.12,0.10,0.09,0.06,0.05,0.05,0.04,0.03,0.03)

> x1<-c(rep(0,26),rep(1,17), rep(2,12),rep(3,10), rep(4,9),rep(5,6),rep(6,5),rep(7,5),rep(8,4),rep(9,3),rep(10,3))

> hist(x1,breaks = x,main = "Histogram", ylab = "%", xlab = "Number of credit cards")

And we got as the result the figure attached. We see a right skewed distribution with majority of the values between 0 and 3

1. Consider the chance experiment of selecting an adult at random from the sample-example-1
User Chickens
by
2.6k points