Publications by Zhi Ying Chen (Sec#1), Mengqin Cai (Sec#3), Fan Xu (Sec#4), Sin Ying Wong (Sec#4)
DATA605_Assignment 4
Code Show All Hide All DATA605 ASSIGNMENT 4 1 Problem set 1 1.1 Step 1: Define Matrix \(A\): 1.2 Step 2: Compute \(X=AA^{T}\) 1.3 Step 3: Compute \(Y=A^{T}A\) 1.4 Step 4: Compute eigenvalues & eigenvectors of \(X\) 1.5 Step 5: Compute eigenvalues & eigenvectors of \(Y\) 1.6 Step 6: Compute SVD of \(A\) 1.7 Step 7: Comparison 2 Problem Set 2 ...
3622 sym R (4158 sym/31 pcs)
DATA605_Assignment 3
Code Show All Hide All DATA605 ASSIGNMENT 3 1 Problem Set 1 1.1 Question 1 1.2 Question 2 1.3 Question 3 2 Problem Set 2 2.1 Part 1 2.2 Part 2 2.3 Part 3 Fan Xu 09/10/2020 library(tidyverse) library(matlib) library(Matrix) 1 Problem Set 1 1.1 Question 1 What is the rank of the matrix \(A\)? \(A = \begin{bmatrix} 1 & 2 & 3 & 4\\ -1 & ...
6716 sym R (839 sym/5 pcs)
DATA605_Assignment 5
Code Show All Hide All DATA605 ASSIGNMENT 5 1 Problem Set 1 1.1 Proof 1.2 Question 1(a) 1.2.1 By Graph 1.2.2 By Integration 1.2.3 By Code 1.3 Question 1(b) 1.3.1 By Graph 1.3.2 By Integration 1.3.3 By Code 1.4 Question 1(c) 1.4.1 By Graph 1.4.2 By Integration 1.4.3 By Code 1.5 Question 1(d) 1.5.1 By Graph 1.5.2 By Integration 1.5.3 By Code...
5059 sym R (965 sym/11 pcs) 6 img
DATA622 ASSIGNMENT 1
Code Show All Hide All DATA622 ASSIGNMENT 1 - Run the model exercise 1 Data Exploration 1.1 Load Data 1.2 Data Summary 1.3 Train Test Split 1.3.1 Training Set 1.3.2 Testing Set 2 Logistic Regression 2.1 Construct Logicstic Regression Classifier 2.2 Model Prediction 2.2.1 Prediction on Training Set 2.2.2 Model Evaluation on Training Data 2.2....
7581 sym R (13909 sym/60 pcs) 8 img
DATA605 ASSIGNMENT 7
Code Show All Hide All DATA605 ASSIGNMENT 7 1 Question 1 2 Question 2 2.1 Part a 2.2 Part b 2.3 Part c 2.4 Part d Fan Xu 10/11/2020 library(tidyverse) 1 Question 1 Let X1, X2, . . . , Xn be n mutually independent random variables, each of which is uniformly distributed on the integers from 1 to k. Let Y denote the minimum of the Xi’s. ...
3859 sym R (369 sym/25 pcs)
DATA605_Assignment 8
Code Show All Hide All DATA605 ASSIGNMENT 8 1 Question 11 (Pg 303) 2 Question 1 (Pg 320-321) 2.1 (a) 2.2 (b) 2.3 (c) 2.4 (d) 3 Question 14 (Pg 303) Fan Xu 10/18/2020 library(tidyverse) 1 Question 11 (Pg 303) A company buys 100 lightbulbs, each of which has an exponential lifetime of 1000 hours. What is the expected time for the first of...
3950 sym R (18 sym/1 pcs)
DATA605_Assignment 9
Code Show All Hide All DATA605 ASSIGNMENT 9 1 Question 1 2 Question 2 3 Question 3 Fan Xu 10/25/2020 library(tidyverse) 1 Question 1 Textbook Question 11 (Pg 364) The price of one share of stock in the Pilsdorff Beer Company (see Exercise 8.2.12) is given by \(Y_{n}\) on the nth day of the year. Finn observers that the differences \(X_{n...
3227 sym R (355 sym/7 pcs)
DATA605_Final_Exam
Code Show All Hide All DATA605 Final Exam 1 Problem 1 1.1 Sub-Question 1 1.2 Sub-Question 2 1.3 Sub-Question 3 2 Problem 2 2.1 Data Exploration 2.2 Data Cleaning 2.3 Sub-Question 1 2.4 Sub-Question 2 2.5 Sub-Question 3 2.6 Sub-Question 4 3 Presentation Video Frank 12/20/2020 library(tidyverse) library(janitor) library(knitr) library(...
12153 sym R (254492 sym/70 pcs) 18 img
DATA605_Assignment 14
Code Show All Hide All DATA605 ASSIGNMENT 14 1 Question 1 1.1 Part (a) 1.2 Part (b) 1.3 Part (c) Fan Xu 12/06/2020 library(tidyverse) library(tidymodels) library(gridExtra) 1 Question 1 This week, we’ll work out some Taylor Series expansions of popular functions. \(f(x) = \frac{1}{(1-x)}\) \(f(x) = e^{x}\) \(f(x) = ln(1+x)\) For ea...
2945 sym R (59 sym/1 pcs)
DATA605_Assignment 13
Code Show All Hide All DATA605 ASSIGNMENT 13 1 Question 1 2 Question 2 3 Question 3 4 Question 4 5 Question 5 6 Question 6 7 Question 7 Fan Xu 11/29/2020 library(tidyverse) library(tidymodels) library(gridExtra) 1 Question 1 Use integration by substitution to solve the integral below. \[\int 4e^{-7x}dx\] Answer: Let \(u=-7x\) then \(du...
3426 sym R (492 sym/2 pcs) 2 img