Publications by James Naval

DATA607_Week11_Assignment9

07.04.2024

Your task is to analyze an existing recommender system that you find interesting. You should: Perform a Scenario Design analysis as described below. Consider whether it makes sense for your selected recommender system to perform scenario design twice, once for the organization (e.g. Amazon.com) and once for the organization’s customers. Att...

5490 sym

JNaval_DATA605_Discussion_Post_Week11

04.04.2024

Introduction For this discussion post I decided to analyzed data from World Bank’s Data Bank. My downloaded data was upload to my github account Gitbub repository. GDP <- read.csv('https://raw.githubusercontent.com/jnaval88/DATA605/main/Week11/Discussion11-GDP_Birth_Rate.csv') GDP$X2019..YR2019. = as.numeric(GDP$X2019..YR2019) ## Warning: NA...

837 sym Python (2632 sym/12 pcs) 6 img

DATA607_Week10_HW10

01.04.2024

The primary example code from chapter 2 working in R with and Install libraries Introduction For this assignment we were asked to use In Text Mining with R, Chapter 2 looks at Sentiment Analysis. Use the primary example code from chapter 2 working in an R Markdown document. Also provide a citation to this base code. lasly we were asked to exte...

2774 sym R (16592 sym/55 pcs) 9 img

JNaval_HW10_DATA605

31.03.2024

Smith is in jail and has 1 dollar; he can get out on bail if he has 8 dollars. A guard agrees to make a series of bets with him. If Smith bets A dollars, he wins A dollars with probability .4 and loses A dollars with probability .6. Find the probability that he wins 8 dollars before losing all of his money if he bets 1 dollar each time (timid ...

1251 sym

JNaval_DATA605_Discussion_Post_Week10

28.03.2024

Chapter 11 Exercise 2 Page 414 In Example 11.4, let \(a = 0\) and \(b = 1/2\). Find \(P\), \(P_2\), and \(P_3\). What would \(P_n\) be? What happens to \(P_n\) as n tends to infinity? Interpret this result. Ans. let a = 0 and b = 1/2 P P <- matrix(c(1,0,1/2,1/2), nrow = 2, byrow = TRUE) P ## [,1] [,2] ## [1,] 1.0 0.0 ## [2,] 0.5 0....

266 sym

JNaval_DATA605_HW9

25.03.2024

Question 1 Exercise 11 page 363 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 observes that the differences \(X_n = Y_{n+1} - Y_n\) appear to be independent random variables with a common distribution having mean\(\mu = 0\) and variance \(\sigma^2 = \frac...

2145 sym

DATA607_Week9_HW8

25.03.2024

Introduction In this assignment we have been asked to use the New York Times Developer API to obtain information and pull it into a R data frame. Using the MOST Popular API For the first example I will use the MOST POPULAR API, to load the most shared articles by facebook. url <- paste("https://api.nytimes.com/svc/mostpopular/v2/shared/1/faceboo...

1148 sym 3 img

Data605_Discussion_Week_9

21.03.2024

Chapter 9 Page 354 Exercise 1. A die is rolled 24 times. Use the Central Limit Theorem to estimate the probability that the sum is greater than 84. the sum is equal to 84. Ans. (a) the sum is greater than 84. ## EV = Expected value ## VX = Variance ## SD = Standard Deviation EVX <- (1 * (1/6) + 2 * (1/6) + 3 * (1/6) + 4 * (1/6) + 5 * (1/6) ...

373 sym

JNaval_HW8_DATA605

18.03.2024

Exercise 11 pg. 303 A company buys 100 light bulbs, each of which has an exponential lifetime of 1000 hours. What is the expected time for the first of these bulbs to burnout? (See Exercise 10.) Note that \(X_i \sim exp(\lambda_i )\), for \(i = 1,2,3 ...n\), and \(X_1 , X_2 ... X_n\) are mutually independent random variables, then \[min \{ ...

2134 sym

JNaval_DATA605_Discussion_Post_Week8

14.03.2024

7 (a) A die is rolled three times with outcomes X1, X2, and X3. Let Y3 be the maximum of the values obtained. Show that \[P (Y3 ≤ j) = p(X1 ≤ j)3. \] Use this to find the distribution of Y3. Does Y3 have a bell-shaped distribution? Now let Yn be the maximum value when n dice are rolled. Find the distribution of Yn. Is this distribution bel...

632 sym