Publications by Ben Setlak
Homework 7
Part 1 library(tidyverse) ## ── Attaching packages ───────────────────────────────────────── tidyverse 1.3.0 ── ## ✔ ggplot2 3.2.1 ✔ purrr 0.3.3 ## ✔ tibble 2.1.3 ✔ dplyr 0.8.4 ## ✔ tidyr 1.0.2 ✔ stringr 1.4.0 ## ✔ readr 1....
2916 sym R (21051 sym/40 pcs) 4 img
HW 5
t value- intercept: -2.60107 tvalue speed: 9.464 speed p value: 1,49e^-12 Multiple r^2: .6511 fStat: 89.57 on 1 and 48 DF p-value: 1.49e^-12 anova Mean Sq speed: 21186, f Value: 89.5656, p value: 1.49*e^-12 mean Sq Res: 236.54 A Auto <- read.table("http://faculty.marshall.usc.edu/gareth-james/ISL/Auto.data", header=TRUE, ...
602 sym R (2771 sym/17 pcs) 5 img
Homework 4
1 set.seed(1) x <- rnorm(100) y <- 2 * x + rnorm(100) 1a slr <- lm(y ~ x + 0) summary(slr) ## ## Call: ## lm(formula = y ~ x + 0) ## ## Residuals: ## Min 1Q Median 3Q Max ## -1.9154 -0.6472 -0.1771 0.5056 2.3109 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## x 1.9939 0.1065 18.7...
1018 sym R (5588 sym/29 pcs) 4 img
Homework 3 MATH239
Question 2: a)they will be different becasue the bootstapped one accounts for skew. the skew will be accounted for in the bootstrap one, unlike the original sample b) The bootstapping distribution is created by resampling with replacement from the original sample. c) Its best to use a sample size equal to the original sample. d) The bootstrapping...
1791 sym R (3751 sym/31 pcs) 5 img
Homework1
head(“Auto”) summary(data1) head(Auto) #A Auto <- read.table("http://faculty.marshall.usc.edu/gareth-james/ISL/Auto.data", header=TRUE, na.strings = "?") head(Auto) ## mpg cylinders displacement horsepower weight acceleration year origin ## 1 18 8 307 130 3504 12....
448 sym R (10950 sym/79 pcs) 5 img
Lab1 Intro R
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...
591 sym R (483 sym/5 pcs) 1 img
Classification Mini-Project
Part 1 We each completed the Datacamp portion of the assignment individually and turned in an Rpubs link on WISE. Part 2 For this portion of the project, we chose to examine the relationship between confirmed cases of COVID-19 and the level of pollution, within New York City. We chose this particular relationship because a common perspective duri...
4550 sym R (6057 sym/34 pcs) 4 img