Publications by Johnny Rodriguez
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
Density Curve Vignette
Introduction - Density Curve This vignette will demonstrate how to build a density curve given a 538 dataset. We will plot two factors in the dataset and place them side by side for visual comparison. The density plot curve visually displays where the area of the curve falls for a distribution. Load the Libraries library(tidyverse) library(ggplot2...
1313 sym R (3065 sym/11 pcs) 3 img
Data 607 Assignment 2
Data 607 - R and MySQL This code depends on a public MYSQL database created in the Google Cloud Platform. The project is reproducible as long the the database and connection are running. The code establishes the connection, creates the table and the joins to output a data frame of the results. R Environment Prep Load the packages and libraries n...
1842 sym R (5546 sym/18 pcs) 1 img