Publications by Fares A

605_week7_hm

09.03.2024

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. Find the distribution of Y . The probability that \(Y\) takes on any specific value \(y\) (where \(1 \leq y \leq k\)) can be found by considering the complement, that i...

3791 sym

607_week7_assignment

09.03.2024

After having created the files by hand using Notepad, I have uploaded them to my GitHub and loaded them below: library(RCurl) library(XML) library(rjson) library(rvest) library(kableExtra) # loading html_content <- getURL("https://raw.githubusercontent.com/unsecuredAMRAP/607/main/html%20page3.html") html_data <- readHTMLTable(html_content...

121 sym R (1103 sym/3 pcs) 3 tbl

605_week7_discussion

07.03.2024

Chapter 5, Problem 14: On the average, only 1 person in 1000 has a particular rare blood type. Find the probability that, in a city of 10,000 people, no one has this blood type. How many people would have to be tested to give a probability greater than 1/2 of finding at least one person with this blood type? Solution: Part a Using the Poisson Dis...

408 sym

607_project2_FDA_AI(resubmit)

05.03.2024

dataset#1 FDA Approval of AI Algorithms in Medicine data set. This is the wide table of the data set I have chosen: Here it is in table format form the loaded data frame from the CSV file imported into R: library(kableExtra) df <- read.csv("https://raw.githubusercontent.com/unsecuredAMRAP/607/main/AI-FDA_wide-table.csv") df %>% kable("html"...

8038 sym R (68504 sym/62 pcs) 14 img 1 tbl

607_project1_resubmission

05.03.2024

I used the same chess text data file suggested in the project 1 page on blackboard (so that the data is available to whoever going to run the code again). I’m first going to try to clean the data and turn into into a structured form. # structuring the data library(stringr) # indicating the separator lines separator_indices <- grep("^-+$",...

1529 sym R (9974 sym/18 pcs) 1 img

607_project2_FDA_AI

03.03.2024

dataset#1 FDA Approval of AI Algorithms in Medicine data set. This is the wide table of the data set I have chosen: Here it is in table format form the loaded data frame from the CSV file imported into R: library(kableExtra) df <- read.csv("https://raw.githubusercontent.com/unsecuredAMRAP/607/main/AI-FDA_wide-table.csv") df %>% kable("html"...

6570 sym R (21270 sym/54 pcs) 14 img 1 tbl

605_week6_hm

02.03.2024

Problem 1 So it can be RRRRR or GRRRR (no order). I used paper and by hand, using binomial distribution: ways of getting 4 red = 7!(4!*(7-4)!) = 35 ways of getting 1 green = 5 ways of getting 5 red = 1 total ways = 35*5 + 1 = 176 Using R: green_jellybeans <- 5 red_jellybeans <- 7 # no green jellybeans are withdrawn (5 reds) ways_1 <- 1 # 1 gree...

2559 sym

607_wek5hm

26.02.2024

Building the table and creating a CSV file from it, then saving it.The wide structure of the table is preserved while creating the table and df. library(tibble) library(readr) library(tidyr) library(dplyr) library(kableExtra) data <- list( Airline = c("ALASKA", "ALASKA", "AM WEST", "AM WEST"), Status = c("on time", "delayed", "on time...

1419 sym R (4309 sym/11 pcs) 3 tbl

607_week5Discussion

26.02.2024

This is the wide table of the data set I have chosen: Here it is in table format form the loaded data frame from the CSV file imported into R: Type.of.FDA.approval Mention.of.AI.in.announcement X X.1 X.2 X.3 Modality X.4 X.5 X.6 X.7 X.8 Clinical.Discipline X.9 X.10 X.11 artificial intelligence machine learning ...

149 sym 1 img 1 tbl

605_week5hm

25.02.2024

Problem 1: 1- (Bayesian). 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 withou...

12274 sym 1 img