Using R Studio software ,
Which US presidents, Republicans or Democrats, are the “best” steward of the US economy? The data
to be used is from the 2008 Economic Report of the President and is available online if you are interested:
[[login to view URL]].
Six variables are included in the dataset:
Year: (1960-2012) The data starts in 1960, as a sort of general beginning of the “modern” government/
budget/economic era.
Unemployment: Civilian unemployment rate, in percent.
GDP Growth: Percent change, over the previous year, in the real gross domestic product.
Inflation: Percent change in special consumer price index (CPI), December to December.
Surplus: Surplus (positive) or deficit (negative) in the federal budget, as a percent of GDP.
Party: Political party of the president responsible for that budget year. R = Republican and D = Democratic.
One of the most important things that a president does to influence the economy is prepare/propose/haggle
and (hopefully) eventually sign a federal budget. The federal budget in the first year of a president’s term is
set by the president in the previous year, so this was used as a time lag. For instance, 1960 was a republican
year; Kennedy took office in January of 1961, but he had effectively no budgetary influence until the new
federal fiscal year began in the following October. Thus, 1961 is assigned as a Republican year.
The idea for this dataset came from Michael Kinsley, writing for the Los Angeles Times, in a paper published
in August 2004 (he has also reprised his analysis in [login to view URL]). He took some of these variables and calculated
and compared MEANS only; no consideration for any sort of variation, let alone at any attempt at valid
statistical inferences.
Your task is to conduct a more thorough analysis.
1. Obtain summary statistics for each of the 4 economic variables BY Party. You will not be using the Year variable and the Party
variable will be used as your grouping variable. Include count, mean, sd,
variance, and 5 number summary.
2. Create boxplots (in pairs by Party) of each of the variables.
3. Create histograms of all variables by party.
4. Perform a 2-sample t-test on each of the 4 economic variables, using Party as the categorical variable. Perform the tests with 2 sided alternative hypotheses, using = 0.05. For each test, obtain the output table with the numerical analyses (including the variance test to determine which 2-sample t-test is the appropriate test).
ALL relevant R code MUST be included. Use the csv file located in the uploaded files called economy.
Hello! I am Tanya from Ukraine.
I like your project and am willing and able to fulfill it.
I have done more than 15 works in R for another clients (UpWork) and Freelance, and I think I can help you too.
I've got 9 courses of Data science specialization at Coursera (Data Science Tools, R programming, Getting and cleaning data, Exploratory data analysis, Reproducible research, Statistical inference, Regression models, Machine learning and Developing data products) with distinction.
PS: your link is unworkable
$35 USD en 10 días
0,0 (0 comentarios)
0,0
0,0
3 freelancers están ofertando un promedio de $40 USD por este trabajo
Dear Sir,
we are pleased to inform you that we have studied all the requirements and can deliver the same to u .we already have similar work experience and have worked on similar projects in the past and can deliver u as u have specified in your requirements
we have similar work experience and can handle this quite well
We are one of the leading service providers in the field of Website Designing, Application Software Development, System Software Development, E-commerce Development, CRM, MLM, Corporate Presentations and Customize Web Solutions. As a trusted web development and internet marketing company, we offer our clients strategic web solutions geared for taking the competition head on.
Our aim is to provide current and up to date information technology solutions; solutions, which enhance the work environment and make work simpler and more efficient. Also the solution must provide for the considerable saving of times and human resources, which can be utilized for other purpose. In effect, a good software solution can improve the productivity of the company. . plz add me to discus
plz let us know your skype or e-mail so that we can discuss further
Regards