+1(316)4441378

+44-141-628-6690

Archive for the ‘Rstudio’ Category

Statistics Project

Project hints :
You can assume that the sample is a simple random sample from the population.

When reading in your data using the import feature in RStudio, make sure that the radio button next to Heading is set to Yes.  If it is set to No then the names of the variables will be set to V1, V2, V3, etc. because R assumes that the names of the variables in the file are part of the data.

Analysis 1: Strategy can be found in Lectures 18/19.  Exploring the sample can help you determine if assumptions are met to perform the tests suggested in these lectures. (This is also covered in these lectures)

Analysis 2: Example code to create the new Status variable can be found in the DataPrep file covered in the first few weeks of class.  A similar strategy to answer the question was used in your second MidTerm. Exploring the sample can help you determine if assumptions are met to perform the test.  You could also potentially use the strategy in lecture