Assignment1

.docx

School

Sheridan College *

*We aren’t endorsed by this school

Course

70279

Subject

Statistics

Date

Apr 3, 2024

Type

docx

Pages

5

Uploaded by GeneralCaterpillar2892 on coursehero.com

Assignment 1 - 20% Description: This assignment will test your ability to perform descriptive statistics using R. Use the attached data set. Part 1: Answer the questions below. For questions 5-10, include a screenshot within your report of the R codes and results from within the R environment. In your assignment submission, include your R file. 1. What variables are included? What information are we getting? (1 mark) a. The Definition of a Variable – A characteristic that changes or varies overtime and/or different individuals or objects under consideration. Based on this definition I would say that all the data fields in the data set provided are considered variables. b. The information being shown is attempting to establish a connection with the amount of time a person spends reading a week, to various other variables such as city, state, gender, student status, SAT scores and even height. 2. What is the format of the variables: string, numeric, etc.? (1 mark) 3. What type of variables: categorical, continuous, and discrete? (1 mark) 4. Is this sample or population data? (1 mark) a. Sampled data is a smaller portion of data that is taken from the larger data set. Based on that definition and the size of the data in this assignment, 30 rows of data, I would classify this as sample data. Data Field Question 1 Question 2 Question 3 Last Name Variable String Qualitative Categorical Nominal First Name Variable String Qualitative Categorical Nominal City Variable String Qualitative Categorical Nominal State Variable String Qualitative Categorical Nominal Gender Variable String Qualitative Categorical Nominal Student Status Variable String Qualitative Categorical Nominal Major Variable String Qualitative Categorical Nominal Country Variable String Qualitative Categorical Nominal Age Variable numeric Quantitative Continuous Ordinal SAT Variable numeric Quantitative Discrete Ordinal Average Score (Grade) Variable numeric Quantitative Continuous Ordinal Height (in) Variable numeric Quantitative Continuous Ordinal Newspaper Readership (times/wk) Variable numeric Quantitative Continuous Ordinal 5. How many males/females? (1 mark) - there are equal number of both genders 15 for each.
6. What is the average age? (1 mark) – the average age of the dataset is 25.2 7. How many undergraduate/graduate students? (1 mark) - there are an equal number of both graduate and undergraduate students each with 15. 8. What is the average SAT score? It is the same for graduates and undergraduates? (1 mark) – Yes, the average SAT score is 1848.9
9. Who reads the newspaper more frequently: men or women? (2 marks) – based on the dataset provided females read the paper more with 5.2 compared to men at 4.53 10. Calculate measure of location and dispersion for all quantitative variables using R. (10 marks)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help