Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Can you please help me find the following challenging questions using RStudio? I am still learning how to use RStudio and the questions are a

Can you please help me find the following challenging questions using RStudio? I am still learning how to use RStudio and the questions are a little bit challenging for me to answer then properly. I am not sure If I will get the right solution on my own. I don't want to make any errors answering these questions. Please answer each question properly using RStudio. Here I am attaching files with instructions that are called Inference for categorical data, these files of instructions will help you have an idea on how you can type the code in RStudio so you can answer these questions with the proper solution.

Here are the instructions you can use that can help you when you use RStudio to figure out the following questions below.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
Inference for categorical data In August of 2012, news outlets ranging from the Washington Post to the Huffington Post ran a story about the rise of atheism in America. The source for the story was a poll that asked people, "Irrespective of whether you attend a place of worship or not, would you say you are a religious person, not a religious person, or a convinced atheist?\" This type of question, which asks people to classify themselves in one way or another, is common in polling and generates categorical data. In this lab we take a look at the atheism survey and explore what's at play when making inference about population proportions using categorical data. The survey To access the press release for the poll, conducted by WIN-Gallup International, click on the following link: Global index.r of Religiosity and Atheism. Take a moment to skim through the first few pages of the report then address the following questions. w In the first paragraph, several key ndings are reported. Do these percentages appear to be sample statistics (derived from the data sample) or population parameters? The title of the report is \"Global Index of Religiosity and Atheism". To generalize the report's findings to the global human population, what must we assume about the sampling method? Does that seem like a reasonable assumption? The data Turn your attention to Table 6 (pages 15 and 16), which reports the sample size and response percentages for all 57 countries. While this is a useful format to summarize the data, we will base our analysis on the original data set of individual responses to the survey. The data are stored in a file named atheism.csv which can be downloaded from Canvas. Download the data and import it into Fl. Recall that you can import the data by clicking Import Dataset in the Environment tab in RStudio and then selecting From Text (base. . .1 . Once you have loaded the data, use it to complete the exercises below. m What does each row of Table 6 correspond to? What does each row of atheism correspond to? To investigate the link between these two ways of organizing this data, take a look at the estimated proportion of atheists in the United States. Towards the bottom of Table 6, we see that this is 5%. We should be able to come to the same number using the atheism data. m Using the command below, create a new dataframe called 1.1512 that contains only the rows in atheism associated with respondents to the 2012 survey from the United States. Next, calculate the proportion of atheist responses. Does it agree with the percentage in Table 6? ule

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistics The Art And Science Of Learning From Data

Authors: Alan Agresti, Christine A. Franklin

3rd Edition

9780321755940

Students also viewed these Mathematics questions