|
|
 |
|
|
 |
| All Exercises |
Problem |
Sample Data |
Solution |
 |
|
|
Select an Exercise for |
Click any exercise title to see the problem for that exercise. Then you can view and download sample data, complete the exercise, and check the solution.
|
Crime and Education in Cities: Problem |
In a study to investigate the prevalence of relationships between different socioeconomic factors, 52 western cities were rated by nine criteria: climate terrain, housing, health care environment, crime, transportation, education, arts, recreation, and economics. For housing and crime, the lower the rating score, the better. For the remaining seven criteria, the higher the score, the better.
Make a scatter plot displaying the relationship of crime against education. Based on your plot, what would you say about the relationship between crime and education for these western cities? |
 SAS Institute Inc.
Printer Friendly |
Crime and Education in Cities: Sample Data | |
The Westernrates data set contains data about ratings on nine criteria (climate and terrain, housing, health care and environment, crime, transportation, education, arts, recreation, and economics) for 52 western cities. These are the variables in the data set: Name | Type | Description | | City | char | city | | State | char | state | | ClimateTerrain | num | rating of climate and terrain | | Housing | num | rating of housing | | HealthCareEnvironment | num | rating of health care and environment | | Crime | num | rating of crime | | Transportation | num | rating of transportation | | Education | num | rating of education | | Arts | num | rating of the arts | | Recreation | num | rating of recreation | | Economics | num | rating of economics | |
|
Source of Data
|
This data is sample data from SAS Institute Inc. |
Crime and Education in Cities: Solution |
It appears that there is somewhat of a weak, positive linear relationship between crime and education. The relationship is positive in the sense that as the education score increases, there appears to be an increase in the crime score for these western cities, which one would think is an undesirable effect. |
|