library(tidyverse)
library(mosaic)
library(rio)
library(ggplot2)
# Be sure to make this using ggplot()Semester Project
Part 1
Introduction
[Provide a brief overview of your research question. Explain why you’re interested in the topic, where you found your data and the objectives of your analysis.]
Part 1: Descriptive Statistics
Part 1 of your semester project should include:
- Get your data into R
- Preparing the data a. This could include filtering out missing, bad or unnecessary data
- Summarizing the data a. Identify and summarize your response variable
- Visual summaries using ggplot
- Numerical summary tables
- Explore the explanatory variables (check for outliers)
- Visualize the relationship between a few explanatory variables and your response variable using ggplot
Data Import and Preparation
Visualizations
[Use ggplot() to create presentation-worth graphs (histograms, scatterplots, bar charts, boxplots, etc). Include an overall visualization of your response variable and one or two exploratory graphs showing the relationship between explanatory variables and your response.
NOTE: The type of graphs and summaries you do depends entirely on the type of data (categorical or quantitative) that you have for your project.]
# Create Visuals HereNumerical Summaries
[Create numerical summaries (favstats() OR prop.table() with row or column totals depending on the type of data) of your response variable. Include a table of summary statistics broken out by your explanatory variable. Include a discussion of what you observe.]
# Create numerical summaries