Publications by Nicholas Jacob
Olympics ANOVA
Olympics Keeping with my project, I am now going to explore the olympic dataset and preform an few ANOVA computations. Let’s ask if the sport they play affects their height. Really I am asking is the mean height of all athletes across sports the same. \[ H_0: \mu_1 = \mu_2=\cdots=\mu_n\\ H_A: \mu_i\neq\mu_j \text{ for some }i\text{ and }j \] a ...
973 sym R (1345 sym/11 pcs) 3 img
Hockey ANOVA
ANOVA data ## Rk X AvAge GP W L OL PTS PTS. GF GA SOW SOL SRS ## 1 1 Philadelphia Flyers 27.2 4 3 1 0 6 0.750 15 11 0 0 0.38 ## 2 2 Toronto Maple Leafs 29.0 4 3 1 0 6 0.750 14 12 0 0 1.85 ## 3 3 Vegas Golden Knights 28.8 3 3 0 0 6 1.000 11 5 0 0 1.63 ## 4 4 Washington...
375 sym R (8464 sym/25 pcs) 5 img
Hockey Bootstrap and CrossValidation
This is a continuation of this project <https://rpubs.com/nurfnick/720194 Bootstrapping set.seed(43) samp_mean <- function(x, i) { mean(x[i]) } GP <- na.omit(data$GP) results <- boot(GP, samp_mean, 100) plot(results) boot.ci(results, type="perc") ## BOOTSTRAP CONFIDENCE INTERVAL CALCULATIONS ## Based on 100 bootstrap replicates ## ## CALL ...
250 sym R (12850 sym/50 pcs) 4 img
Olympics Data Exploration
Olympic Medals Data Exploration I discovered this data set at https://www.kaggle.com/heesoo37/120-years-of-olympic-history-athletes-and-results. In order to create my data file, I clicked the icon to upload to Google sheets, published it to the web as a csv and copied a link. Some data will be possible to upload to github but if the file is large...
3480 sym R (17337 sym/56 pcs) 7 img
Document
From Github The dataset I am going to look at includes all people killed by a police officer in 2016. I gathered this dataset a while back and put it on my github. You can see the original from the Gaurdian Newspaper here. I uploaded the file to my github and created a raw link for it. I’ll now read it into my code df <- read.csv("https://raw.g...
1754 sym R (14225 sym/21 pcs)
Document
Scrapping Wikipedia First I am going to gather the data from wikipedia with the rvest library. html <- read_html(url) Let’s take a look at the html and see what we have gathered. html ## {html_document} ## <html class="client-nojs" lang="en" dir="ltr"> ## [1] <head>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8 ... ## [2] <...
3252 sym R (38998 sym/89 pcs) 14 img
Document
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...
593 sym R (262 sym/2 pcs) 1 img