STAT 340 TUT04 part A

STAT 340 TUT04 part A - b) The maximum KS distance is 1. c)...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
STAT 340 – W12 – Tutorial 4 Question 1 Online you will find 4 datasets. The data is randomly created R output. Please determine the distribution of each. Each is derived from a continuous distribution. You need to give as your answer the name of the distribution and the value of the parameters. Question 2 Online you will find 3 datasets. All 3 are randomly created from R from discrete distributions. You need to give as your answer the name of the distribution and the value of the parameters. Question 3 My bank account gives me a rate of return of 1.3% per annum. If I invest $1200 and assume they compound my money in a continuous manner, how much will I have at the end of 5 years? Question 4 - True or False. In each case below decide if the statement is mostly true or false. a) The KS distance is distributed according to a normal distribution.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: b) The maximum KS distance is 1. c) The minimum KS distance is -1. Question 5 John has been at the craps table (a type of gambling game whereby 2 dice are rolled and summed) all day. He has noticed that the dice have rolled: Value 2 3 4 5 6 7 8 9 10 11 12 Frequency 5 12 15 50 65 82 77 48 29 13 4 Are the dice fair? Perform an appropriate test, estimating the pvalue. Note 1 To read data into R: 1. File, Change Dir, Browse until you see the folder containing your dataset. 2. Use the command read.table. My datasets will be in a CSV format, without a header so the normal command is: data=read.table("filename.txt",sep=",",header=FALSE) Note 2 Because there may be more than 1 answer to the datasets in question 4 and 3, please submit your code to show you are correct....
View Full Document

Ask a homework question - tutors are online