Title: Assessing the Impact of Medicare and Medicaid Funding on Mortality Rates: A State-level Analysis in the United States. The impact of Medicare and Medicaid funding on mortality rates in the United States necessitates in-depth exploration to understand the efficacy and outcomes of these healthcare programs at the state level. A comprehensive analysis is essential to determine the extent to which the allocation of funds to Medicare and Medicaid influences mortality rates, ultimately contributing to informed policy decisions and resource allocation within the healthcare system. The study aims to fill a research gap by investigating whether there exists a correlation between Medicare-covered care services and mortality rates among individuals over 65 and identify states withe the highest mortality rate.
Analytic methods Medicare data set was selected which represents represents ages 65+ only, we then went ahead to select the total number of enrollee and their individual spending and we calculated the spending per enrollee this was done per state.A final data set was the created which contained the total population ,total number of deaths and the mortality rate was calculated per state.Correlation test between spending per enrollee and mortality rate was performed
This are state data
the kff_cms_medicare_state_summary.csv data is from the Kaiser Family Foundation (KFF) and the Centers for Medicare & Medicaid Services (CMS)In the year 2021 . KFF is a well-respected nonprofit organization focusing on national health issues and analysis. They publish a wide range of reports, data, and analysis on health issues, including Medicare. The Centers for Medicare & Medicaid Services (CMS) is a federal agency within the United States Department of Health and Human Services. It administers the nation’s major healthcare programs, including Medicare. the data contains 52 observations and 10 variables(state-level data on enrollment, utilization, and spending for Medicare parts A and B.obtained from Centers for Medicare & Medicaid Services, Office of Enterprise Data and Analytics, Chronic Conditions Data Warehouse.
Contains state-level data on Medicaid enrollment and spending by age group. Original dataset compiled from Kaiser Family Foundation Medicaid spending Links to KFF estimates based on analysis of data from the Preliminary CY 2019 Transformed Medicaid Statistical Information System (T-MSIS).In the year 2019.
this dataset originates from the Centers for Disease Control and Prevention’s (CDC) WONDER system. It contains mortality counts for the year 2021 by state, age group, and underlying cause of death.
this dataset originates from the Centers for Disease Control and Prevention’s (CDC) WONDER system, specifically related to population data. It contains population denominators for each state and age group original dataset from CDC WONDER Underlying Cause of Death.
mortality rates from dataset two and three and health care expenditures from dataset one in the United States will help us determine if there is a correlation between the two variables about.
2 and 3- Utilize function arguments to control relevant components (i.e. change column types, column names, missing values, etc.) and document the import process
The import process In this script, we perform the following steps: 1. Load the required libraries: - ‘read.csv’ for the csv files - ‘tidyverse, dplyr’ for data manipulation. 2. Import the datasets (kff_cms_medicare_state_summary.csv, cdc_wonder_mortality.csv, cdc_wonder_population.csv) using the ‘read.csv’ function. 3. View the imported datasets
## [1] "55-64" "65-74" "75-84" "85+" "25-34" "35-44" "45-54" "5-14" "15-24"
## [10] "1" "1-4" NA
| Age | Mean_Deaths | Median_Deaths | Number_Deaths |
|---|---|---|---|
| 65-74 | 267.0597 | 47 | 715720 |
| 75-84 | 315.5855 | 53 | 820838 |
| 85+ | 384.0589 | 60 | 932111 |
The above table indicate the number of deaths by age group and individuals above 85 years have the highest number of death will those between 65 and 74 year have the lowest.
Visualizations
Visualizations play a crucial role in data analysis and interpretation. In R, creating visualizations is often done using packages such as ggplot2, plotly, and others. Here are some of the key reasons why visualizations are important in R: Data Exploration, Storytelling, Pattern Recognition, Comparisons and so on.
| Variable_Name | Description | Data_type |
|---|---|---|
| State | US state | character |
| Total_medicare_enrollee | Total Medicare enrollees | numeric |
| Total_medicare_payment | Total Medicare payment | numeric |
| spending_per_enrollee | Spending per enrollee | numeric |
| total_deaths | Total deaths | numeric |
| total_pop | Total population | numeric |
| Mortality_rate | Mortality rate | numeric |
## State Total_medicare_enrollee Total_medicare_payment mortality_rate
## 1 alabama 528983 5653598984 5807.134
## 2 alaska 105831 1051813241 3700.852
## 3 arizona 767513 7745898078 4795.244
## 4 arkansas 430724 4272207750 5755.786
## 5 california 3436742 43255054191 4526.468
## 6 colorado 518796 4904130297 4170.273
| State | spendind per enrolee | mortality_rate |
|---|---|---|
| west virginia | 10508.271 | 6070.265 |
| oklahoma | 11332.894 | 6030.310 |
| mississippi | 11428.396 | 6001.683 |
| kentucky | 10120.593 | 5845.859 |
| alabama | 10687.676 | 5807.134 |
| arkansas | 9918.667 | 5755.786 |
| ohio | 10629.955 | 5703.308 |
| tennessee | 9889.498 | 5698.611 |
| indiana | 10757.302 | 5550.180 |
| louisiana | 11650.005 | 5473.889 |
| missouri | 10477.433 | 5413.303 |
| pennsylvania | 10590.532 | 5404.658 |
| kansas | 10533.199 | 5365.031 |
| michigan | 10879.443 | 5264.928 |
| iowa | 9853.680 | 5221.333 |
| georgia | 10686.990 | 5200.573 |
| texas | 11963.654 | 5160.871 |
| north carolina | 10106.072 | 5094.486 |
| south carolina | 10257.247 | 5084.358 |
| virginia | 9474.863 | 4911.718 |
| nebraska | 10669.591 | 4898.911 |
| illinois | 11283.327 | 4883.999 |
| wisconsin | 10212.385 | 4834.483 |
| arizona | 10092.204 | 4795.244 |
| florida | 12170.396 | 4743.277 |
| nevada | 11120.737 | 4729.498 |
| maine | 9158.843 | 4711.148 |
| rhode island | 9737.285 | 4687.903 |
| oregon | 8609.802 | 4682.794 |
| idaho | 8929.008 | 4595.261 |
| north dakota | 11304.071 | 4591.856 |
| maryland | 11898.853 | 4578.221 |
| minnesota | 11489.312 | 4574.712 |
| new mexico | 8665.113 | 4556.449 |
| montana | 8648.683 | 4549.776 |
| new jersey | 12394.354 | 4542.189 |
| california | 12586.064 | 4526.468 |
| wyoming | 9975.401 | 4520.302 |
| new york | 13138.753 | 4483.448 |
| massachusetts | 11661.350 | 4482.860 |
| connecticut | 12200.543 | 4464.943 |
| south dakota | 11399.190 | 4462.142 |
| district of columbia | 11308.698 | 4456.702 |
| utah | 9774.647 | 4427.490 |
| washington | 8736.529 | 4417.508 |
| new hampshire | 9369.383 | 4336.164 |
| delaware | 11418.662 | 4297.120 |
| colorado | 9452.907 | 4170.273 |
| vermont | 9206.107 | 4047.629 |
| hawaii | 7472.029 | 3811.276 |
| alaska | 9938.612 | 3700.852 |
##
## Pearson's product-moment correlation
##
## data: medicare_mortality_pop$mortality_rate and medicare_mortality_pop$spending_per_enrollee
## t = 1.2592, df = 49, p-value = 0.2139
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
## -0.1035959 0.4315696
## sample estimates:
## cor
## 0.1770422
From this table,
From the correlation test, The result from the correlation test performed indicates a moderate positive correlation between the variables spending per enrollee and mortality rate in the various state. The correlation coefficient (r) of 0.177 suggests a positive relationship, meaning that as spending per enrollee increases, the mortality rate also tends to increase. However, the p-value of 0.2139 suggests that this correlation may not be statistically significant at the 0.05 level.
## List of 1
## $ legend.position: chr "bottom"
## - attr(*, "class")= chr [1:2] "theme" "gg"
## - attr(*, "complete")= logi FALSE
## - attr(*, "validate")= logi TRUE
This table below provides the top five states with the highest spending per enrollee
##
##
## Table: Top five states with the highest spending per enrollee
##
## | State | Spending_per_enrollee |
## |:-----------:|:---------------------:|
## | California | 13138.7 |
## | New jersey | 12586.0 |
## | Connecticut | 12394.3 |
## | Florida | 12200.5 |
## | Texas | 12170.3 |
Interpretation
The table provides a summary of the total Medicare enrollees and payments for each state, while the bar plot visualizes the total deaths by state. These visualizations can help in understanding the distribution and relationships within the dataset.
#IV) DISCUSSIONS
the number of deaths by age group indicated that individuals above 85 years have the highest number of death will those between 65 and 74 year have the lowest number of deaths New York(13138.7\(),California(12586.0\)) state were found to have the hightest spending per enrollee while West virginia(6070.2),oklahoma(6030.3) had the highest mortality rate. From the correlation test, The result from the correlation test performed indicates a moderate positive correlation between the variables spending per enrollee and mortality rate in the various state. The correlation coefficient (r) of 0.177 suggests a positive relationship, meaning that as spending per enrollee increases, the mortality rate also tends to increase. However, the p-value of 0.2139 suggests that this correlation may not be statistically significant at the 0.05 level