Publications by Peter

presentation-606

20.10.2020

6.21 National Health Plan 6.21 National Health Plan, Part III. Exercise 6.11 presents the results of a poll evaluating support for a generically branded “National Health Plan” in the United States. 79% of 347 Democrats and 55% of 617 Independents support a National Health Plan. Calculate a 95% confidence interval for the difference between t...

919 sym R (326 sym/5 pcs)

homework7-606

18.10.2020

Working backwards, Part II. (5.24, p. 203) A 90% confidence interval for a population mean is (65, 77). The population distribution is approximately normal and the population standard deviation is unknown. This confidence interval is based on a simple random sample of 25 observations. Calculate the sample mean, the margin of error, and the sampl...

5525 sym R (1570 sym/19 pcs) 4 img

homework6-606

11.10.2020

2010 Healthcare Law. (6.48, p. 248) On June 28, 2012 the U.S. Supreme Court upheld the much debated 2010 healthcare law, declaring it constitutional. A Gallup poll released the day after this decision indicates that 46% of 1,012 Americans agree with this decision. At a 95% confidence level, this sample has a 3% margin of error. Based on this inf...

6327 sym R (1480 sym/28 pcs)

Lab5b-606

04.10.2020

If you have access to data on an entire population, say the opinion of every adult in the United States on whether or not they think climate change is affecting their local community, it’s straightforward to answer questions like, “What percent of US adults think climate change is affecting their local community?”. Similarly, if you had dem...

11008 sym R (923 sym/8 pcs) 1 img

project2_3-607

04.10.2020

Contributors: Peter Fernandes Arushi Arora Introduction Project 2 requires creating 3 tidy datasets by either using the untidy datasets from week5 discussion or choose any of our own dataset. It requires the data set to be wide and untidy so that we read the data from a CSV and transform and tidy the datasets. we have used 3 of the...

977 sym R (5783 sym/26 pcs) 2 img

homework5-606

04.10.2020

Heights of adults. (7.7, p. 260) Researchers studying anthropometry collected body girth measurements and skeletal diameter measurements, as well as age, weight, height and gender, for 507 physically active individuals. The histogram below shows the sample distribution of heights in centimeters. (a) What is the point estimate for the average he...

8138 sym R (1654 sym/25 pcs) 5 img

Lab4-606

27.09.2020

In this lab, you’ll investigate the probability distribution that is most central to statistics: the normal distribution. If you are confident that your data are nearly normal, that opens the door to many powerful statistical methods. Here we’ll use the graphical tools of R to assess the normality of our data and also learn how to generate ra...

10847 sym R (2940 sym/20 pcs) 18 img

homework3-606

13.09.2020

Dice rolls. (3.6, p. 92) If you roll a pair of fair dice, what is the probability of getting a sum of 1? Answer With a pair of dice the minimum sum is 2 so events(E) of getting sum=1 is 0, so Probability is P(E) = n(E)/n(S) = 0/36= 0 getting a sum of 5? Answer E= {(1,4),(2,3),(3,2),(4,1)}= 4 P(E)=4/36=1/9 getting a sum of 12? Answer E={(1,...

6666 sym R (954 sym/9 pcs) 2 img

Assignment3-607

12.09.2020

Introduction This assignment deals with string manipulation below are 4 exercises library(DT) library(stringr) Exercise 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 eithe...

1845 sym R (1374 sym/13 pcs)

Lab3-606

13.09.2020

Exercise 1 What does a streak length of 1 mean, i.e. how many hits and misses are in a streak of 1? What about a streak length of 0? Answer Streak of length 1 - has a Hit followed by miss Streak of length 0 - has miss followed by miss Exercise 2 Describe the distribution of Kobe’s streak lengths from the 2009 NBA finals. What was his typica...

2749 sym R (602 sym/6 pcs) 3 img