logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Piper SharpMathematics
(5/5)

857 Answers

Hire Me
expert
Anna CarolyanLaw
(5/5)

870 Answers

Hire Me
expert
Alfredd DoddEngineering
(4/5)

917 Answers

Hire Me
expert
Penn RitchieSociology
(5/5)

503 Answers

Hire Me
R Programming
(5/5)

what do you notice about the histograms for hapmar and life

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

- R Programming, Descriptive Statistics, and Data Visualization 

The following problems require you to use R to perform the indicated tasks. The data set is available in the “Datasets” folder in the Canvas /Files/datasets section and on the assign. You must submit your R Markdown code and output with each answer for the exercise.

Import the “General Social Survey 2008” data set file in to R using the fread function from the data.table package. Note that the file on Canvas is a Comma Separated Values file or .csv. Take a look at the dataset. You will notice that it contains dozens of variables and thousands of observations. You will only work with a few variables for this assignment, but we will look at this data again in the future. Below are relevant variable definitions, but you can find all variable descriptions in the General Social Survey Codebook.

Whenever possible use the tidyverse package to accomplish a task. Don’t stress too much about this. You will be graded on writing reproducible code that produces the right answer. Not on what package you used, how you used it, or what code you use to get there.

1. Derive basic descriptive statistics including mean, median, mode, range, variance, and standard deviation for the following variables: AGE, HRS1, TVHOURS, and EDUC. (10 points)

2. Generate histograms for the following variables: AGE, HAPMAR, and LIFE. (10 points)

3. What does the histogram for AGE tell us? Is there anything distinctive about its shape? (4 points).

4. What do you notice about the histograms for HAPMAR and LIFE? (4 points)

5. Do people in the survey generally find their lives exciting, routine, or dull? (4 points)

6. How do people describe their marriages? (4 points)

7. Approximately what percent of individuals in the sample are older than 75 years? (4 points)

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme