Section A.1 Chapter 1: Introduction
Subsection A.1.1 Exercise 1.1
-
According to the information in the question the polling was conducted among 500 registered voters. The 500 registered voters corresponds to the sample.
-
The percentage, among all registered voters of the given party, of those that prefer a male candidate is a parameter. This quantity is a characteristic of the population.
-
It is given that 42% of the sample prefer a female candidate. This quantity is a numerical characteristic of the data, of the sample. Hence, it is a statistic.
-
The voters in the state that are registered to the given party is the target population.
Subsection A.1.2 Exercise 1.2
One may read the data into
R and create a table using the code:
n.cost <- c(4,2,1,1,0,2,1,2,4,2,5,3,1,5,1,5,1,2,1,1,3,4,2,4,3)
table(n.cost)
## n.cost ## 0 1 2 3 4 5 ## 1 8 6 3 4 3
For convenience, one may also create the bar plot of the data using the code:
plot(table(n.cost))
-
The number of days in which 5 costumers where waiting is 3, since the frequency of the value β5" in the data is 3. That can be seen from the table by noticing the number below value β5" is 3. It can also be seen from the bar plot by observing that the hight of the bar above the value β5" is equal to 3.
-
The number of waiting costumers that occurred the largest number of times is 1. The value β1β occurred 8 times, more than any other value. Notice that the bar above this value is the highest.
-
The value β0β, which occurred only once, occurred the least number of times.
