Publications by Johnny Rodriguez
Week 2 Discussion
Page 278 M15 Given the matrix \(\small B = \begin{pmatrix} 2-x & 1 \\ 4 & 2-x \end{pmatrix}\) , find all values of x that are solutions of det(B) = 0. Calculate the determinant of a 2 x 2 matrix using the formula det(B) = ad - bc Therefore: det(B) = (2−x)(2−x)−(1)(4) Simplify the expression det(B) = (2−x)(2−x)−(1)(4) det(B) = (2-x)^2 ...
544 sym
Data 608 Story 4
How much do Data Science roles get paid in the US? Data Sources The data used to answer the question is taken from Glassdoor via Kaggle. The data was scrapped from Glassdoor and posted to the site. The data collected represent 2021 Job Listings with salary and location information for Data Science related careers. Please note the dataset did not c...
1655 sym 4 img
Data 605 Week 5
1. Bayesian Calculation for HIV Test A new test for multinucleoside-resistant (MNR) human immunodeficiency virus type 1 (HIV-1) variants was recently developed. The test maintains 96% sensitivity, meaning that, for those with the disease, it will correctly report “positive” for 96% of them. The test is also 98% specific, meaning that, for those...
12011 sym
Data 605 Eigen Shoes
Prep Environment Package and Library Load #install.packages("imager") #install.packages("BiocManager") #BiocManager::install("EBImage") # Load the libraries library(imager) library(jpeg) library(EBImage) Read the image files # Define the path to the folder containing the JPG images folder_path <- "/Users/johnnyrodriguez/jpg" # List all JPG file...
179 sym Python (3271 sym/11 pcs) 4 img
Data 605 Assignment 3
What is the rank of the matrix A? The rank is 4. Since its only necessary to RREF until the Lower Triangle has been calculated, we you can stop without needing to go all the way to RREF. All rows will be none zero rows in final RREF. [ \[\begin{alignat*}{2} \left(\begin{array}{rrrr} 1 & 2 & 3 & 4 \\ -1 & 0 & 1 & 3 \\ 0 & 1 & -2 & 1 \\ 5 & 4 & -2 & ...
4820 sym R (2924 sym/22 pcs)
Story 2 - Data 608
Load Packages for FRED API connection This package was linked on the FRED site for API connections to FRED data sources. https://github.com/sboysel/fredr #install.packages("fredr") #install.packages("devtools") #devtools::install_github("sboysel/fredr") Load the libaries & Set API Key These libraries allow for the analysis and plots. We also set t...
2227 sym Python (9340 sym/7 pcs) 4 img
Data 605 Assignment 2
Question 1 Show that \[A^T \times A \neq A \times A^T\] (Proof and demonstration.) Proof While matrix multiplication is possible, the dimensions and matrix value are different. A = 3 rows x 2 cols A Transpose = 2 rows x 3 cols When AATranspose, the matrix dimensions are 3 x 3. When ATA, the matrix dimensions are 2 x 2. Demonstration # Define matr...
1222 sym R (2749 sym/24 pcs)
test4
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...
598 sym 1 img
Data 605 HW1
Create the letters J and R x <- c(rep(-1,1000), seq(-1.5,-1,length.out=500), seq(0,1,length.out=1000), rep(0, 500), rep(.75, 500), rep(1, 500), seq(0,1,length.out=1000)) y <- c(seq(-1,1, length.out=1000), rep(-1,500), rep(0,1000), seq(-1,1,length.out=500), seq(-1, 0, length....
34 sym 1 img
Data 605 HW1 v2
Letters J and R library(animation) x <- c(rep(-1,1000), seq(-1.5,-1,length.out=500), seq(0,1,length.out=1000), rep(0, 500), rep(.75, 500), rep(1, 500), seq(0,1,length.out=1000)) y <- c(seq(-1,1, length.out=1000), rep(-1,500), rep(0,1000), seq(-1,1,length.out=500), ...
33 sym R (1622 sym/6 pcs) 501 img