Background: This assignment focuses on data analysis using the tally() function. You must be able to analyze data before you try to present data through visualizations.
Use RStudio and R Markdown to generate a Word document with the R commands and answers to all of the data analysis questions listed below.
Follow the formatting requirements identified in the Install R Markdown video in Week 2.
Follow the data analysis instructions provided in the videos this week.
Use the appropriate dataset for each question. All required datasets are available on Blackboard at the bottom of this week.
Use the tally() function to produce the correct answer for each of the questions listed below.
Carefully choose the correct field operators and logical operators when writing the tally() function.
In your final Word document, circle the correct answer for each question when the results of the tally() function create a table rather than a single answer. Failure to circle the correct answer will result in zero points for that question.
Questions: Each question is worth 2 points
What percentage of females purchased a 2nd class ticket in the dataset? (dataset_survival_of_passengers_on_the_titanic.csv)
What percentage of males purchased a 1st class ticket and survived in the dataset? (dataset_survival_of_passengers_on_the_titanic.csv)
What percentage of males purchased a 2nd class or 3rd class ticket in the dataset? (dataset_survival_of_passengers_on_the_titanic.csv)
What percentage of males paid for meals under $17.50 are in the dataset? (dataset_tipping_data.csv)
What percentage of males paid for meals on Saturday that was over $17.50 are in the dataset? (dataset_tipping_data.csv)
What proportion of males and females never smoked in the dataset? (dataset_student_survey_data.csv)
What proportion of females do not exercise and do smoke in the dataset? (dataset_student_survey_data.csv)
What proportion of males and females never smoked and exercise frequently in the dataset? (dataset_student_survey_data.csv)
What percentage of petal length are greater than and equal to 4.5? (dataset_edgar_anderson_iris_data.csv)
What proportion of species have petal widths greater than 1.0 in the dataset? (dataset_edgar_anderson_iris_data.csv)
Our customer is the center of what we do and thus we offer 100% original essays..
By ordering our essays, you are guaranteed the best quality through our qualified experts.All your information and everything that you do on our website is kept completely confidential.
Academicwritingcompany.com always strives to give you the best of its services. As a custom essay writing service, we are 100% sure of our services. That is why we ensure that our guarantee of money-back stands, alwaysRead more
The paper that you order at academicwritingcompany.com is 100% original. We ensure that regardless of the position you are, be it with urgent deadlines or hard essays, we give you a paper that is free of plagiarism. We even check our orders with the most advanced anti-plagiarism software in the industry.Read more
The Academicwritingcompany.com thrives on excellence and thus we help ensure the Customer’s total satisfaction with the completed Order.To do so, we provide a Free Revision policy as a courtesy service. To receive free revision the Academic writing Company requires that the you provide the request within Fifteen (14) days since the completion date and within a period of thirty (30) days for dissertations and research papers.Read more
With Academicwritingcompan.com, your privacy is the most important aspect. First, the academic writing company will never resell your personal information, which include credit cards, to any third party. Not even your lecturer on institution will know that you bought an essay from our academic writing company.Read more
The academic writing company writers know that following essay instructions is the most important part of academic writing. The expert writers will, therefore, work extra hard to ensure that they cooperate with all the requirements without fail. We also count on you to help us provide a better academic paper.Read more