Question

In: Statistics and Probability

These numbers have been drawn from a uniform distribution with range 1-40. 4, 6, 16, 12,...

These numbers have been drawn from a uniform distribution with range 1-40.

4, 6, 16, 12, 23, 19, 16 26, 14, 12, 12, 10, 3, 26, 35, 8, 30, 11, 14, 34, 37, 16, 36, 30, 18, 39, 24, 18, 39, 5, 12, 28, 4, 12, 34, 16, 35, 27, 15, 1

Test the sample for randomness using:

  1. a graphical method.
  2. a Chi-square tests.
  3. a Kolmogorov—Smirnov test.

Solutions

Expert Solution

These numbers have been drawn from a uniform distribution with range 1-40.

4, 6, 16, 12, 23, 19, 16 26, 14, 12, 12, 10, 3, 26, 35, 8, 30, 11, 14, 34, 37, 16, 36, 30, 18, 39, 24, 18, 39, 5, 12, 28, 4, 12, 34, 16, 35, 27, 15, 1

b. Chi Square test for goodness

These numbers converted into continuous frequency distribution.

Here range 1- 40

The continuous uniform distribution.

X~CU(a=1,b=50)

f(x)=1/(b-a)

Distribution function

F(X)=(x-a)/(b-a)

=( X-1)/(40-1)

= (X-1)/39

Class f

ul

X

F(X) p(X) Ei (Oi-Ei)^2/Ei
0-10 07 10 0.2307 0.2307 9.228 0.5379
10-20 17 20 0.4871 0.2307 9.228 6.5457
20-30 06 30 0.7435 0.2307 9.228 1.1291
30-40 10 40 1 0.2307 9.228 0.0645
-

total fi=40

Total=

8.2772

Ho: The given sample fit for continuous uniform distribution.

H1: The given sample does not fit for continuous uniform distribution.

Calculated value=8.2772

Tabulated value= chi square tab( n-1;5%)

= chi square tab (4-1;0.05)

=7.81

Chi square calculated greater than chi square table.

The sample does not fit for uniform distribution.


Related Solutions

Assume that a winning ticket is one which matches the 6 numbers drawn from 1 to...
Assume that a winning ticket is one which matches the 6 numbers drawn from 1 to 49. (a) (1 mark) Suppose p is the probability of winning the grand prize. Write down the value for p for Lotto 649. (b) (1 mark) Write down the probability of winning (for the first time) on the nth draw (i.e. losing on the first n − 1 draws). (c) (1 mark) Determine the expected number of draws you must play (1 ticket each...
A random sample of 16 values is drawn from a mound-shaped and symmetric distribution. The sample...
A random sample of 16 values is drawn from a mound-shaped and symmetric distribution. The sample mean is 12 and the sample standard deviation is 2. Use a level of significance of 0.05 to conduct a two-tailed test of the claim that the population mean is 11.5. (a) Is it appropriate to use a Student's t distribution? Explain. (Choose one of 5 listed below) Yes, because the x distribution is mound-shaped and symmetric and σ is unknown. No, the x...
A random sample of 16 values is drawn from a mound-shaped and symmetric distribution. The sample...
A random sample of 16 values is drawn from a mound-shaped and symmetric distribution. The sample mean is 8 and the sample standard deviation is 2. Use a level of significance of 0.05 to conduct a two-tailed test of the claim that the population mean is 7.5. (a) Is it appropriate to use a Student's t distribution? Explain. Yes, because the x distribution is mound-shaped and symmetric and σ is unknown.No, the x distribution is skewed left.      No, the x...
A random sample of 64 observations is to be been drawn from a distribution with mean...
A random sample of 64 observations is to be been drawn from a distribution with mean 15 and standard deviation 10. Find the probability that the sample mean, x̅ , will differ from μ by no more than 2 units in either direction. Interpret your results.
1. The following 10 numbers were drawn from a population. Is it likely that these numbers...
1. The following 10 numbers were drawn from a population. Is it likely that these numbers came from a population with a mean of 13? Evaluate with a two-tailed test at p < .05. 5, 7, 7, 10, 10, 10, 11, 12, 12, 13 a. State both in words, and then symbolically what your H1 and H0 would be. b. What is your df? What is your critical t? c. Calculate t d. Based on the above information, would you...
Two iid observations Y1,Y2 are to be drawn from a Uniform [0,θ] distribution. We wish to...
Two iid observations Y1,Y2 are to be drawn from a Uniform [0,θ] distribution. We wish to test the hypothesis H0: θ = 1 vs. H1: θ > 1 by rejecting H0 if Y1 + Y2 ≥ k. Find the value of k which yields a 0.05 significance level for this test and calculate the power of this test for θ = 2.
1- Write a function f(n,a,b) that generates n random numbers # from Uniform(a,b) distribution and returns...
1- Write a function f(n,a,b) that generates n random numbers # from Uniform(a,b) distribution and returns their minimum. # Execute the function with n=100, a=1, b=9. 2- Replicate the function call f(100,1,9) 100 thousand times # and plot the empirical density of the minimum of 100 indep. Unif(1,9)'s 3-Use the sampling distribution from (b) to find 95% confidence # interval for the minimum of 100 independent Unif(1,9)'s. Please solve in R
Let the five numbers 2, 3, 5, 9, 10 come from the uniform distribution on [a,b]....
Let the five numbers 2, 3, 5, 9, 10 come from the uniform distribution on [a,b]. Find the method of moments estimates of a and b.
Suppose that ?1, ?2, … ?? are i.i.d RV drawn from a normal distribution N(2,5) distribution...
Suppose that ?1, ?2, … ?? are i.i.d RV drawn from a normal distribution N(2,5) distribution . a. What is the mean and the variance of sample average where i.) n=10, ii) n=100, iii) n=1000.
Show by induction that for all n natural numbers 0+1+4+9+16+...+ n^2 = n(n+1)(2n+1)/6.
Show by induction that for all n natural numbers 0+1+4+9+16+...+ n^2 = n(n+1)(2n+1)/6.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT