On this practice quiz, we're going to refer to a data frame called USStates. Below is a portion of the data frame as well as definitions of the variables included in it:

| State | IQ | Pres2008 | Population | College | PhysicalActivity | Smokers |
|------------|------|----------|------------|---------|------------------|---------|
| Alabama | 95.7 | McCain | 4.525375 | 24.6 | 70.3 | 24.8 |
| Alaska | 99.0 | McCain | 0.657755 | 29.2 | 79.4 | 24.9 |
| Arizona | 97.4 | McCain | 5.739879 | 30.8 | 75.7 | 20.2 |
| Arkansas | 97.5 | McCain | 2.750000 | 26.7 | 73.4 | 23.5 |
| California | 95.5 | Obama | 35.842038 | 31.1 | 77.2 | 15.2 |
| Colorado | 101.6| Obama | 4.601821 | 38.0 | 81.2 | 19.8 |

**Variable Definitions:**

- **State:** Name of the state
- **IQ:** Mean IQ score of residents
- **Pres2008:** Which 2008 Presidential candidate won the state? M=McCain or O=Obama
- **Population:** Number of residents (in millions)
- **College:** Percentage of residents with college degrees
- **PhysicalActivity:** Percentage of residents who have competed in a physical activity in the past month
- **Smokers:** Percentage of residents who smoke

**1. Which of the variables below would be appropriate for a histogram? (Check all that apply.)**

Responses:
A. College
B. IQ
C. Pres2008
D. Population

Answer :

The appropriate variables for a histogram in the given data frame are IQ and Population. So, the appropriate variables for a histogram in this scenario are: IQ, Pres2008 (after converting to numeric values), and Population. Therefore, option (D) is the correct answer.

The variables that would be appropriate for a histogram are:

1. IQ: This variable represents the mean IQ score of residents in each state. A histogram can be used to display the distribution of IQ scores across different states.

2. Population: This variable represents the number of residents in each state. A histogram can be used to show the population distribution, such as the number of states with different population ranges.

To create a histogram, you can plot the values of the chosen variable on the x-axis and the frequency or count of each value on the y-axis. Each bar in the histogram represents a range of values, and the height of the bar indicates the frequency or count of values falling within that range. So, the appropriate variables for a histogram in this scenario are: IQ, Pres2008 and Population.

For example, if we choose to create a histogram for the IQ variable, we would plot the mean IQ scores on the x-axis and the frequency or count of each score on the y-axis. Each bar in the histogram would represent a range of IQ scores, such as 90-100, 100-110, etc. The height of each bar would indicate the number of states with IQ scores falling within that range. Hence option (S) is correct answer.

Learn more about histogram

https://brainly.com/question/2962546

#SPJ11