Publications by Nicholas Jacob
Non-Parametric Assignment
You may use this document as a starting point for this assignment. Your submission should be written in R and include all points addressed below. To keep this assignment simple, we are going to use the built in dataset ChickWeight that is included with R. head(ChickWeight) ## weight Time Chick Diet ## 1 42 0 1 1 ## 2 51 2 ...
808 sym R (212 sym/2 pcs)
Goodness of Fit Homework Helper
Goodness of Fit and Test for Independence We will be using the \(\chi^2\) distribution. We will calculate it using the the observed \(O_i\) and the expected \(E_i\). Then \[ \chi^2= \sum_{i=1}^n\frac{\left(O_i-E_i\right)^2}{E_i} \] It will have degrees of freedom \(n-1\). Remember to always use the actual values not the probabilities in the calcu...
2896 sym R (991 sym/18 pcs)
Bootstrap and Cross Validation Project Part 2
Mean Ages Next we will take the same data and explore the bootstrapping method. Many of you were introduced to this in Intro to Stats. I’ll repeat my hypothesis test that the mean ages of men and women olympic athletes are different. If we establish the mean age of men and women olympians as \(\mu_M\) and \(\mu_W\) respectively, our null and al...
4329 sym R (4133 sym/33 pcs) 1 img
Regression Homework Helper
Regression Homework Helper I am again going to try to keep it simple by using base R but doing some of the homework questions. Use a scatterplot and the linear correlation coefficient r to determine whether there is a correlation between the two variables. (Note: Use software, and don’t forget to look at the scatterplot!) First I’ll load th...
4613 sym R (3080 sym/32 pcs) 7 img
Homework Helper Module 0
Keep It Simple My goal of this document is to show you how to do your homeworks by using R and more specifically base R (no packages!) I am not going to load any data so I’ll have to be given the statistics, just like the WeBWorK questions. You should notice how unrealistic this is. Of course you would normally have the data loaded… 45 peopl...
4756 sym R (932 sym/24 pcs)
Homework Bootstrap and Cross Validation
You may use this document as a starting point for this assignment. Your submission should be written in R and include all points addressed below. Bootstrap To keep this asssignment simple, we are going to use the built in dataset diamonds that is included with R. summary(diamonds) ## carat cut color clarity ...
1070 sym R (2206 sym/4 pcs)
ANOVA Homework Helper
ANOVA ANOVA can be broken into two ideas. One-way and two-way. One-way ANOVA will examine the means of a quantitative variable by examining the variance among the groups. We should be comparing more than two groups (for two groups do the hypothesis test of module 0). We could do this by hand but nobody does so I am not going to bother either. The...
4732 sym R (3820 sym/19 pcs) 7 img 1 tbl
Non-Parametric Homework Helper
I am going to try to help with doing the homework and project by giving you some examples in coding these non-parametric tests. To keep this assignment simple, we are going to use the built in dataset diamonds that is included with ggplot2. head(diamonds) ## # A tibble: 6 x 10 ## carat cut color clarity depth table price x y z...
2007 sym R (5482 sym/29 pcs) 3 img
Document
Hockey Rules I am testing head(data) ## Rk X AvAge GP W L OL PTS PTS. GF GA SOW SOL SRS SOS ## 1 1 Philadelphia Flyers 27.2 4 3 1 0 6 0.750 15 11 0 0 0.38 -0.63 ## 2 2 Toronto Maple Leafs 29.0 4 3 1 0 6 0.750 14 12 0 0 1.85 1.35 ## 3 3 Vegas Golden Knights 28.8 3 3 0 0 6 1.000 11 5 0 0...
794 sym R (5028 sym/20 pcs) 3 img
Project Proposal
data = read.csv('https://docs.google.com/spreadsheets/d/e/2PACX-1vSDpJqmVSks0f4vLzzcmcTfPJ8TSu4ziCNpTFy_fIY6LibZksRXzCfJYXj9qZd4NiofejxoYSkmLMwu/pub?output=csv') Olympic Medals Data Exploration For this first assignment, I want you to get into R and load your data! I discovered this data set at https://www.kaggle.com/heesoo37/120-years-of-olympi...
1164 sym R (3624 sym/5 pcs)