Publications by Tony Mei
Data 605 Assignment 9
11. The price of one share of stock in the Pilsdorff Beer Company (see Exercise 8.2.12) is given by Yn on the nth day of the year. Finn observes that the differences \(\ X_{n} = Y_{n}+1 − Y_{n}\) appear to be independent random variables with a common distribution having mean \(\ µ = 0\) and variance \(\ σ^2 = 1/4\). If \(\ Y_{1} = 100\), est...
678 sym R (261 sym/6 pcs) 2 img
Data 605 Discussion 13
Objective We load in a dataset about basketball players with their heights, weights, the field goal percentage, free throws percentage, and the average points scored per game. X1 = height in feet X2 = weight in pounds X3 = percent of successful field goals (out of 100 attempted) X4 = percent of successful free throws (out of 100 attempted) X5 = a...
1089 sym R (4029 sym/11 pcs) 3 img
Data 605 Discussion 14
In Exercises 3 – 8, the roots of f(x) are known or are easily found. Use 5 iterations of Newton’s Method with the given initial approximation to approximate the root. Compare it to the known value of the root. \(\ f(x) = x^2 - 2, x_0 = 1.5\) \(\ f'(x) = 2x\) calculate <- function(Ans) { return(Ans - (Ans^2 - 2)/(2^Ans)) } Ans = 1.5 calc...
334 sym R (338 sym/10 pcs)
Data 605 Assignment 15
1. Find the equation of the regression line for the given points. Round any final values to the nearest hundredth, if necessary. ( 5.6, 8.8 ), ( 6.3, 12.4 ), ( 7, 14.8 ), ( 7.7, 18.2 ), ( 8.4, 20.8 ) x1 = 5.6 y1 = 8.8 x2 = 6.3 y2 = 12.4 x3 = 7 y3 = 14.8 x4 = 7.7 y4 = 18.2 x5 = 8.4 y5 = 20.8 x_mean = (x1+x2+x3+x4+x5)/5 x_mean ## ...
3500 sym R (651 sym/18 pcs)
Data 605 Final Exam
Data 605 Exam Tony Mei 5/19/2020 library(ggplot2) library(corrplot) ## corrplot 0.84 loaded library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(matrixc...
5695 sym R (36641 sym/89 pcs) 13 img
Data 608 Assignment 1
Data 608 Assignment 1 Tony Mei 9/6/2020 #Load libraries library(ggplot2) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union Principles of Data Visualization...
1627 sym R (4854 sym/18 pcs) 3 img
Data 621 HW1 Group
HW1 Team 1 September 13, 2020 Library # load required packages library(ggplot2) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union #library(tidyr) library(c...
3609 sym R (29581 sym/70 pcs) 16 img
Data 608 HW 2
Data 608 Module 2 Tony Mei 9/20/2020 Assignment For module 2 we’ll be looking at techniques for dealing with big data. In particular binning strategies and the datashader library (which possibly proves we’ll never need to bin large data for visualization ever again.) To demonstrate these concepts we’ll be looking at the PLUTO dataset put o...
3080 sym R (4817 sym/8 pcs)
Data 608 HW 1
Data 621 HW1 Tony Mei 9/9/2020 # load required packages library(ggplot2) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(corrplot) ## Warning: pac...
3798 sym R (39059 sym/54 pcs) 10 img