Publications by Jean Jimenez
Data 605 Homework 10
Question 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 0.4 and loses A dollars with probability 0.6. Find the probability that he wins 8 dollars before losing all of his money if: he bets 1 dollar each ...
853 sym
Data 607 Week 9 Homework
Introduction This week, we learned about web APIs. Web APIs are cool because they allow for an interface for developers to use to easily retrieve the data that they need. For this weeks homework assignment, we had to go through the New York Times’ API. We had to chose an API, make a request, and put the data into a data frame. API Request F...
3066 sym R (9193 sym/19 pcs) 1 tbl
Data 605 Homework 9
Week 9 Homework Question #11 Page 363: A tourist in Las Vegas was attracted by a certain gambling game in which the customer stakes 1 dollar on each play; a win then pays the customer 2 dollars plus the return of her stake, although a loss costs her only her stake. Las Vegas insiders, and alert students of probability theory, know that the prob...
1151 sym R (2227 sym/16 pcs)
Data 607 JSON Extra Credit
Introduction Websites have API that you can use to retrieve data that you find necessary. NobelPrize.org has an API you can interact with to obtain data on Nobel Prizes. For this extra credit assignment, we were asked to come up with four interesting questions that we can answer with the data from the API, using 2 JSON’s. After going through...
2107 sym R (6111 sym/20 pcs) 1 img
Data 607 Project 3 Team Android
Team Android Project #3 Introduction The advent of data science has created a paradigm shift in how we approach problem-solving across various industries. Data science skills are increasingly becoming indispensable, but what skills are most valued in this domain? Our class was tasked with a project to explore this very question. Our objective ...
8281 sym Python (28702 sym/65 pcs) 4 img 1 tbl
Data 605 Hw 8
#11 Question: 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 burn out? (See Exercise 10.) Work and Answer: #num lights lights = 100 #avg life per bulb avg_life = 1000 #rate each bulb single_rate = 1 / avg_life #min rate_min = lights * s...
885 sym R (1486 sym/7 pcs) 1 img
Data 607 Fall 2023 Week 7 HW
Importing Different Data Formats This week, we were asked to create 3 files (json, html, xml) containing a table with information about books. Then, we were asked to import each of the tables into data frames. library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## Th...
634 sym R (2173 sym/26 pcs) 1 tbl
Data 605 Fall 2023 HW#7
HW 7 Question 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 Step One First, I set n = 10 and k =30, meaning that there will be 10 random variables per trial and 30 is the maximum value. I...
2328 sym 1 img
Data 605 Fall 2023 HW#7 (Reupload)
HW 7 Question 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 Step One First, I set n = 10 and k =30, meaning that there will be 10 random variables per trial and 30 is the maximum value. I...
2328 sym 1 img
Data 607 Project 2 NYS Prison Employee Misconduct Data Analysis
NYS Prison Employee Misconduct Introduction One data set I chose for this project was a data set of Prison Employee Misconduct in the State of New York. The data set used was obtained through a Freedom of Information Act (FOIA) request to the NYS Department of Correction. The FOIA request was submitted by the Marshall Project; a nonpartisan, n...
7882 sym R (7283 sym/22 pcs) 4 img