Analysis of Average Fair Price Compared to Sex and Ticket Class.
Based on the data in the table below, the average fare for female passengers is $23.82 higher than that of male passengers. While the exact reason for this difference is unclear, one possible explanation is the distribution of passengers by sex across ticket classes.
Examining the second table, we see a high concentration of male passengers in third class, the lowest ticket category. This may skew the average fare for male passengers downward. The third table further supports this, showing that third-class fares are significantly lower than those of first and second class. Given this large price disparity and the high proportion of men in third class, it is likely a key factor contributing to the lower average fare for male passengers compared to female passengers.
## # A tibble: 2 × 2
## Sex Average_Fare
## <chr> <dbl>
## 1 female 44.5
## 2 male 25.5
## # A tibble: 2 × 4
## Sex `1` `2` `3`
## <chr> <int> <int> <int>
## 1 female 94 76 144
## 2 male 122 108 347
## # A tibble: 3 × 2
## Pclass Average_Fare
## <dbl> <dbl>
## 1 1 84.2
## 2 2 20.7
## 3 3 13.7
Analysis of Survival Rate in Comparison to Sex and Ticket Class
Based on the data in the tables and pie charts below, the survival rate for female passengers is significantly higher than that of male passengers. Specifically, 74% of female passengers survived, compared to only 19% of male passengers. This stark contrast suggests that sex played a crucial role in survival outcomes, likely influenced by the “women and children first” protocol followed during the Titanic disaster.
Looking at the second table and the accompanying pie charts, survival rates also vary considerably by ticket class. First-class passengers had the highest survival rate at 63%, followed by second-class passengers at 47.3%, and third-class passengers at just 24.2%. The pie charts visually reinforce this trend, showing a greater proportion of survivors in first class, while third class has a much higher percentage of fatalities at 75.8%. This pattern suggests that passenger class had a significant impact on survival chances, possibly due to better access to lifeboats and priority given to wealthier passengers.
The data from both the tables and pie charts indicate that women and higher-class passengers had a clear survival advantage, while men and lower-class passengers faced much lower survival rates. This aligns with historical accounts of the Titanic tragedy, where social and gender hierarchies influenced who was given priority during the evacuation.
## # A tibble: 2 × 2
## Sex Survival_Rate
## <chr> <dbl>
## 1 female 0.74
## 2 male 0.19
## # A tibble: 3 × 2
## Pclass Survival_Rate
## <dbl> <dbl>
## 1 1 0.63
## 2 2 0.47
## 3 3 0.24
The USArrests data set provides a state-by-state breakdown of violent crime rates across the United States in 1973. It includes four key variables: Murder, Assault, Rape, and UrbanPop, which represents the percentage of a state’s population living in urban areas. This data set offers a snapshot of crime patterns during that time, allowing for comparisons between states and insights into how crime rates relate to urbanization.
While USArrests provides valuable information, it does not account for factors such as socioeconomic conditions or law enforcement policies that may have influenced crime rates. However, by analyzing this data set, we can identify patterns in violent crime across different regions and explore possible relationships between urbanization and crime levels.
Nationwide Averages
The average violent crime rates in the United States in 1973 reveal notable differences between different types of offenses. The murder rate averaged 7.79 per 100,000 people, while the assault rate was significantly higher at 170.76 per 100,000 people. The rape rate fell in between, averaging 21.23 per 100,000 people.
These figures suggest that assault was by far the most common violent crime, occurring at a much higher frequency than both murder and rape. The lower average murder rate indicates that while homicides did occur, they were much less frequent compared to other forms of violent crime. The rape rate, while lower than assault, still represents a serious concern in terms of public safety.
By analyzing these averages, we gain a clearer understanding of crime patterns in 1973, highlighting the prevalence of violent crime across different categories and reinforcing the need to explore factors that may have influenced these rates at the time.
## Avg_Murder Avg_Assault Avg_Rape
## 1 7.79 170.76 21.23
Regional Differences in Violent Crime Patterns
The crime rate data across U.S. states in 1973 shows clear regional differences in violent crime patterns.
For murder rates, southern states tend to rank among the highest, suggesting that factors such as regional crime trends or socioeconomic conditions may have contributed to higher instances of homicide. On the other hand, states in the northern and midwestern regions consistently report the lowest murder rates, indicating a stark contrast in violent crime prevalence between different parts of the country.
Assault rates follow a similar pattern, with certain states in the South and the West leading in reported incidents. States with the lowest assault rates are largely concentrated in the Northeast and Midwest, reinforcing the idea that urbanization levels, economic disparities, and social conditions may have played a role in influencing crime rates during this time.
When looking at rape rates, the ranking shifts slightly. Western states, in particular, stand out with the highest reported rates, while states in the Northeast and upper Midwest report the lowest. This variation suggests that different factors, such as cultural differences in crime reporting, may have influenced how these crimes were documented.
Overall, the data highlights significant disparities in violent crime
across the United States, with some regions experiencing much higher
crime rates than others. These patterns emphasize the importance of
considering historical, economic, and social factors when analyzing
crime trends.
States With the Highest Crime Rates and Lowest Crime Rates
The data highlights a stark contrast between states with the highest and lowest violent crime rates in the United States in 1973.
The states with the highest crime rates are concentrated in the South and parts of the West, with Georgia, Mississippi, and Florida ranking at the top. These states report high rates of murder, assault, and rape, indicating a widespread prevalence of violent crime. Many of these states have large urban centers and historical economic disparities, which may have contributed to higher crime levels. Nevada stands out with an exceptionally high rape rate compared to the other top-ranking states, suggesting unique factors influencing crime in that region.
In contrast, the states with the lowest crime rates are primarily in the Northeast and Midwest. North Dakota, Maine, and New Hampshire report the lowest violent crime rates across all categories. These states have consistently low murder, assault, and rape rates, suggesting lower levels of violent crime relative to the rest of the country. Many of these states have smaller populations and lower levels of urbanization, which could contribute to fewer violent crime incidents.
Overall, the data underscores significant regional differences in violent crime during this period. While some states experienced high crime rates across all categories, others maintained relatively low levels of violent crime, reflecting broader social, economic, and demographic factors at play.
## [1] "Top 10 States with Highest Crime Rates"
## State Murder Assault Rape
## 1 Georgia 17.4 211 25.8
## 2 Mississippi 16.1 259 17.1
## 3 Florida 15.4 335 31.9
## 4 Louisiana 15.4 249 22.2
## 5 South Carolina 14.4 279 22.5
## 6 Alabama 13.2 236 21.2
## 7 Tennessee 13.2 188 26.9
## 8 North Carolina 13.0 337 16.1
## 9 Texas 12.7 201 25.5
## 10 Nevada 12.2 252 46.0
## State Murder Assault Rape
## 1 North Dakota 0.8 45 7.3
## 2 Maine 2.1 83 7.8
## 3 New Hampshire 2.1 57 9.5
## 4 Iowa 2.2 56 11.3
## 5 Vermont 2.2 48 11.2
## 6 Idaho 2.6 120 14.2
## 7 Wisconsin 2.6 53 10.8
## 8 Minnesota 2.7 72 14.9
## 9 Utah 3.2 120 22.9
## 10 Connecticut 3.3 110 11.1