Publications by Vanita Thompson
DATA 605 HW 9
The price of one share of stock in the Pilsdorff Beer Company (see Exercise 8.2.12) is given by Yn on the n th day of the year. Finn observes that the differences Xn=Yn+1−Yn appear to be independent random variables with a common distribution having mean μ=0 and variance σ^2=1/4. If Y1=100, estimate the probability that Y365 is Since Xn=Yn+1�...
1985 sym R (235 sym/6 pcs)
DATA 605 HW 8
Question 1 A company buys 100 lightbulbs, 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.) The expected life is 1000 hours so lambda = 1/1000. If 100 are bought then it becomes 100* lambda = 1/10. The expected minimum is 1/1/10 which is 10 hours. ...
1099 sym R (553 sym/2 pcs)
DATA 605 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 . Answer 1 ## Y=min(X1,X2,…..Xn) Xi Uniformly distributed U(1,k) Distribution function for Y F(y)=P(Xi<y)=1−P(min(X1,X2,…..Xn>...
2020 sym R (951 sym/24 pcs)
Project 2c
Assignment Description Our task is to read in a .csv file and tidy the dataset. Libraries Load required libraries library(readr) library(dplyr) library(tidyr) library(knitr) library(tibble) library(ggplot2) library(scales) library(kableExtra) Data Import I copied this file from the web site linked below, and created a CSV file. I uploade...
743 sym R (3801 sym/12 pcs) 1 img
Assignment 3 DATA 607
#1. Using the 173 majors listed in fivethirtyeight.com’s College Majors dataset [https://fivethirtyeight.com/features/the-economic-guide-to-picking-a-college-major/], provide code that identifies the majors that contain either “DATA” or “STATISTICS” ##Load data majors <- read.csv(url('https://raw.githubusercontent.com/fivethirtyeight/da...
1551 sym R (2573 sym/26 pcs)
DATA 607 Project 1
In this project, you’re given a text file with chess tournament results where the information has some structure. Your job is to create an R Markdown file that generates a .CSV file (that could for example be imported into a SQL database) with the following information for all of the players: Player’s Name, Player’s State, Total Number of P...
2338 sym R (3292 sym/19 pcs)
DATA 606 HW 3
#1. Using the 173 majors listed in fivethirtyeight.com’s College Majors dataset [https://fivethirtyeight.com/features/the-economic-guide-to-picking-a-college-major/], provide code that identifies the majors that contain either “DATA” or “STATISTICS” ##Load data majors <- read.csv(url('https://raw.githubusercontent.com/fivethirtyeight/da...
1873 sym R (1374 sym/10 pcs)
DATA 607 HW 1
Introduction This week 1 assignment will subset data provided by FiveThirtyEight located here: https://fivethirtyeight.com/features/what-do-men-think-it-means-to-be-a-man/ The dataset can be found here: https://github.com/fivethirtyeight/data/tree/master/masculinity-survey Author’s at FiveThirtyEight conducted a survey with over 1600 men on whe...
623 sym R (22933 sym/3 pcs)
DATA 607 HW 1
Introduction This week 1 assignment will subset data provided by FiveThirtyEight located here: https://fivethirtyeight.com/features/what-do-men-think-it-means-to-be-a-man/ The dataset can be found here: https://github.com/fivethirtyeight/data/tree/master/masculinity-survey Author’s at FiveThirtyEight conducted a survey with over 1600 men on whe...
647 sym R (22946 sym/5 pcs)
Homework 1
Introduction This week 1 assignment will subset data provided by FiveThirtyEight located here: https://fivethirtyeight.com/features/what-do-men-think-it-means-to-be-a-man/ The dataset can be found here: https://github.com/fivethirtyeight/data/tree/master/masculinity-survey Author’s at FiveThirtyEight conducted a survey with over 1600 men on whe...
623 sym R (22933 sym/3 pcs)