Question
Using CRAN R Project - The R Project for Statistical Computing 1.Using the database titled HSB2 complete the following task. The hsb2 dataset is taken
Using CRAN R Project - The R Project for Statistical Computing
1.Using the database titled "HSB2" complete the following task.
The hsb2 dataset is taken from a national survey of high school seniors. Two hundred observations were randomly sampled from the High School and Beyond survey. Descriptive statistics and exploratory data analyses are shown below.
Answer the following questions below. You are only allowed to use R and need to turn in your R script and console (13 points)
a.What are the dimensions of the dataset?
b.Run a 95% confidence interval on the science scores.
c.What does the confidence interval tell you about the population mean?
d.Do a describe on the original dataframe hsb2. What do these data tell you? Be specific to the numerical results you receive.
e.Create a table in R using the summary data from above and call the table.
f.What row and column do you find the standard error for science scores?
g.How would you write the code to find this in R?
hsb2 (12 points)
1.Calculate the mean for the data parameter math.
2. Calculate z scores for the data parameter math.
3. Construct a histogram of the z score data for math, write an appropriate figure legend.
5. Construct a histogram of the data for math, write an appropriate figure legend.
6. Compare the two histograms.
7. With your knowledge of z scores and standard deviation what can you say about the data for math? Be specific to unusual values.
*** NOT A QUESTION - TO ANSWERS THIS I AM UNABLE TO POST THE DATA BUT IF YOU GOOGLE HSB2 DATASET YOU SHOULD BE ABLE TO FIND IT ON OPENINTRO.ORG***
*** PLEASE POST WORKSPACE AND R CONSOLE***
Step 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