Publications by sufian

DAT 605 - ASSIGNMENT 4

16.02.2020

Prob Set 1 SVD Decomposition Step by Step library(matlib) library(MASS) Setting up A mxn Matrix X = AAT Y = ATA A <- matrix(c(1, 2, 3, -1,0,4), nrow = 2, ncol = 3, byrow=T) A ## [,1] [,2] [,3] ## [1,] 1 2 3 ## [2,] -1 0 4 X <- A%*%t(A) #AAT X ## [,1] [,2] ## [1,] 14 11 ## [2,] 11 17 Y <- t(A)%*%A #...

723 sym R (3135 sym/27 pcs)

DAT 605 - Discussion 3 Reply

08.02.2020

Beezer: A First Course in Linear Algebra, Pg 389 Exerices C27 in R library(matlib) library(MASS) A <- matrix(c(0,4,-1,1,-2,6,-1,1,-2,8,-1,-1,-2,8,-3,1), nrow=4, byrow=T) A ## [,1] [,2] [,3] [,4] ## [1,] 0 4 -1 1 ## [2,] -2 6 -1 1 ## [3,] -2 8 -1 -1 ## [4,] -2 8 -3 1 eigen(A) ## eigen() decompo...

76 sym R (582 sym/5 pcs)

DAT 605 - ASSIGNMENT 2

08.02.2020

Problem set 1 library(matlib) library(MASS) The special case where A\(^{T}\)A \(=\) AA\(^{T}\) thru an example (Identity Matrix) in R m <- matrix(c(1, 0, 0, 0,1,0,0,0,1), nrow = 3, ncol = 3, byrow=F) m ## [,1] [,2] [,3] ## [1,] 1 0 0 ## [2,] 0 1 0 ## [3,] 0 0 1 m%*%t(m) ## [,1] [,2] [,3] ## [1,] 1 ...

436 sym R (2405 sym/21 pcs) 1 img

DAT 605 - Discussion 2

03.02.2020

Beezer: A First Course in Linear Algebra, Page: 353 In R m <- matrix(c(1, 4, 1, 3,1,0,2,3,1), nrow = 3, ncol = 3, byrow=F) m ## [,1] [,2] [,3] ## [1,] 1 3 2 ## [2,] 4 1 3 ## [3,] 1 0 1 det(m) ## [1] -4 By Hand: ...

78 sym R (177 sym/4 pcs) 1 img

DAT 605 - Discussion 3

03.02.2020

Beezer: A First Course in Linear Algebra, Page:388 Prob C11 Find the characteristic polynomial of the matrix m <- matrix(c(3, 2, 1, 0,1,1,1,2,0), nrow = 3, ncol = 3, byrow=T) m ## [,1] [,2] [,3] ## [1,] 3 2 1 ## [2,] 0 1 1 ## [3,] 1 2 0 eigen(m) ## eigen() decomposition ## $values ## [1] 3.618034 1.381966 -...

116 sym R (438 sym/4 pcs)

DAT 605

30.01.2020

Chapter SLE, Section SSLE - Question C30 (pg. 14) Finding all Soluntions to linear system of equation using R A <- matrix(data=c(1, 1, 2, -1),nrow=2,ncol=2,byrow=TRUE) b <- matrix(data=c(5, 3),nrow=2,ncol=1,byrow=FALSE) solve(A)%*% b ## [,1] ## [1,] 2.666667 ## [2,] 2.333333 ...

117 sym R (181 sym/2 pcs)

Data607Fall2019FinalProject

15.12.2019

title: “Data 607 Fall 2019 - Final Project: Medical care provider fraud detection tool” author: “Sufian” date: “11/14/2019” output: html_document Project Statement The purpose of this project is two-fold: To predict the type of medical providers based on the type and number of procedures performed: The claim is that if the predict...

17901 sym R (4259028 sym/33877 pcs) 6 img

Data 606 HW9

24.11.2019

Rpub Link: http://rpubs.com/ssufian/553164 Baby weights, Part I. (9.1, p. 350) The Child Health and Development Studies investigate a range of topics. One study considered all pregnancies between 1960 and 1967 among women in the Kaiser Foundation Health Plan in the San Francisco East Bay area. Here, we study the relationship between smoking and...

7160 sym R (2119 sym/26 pcs) 2 img

Data 606 Lab9

25.11.2019

title: “Multiple linear regression” Author: “Sufian” output: html_document: css: ./lab.css highlight: pygments theme: cerulean pdf_document: default Rpub Link: http://rpubs.com/ssufian/553211 Grading the professor Many college courses conclude by giving students the opportunity to evaluate the course and the instructor anonymously. ...

12801 sym R (7922 sym/29 pcs) 11 img 1 tbl

DAT 605 - ASSIGNMENT 1

02.02.2020

R Markdown library(matlib) library(MASS) Prob Set 1 Prob (1) Calculate the dot product u.v where u = [0.5;0.5] and v = [3;−4] u <- c(0.5,0.5) v <- c(3,-4) sum(u*v) ## [1] -0.5 Prob (2) What are the lengths of u and v #length of u sqrt(sum(u*u)) ## [1] 0.7071068 #length of v sqrt(sum(v*v)) ## [1] 5 Prob (3) What is the linear combination:...

704 sym R (1441 sym/15 pcs)