Question
Can you please help me with this challenging question, I thought I could figure it out, but the problem is that there is not enough
Can you please help me with this challenging question, I thought I could figure it out, but the problem is that there is not enough data for this question and I have to use RStudio for this, and I am just learning how to use RStudio, but I am not really sure how it works. Please use RStudio to answer the questions. Here is a screenshot of the questions I am stuck on, where I have to use RStudio. Here I also attached a file that is supposed to be a CSV file, but I put it as png in here. I know this CSV file is long it has 16 pages, but this is what you have to use in RStudio to answer the following question below. First, you will have to turn these 16 pages from png to CSV file, and then you will have to import it on RStudio, and then you can start solving the following questions. Please read carefully the instructions for this assignment so you can understand the assignment along with the 16 pages I attached that is supposed to be just one CSV file after you turn these 16 png pages together into a CSV file and import these in RStudio you will understand better that this is the data you need to answer the following questions. I hope you can figure out the questions below using RStudio.
position,college_grad support,yes support,ye5 support,yes support,yes support,ye5 support,yes support,yes support,ye5 support,yes support,ye5 support,yes support,yes support,ye5 5upport,yes support,ye5 support,yes support,yes support,ye5 support,yes support,ye5 support,yes 5upport,yes support,ye5 support,yes suppor:,ye5 support,yes 5upport,yes suppor:,ye5 support,yes suppor:,ye5 support,yes 5upport,yes suppor:,ye5 support,yes support,yes support,ye5 5upport,yes support,ye5 support,yes support,yes support,ye5 support,yes support,yes support,yes support,yes support,ye5 support,yes support,yes support,ye5 5upport,yes support,ye5 support,yes support,yes oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose, no oppose , no oppose , no oppose, no oppos oppose , no oppose , no oppose , no oppose , no oppose , no oppose, no oppose , no oppose , no oppose, no oppose, no oppose, no oppose , no oppose , no oppose, no oppose, no oppose , no oppose, no oppose, no oppose, no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose, no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose, no oppose , no oppose , no oppose , no oppose , no oppose, no oppose, no oppose, no oppose, nooppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose, no oppose , no oppose , no oppose, no oppos oppose , no oppose , no oppose , no oppose , no oppose , no oppose, no oppose , no oppose , no oppose, no oppose, no oppose, no oppose , no oppose , no oppose, no oppose, no oppose , no oppose, no oppose, no oppose, no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose, no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose, no oppose , no oppose, no oppose , no oppose, no oppose, no oppose, no do not_know, yesdo_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not. know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not. know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do not know, yes do:not:know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, yes do_not_know, no do_not_know, no do_not_know, no do_not_know, no do not know, no do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not. know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, no DD DD DD DD no DD DD no DD no DD DD no no DD DD DD no DD DD DD no no DD DD DD no DD DD DD DD no DD DD DD no no DD DD DD no DD DD DD DD no DD DD no no DD DD DD do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not. know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do not know, do:not:know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, do_not_know, no DD DD DD DD no DD DD no DD no DD DD no no DD DD DD no DD DD DD no no DD DD DD no DD DD DD DD no DD DD DD no no DD DD DD no DD DD DD DD no DD DD no no DD DD DD do_not_know, no do_not_know, no do_not_know, no do not_know, no do_not_know, no do not_know, no do_not_know, no do_not_know, no do_not_know, no do_not_know, no do_not_know, no do_not_know, no do not_know, no do_not_know, no do not_know, no do not_know, no do not_know, no do_not_know, nosupport , yes support , yes support , yes support , yes support , yes support , yes support , yes suppo support , yes support , yes support , yes supp support , yes support , yes support , yes ipport , yes support , yes support , yes support , yes support , yes support , yes upport , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes suppo port , yes support , yes support , yes support , yes upport , yes support , yes support , yes support , yes upport , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yessupport , yes support , yes support , yes support , yes support , yes support , yes support , yes suppo support , yes support , yes support , yes supp support , yes support , yes support , yes ipport , yes support , yes support , yes support , yes support , yes support , yes upport , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes suppo port , yes support , yes support , yes support , yes support , yes support , yes support , yes support , yes upport , yes support , yes support , no support , no support , no support , no support , no support , no support , nosupport , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no suppo support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no suppo support , no support , no suppor support , no support , no support , no support , no support , no support , no supp support , no support , no support , no support , no support , no support , no support , nosupport , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no suppo support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no suppo support , no support , no suppor support , no support , no support , no support , no support , no support , no supp support , no support , no support , no support , no support , no support , no support , nosupport , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no support , no suppo support , no support , no oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose, yes oppose , yes oppose, yes oppose, yes oppose, yes oppose, yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose, yes oppose, yes oppose , yes oppose, yes oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose, yes oppose, yesoppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppos oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose, yes oppose, yes oppose, yes oppose, yes oppose, yes oppose, yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose, yes oppose, yes oppose , yes oppose, yes oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose, yes oppose, yesoppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppos oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose, yes oppose, yes oppose, yes oppose, yes oppose, yes oppose, yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose, yes oppose, yes oppose , yes oppose, yes oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose, yes oppose, yesoppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppos oppose, yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose, yes oppose , yes oppose, yes oppose, yes oppose, yes oppose, yes oppose, yes oppose, yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , yes oppose , no oppose , no oppos oppose , no oppose , no oppose , no oppose, no oppose, no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose , no oppose, no oppose, no oppose, no oppose, noOffshore Drilling, Part 1: A 2010 survey asked 827 randomly sampled registered voters in California "Do you support, or do you oppose, drilling for oil and natural gas off the Coast of California? Or do you not know enough to say." The responses can be found in the data file "offshore_drilling.csv" in Canvas. Download the file, import the data into R, and use it to answer the following questions. Note that there are two variables in the dataset, "position" and "college_grad". For this question, you will use only the "position" variable, which contains each respondent's response to the question above. (a) What percentage of all respondents said that they oppose offshore drilling? :] % What percentage of all respondents said that they support offshore drilling? :] % What percentage of all respondents said that they did not know? :] % (Round answers for part (a) to the nearest tenth of a percent.) (b) Use the "inference" function in R to compute a 95% confidence interval for the proportion of all registered voters in California who opposed offshore drilling. lower bound: :] (round to four decimal places) upper bound: :] (round to four decimal places) (c) Use the "inference" function in R to compute a 95% confidence interval for the proportion of all registered voters in California who supported offshore drilling. lower bound: :] (round to four decimal places) upper bound: :] (round to four decimal places) (d) A legislator in California claimed that "more registered voters in California oppose offshore drilling than support it." Based on the results in the previous parts of this question (you should not need to do any additional computations or work), does the survey provide support for the legislator's claim? 0 No, because the difference in percentages was smaller than the margin of error of the survey. 0 Yes, because the percent of respondents to the survey who said that they oppose offshore drilling was larger than the percent who said that they support it. 0 Yes, because offshore drilling is bad for the environment and most people in the state of California are concerned about the environment. 0 No, because both percentages were below 50%. (e) Did the intervals computed in parts (b) and (c) have identical margins of error? If not, which one had the smaller margin of error? Why? 0 The interval in part (c) has a smaller margin of error because it has a smaller sample size. 0 The interval in part (c) has a slightly smaller margin of error since the value of 13 is closer to 0 and farther from 0.5 than the interval in part (b). O The two intervals have the same margin of error because they are based on the same sample size. 0 The interval in part (b) has a smaller margin of error because it has a larger sample sizeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started