Publications by Devin Teran, Gabe Abreu, Amit Kapoor, Subhalaxmi Rout
Data 607 HW5
Assignment #5 url <- "https://raw.githubusercontent.com/geeman1209/MSDATA2020/master/DATA607/Week%205/AirlineData.csv" rawData <- read.csv(url, header = TRUE, stringsAsFactors = FALSE, na.strings = c("", "NA")) ##Get a quick overview of the downloaded content #View summary of data summary(rawData) ## ï.. X ...
294 sym R (8147 sym/31 pcs) 3 img
Data 607 Project 1
Project 1 The purpose of this project is to text file and turn into a csv after its been “cleaned” and relevant data calculated and extracted. The exercise uses a chess tournament text with player names, state origin, win-loss record, pre-match ratings, post-match ratings. tournamentUrl <- "https://raw.githubusercontent.com/geeman1209/MSDATA2...
1260 sym R (7692 sym/26 pcs) 2 img
Data607-Week 3-Assignment
Assignment 3 Question 1 Using the 173 majors listed in fivethirtyeight.com’s College Majors dataset [https://fivethirtyeight.com/features/the-economic-guide-to-picking-a-college-major/], provide code that identifies the majors that contain either “DATA” or “STATISTICS” major_list <- "https://raw.githubusercontent.com/fivethirtyeight/da...
1643 sym R (1945 sym/12 pcs)
Data607-Week 1-Assignment
Introduction The article where this data set originates from concentrates on baby boomers and their overall drug use. Original article: https://fivethirtyeight.com/features/how-baby-boomers-get-high/ I wish to investigate the marijuana and alcohol usage of young adults (early 20s) until mid-30s. #Retrieve Original Data DrugUse <- "https://raw.g...
657 sym R (1384 sym/4 pcs) 3 img
MSData2020 - RHW2
#Get CSV Data from github repo theData <- "https://raw.github.com/geeman1209/MSDATA2020/master/Winter Bridge - R/HW2/affairs.csv" #Put raw data into variable and read csv file Affairs <- read.csv(theData) Affairs[1:10, ] ## X naffairs kids vryunhap unhap avgmarr hapavg vryhap antirel notrel ## 1 1 0 0 0 0 0 ...
5 sym R (12160 sym/10 pcs)
Homework #1
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within t...
551 sym R (795 sym/7 pcs)
Final Project
R Markdown The Drug Use by Age dataset was taken from five thirty-eight’s github: https://github.com/fivethirtyeight/data/tree/master/drug-use-by-age The dataset contains 17 age groups and 13 drugs and documents the drug usage across the different age groups. The purpose of my project is to see which age groups use illegal soft drugs, hard drug...
2032 sym R (14289 sym/15 pcs) 7 img
Project2_Dataset2
Project 2 Dataset 2 url <- "https://raw.githubusercontent.com/geeman1209/MSDATA2020/master/DATA607/Project%202/Dataset2/UN_MigrantStockByOriginAndDestination_2015.xlsx" library(httr) temp_file <- tempfile(fileext = ".xlsx") req <- GET(url, # authenticate using GITHUB_PAT authenticate(Sys.getenv("GITHUB_PAT"), ""), ...
1265 sym R (15311 sym/27 pcs) 2 img
Data 605 Assignment 8
Assignment #8 A company buys 100 lightbulbs, each of which has an exponential lifetime of 1000 hours. What is the expected time for the first of these bulbs to burn out? (See Exercise 10.) expected_time = 1000/100 expected_time ## [1] 10 Assume that X1 and X2 are independent random variables, each having an exponential density with parameter ...
623 sym R (266 sym/11 pcs) 1 img
Data 605 Discussion 6
Discussion 6 P.114 Problem #5 Use the program BinomialProbabilities to find the probability that, in 100 tosses of a fair coin, the number of heads that turns up lies between 35 and 65, between 40 and 60, and between 45 and 55. #n -> number of repeated trials #p -> probability of success #k -> number of success trials #Create binomial probabi...
235 sym R (1595 sym/12 pcs)