- 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)
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme