Question

In: Statistics and Probability

Below are 50 random numbers taken from a random number generator. 0.534 0.401 0.401 0.445 0.445...

Below are 50 random numbers taken from a random number generator.

0.534 0.401 0.401 0.445 0.445
0.125 0.094 0.094 0.104 0.104
0.345 0.259 0.259 0.288 0.288
0.785 0.589 0.589 0.654 0.654
0.975 0.731 0.731 0.813 0.813
0.834 0.626 0.626 0.695 0.695
0.683 0.512 0.512 0.569 0.569
0.322 0.242 0.242 0.268 0.268
0.526 0.395 0.395 0.438 0.438
0.234 0.176 0.177 0.198 0.196

a) Using 5 class intervals, determine the computed chi-square value. Answer in 1 decimal place.   

b) What is the critical value of chi-square at 0.05 level of significance. Answer in 2 decimal places.

c) Are the random numbers uniform? Answer YES or NO.

Solutions

Expert Solution

Before we start working on the data, we convert random numbers into integers by multiplying each one

by 1000. ( For better readability of data )

We get following data;

534 401 401 445 445
125 94 94 104 104
345 259 259 288 288
785 589 589 654 654
975 731 731 813 813
834 626 626 695 695
683 512 512 569 569
322 242 242 268 268
526 395 395 438 438
234 176 177 198 196

a)

Step-1 : Construction of Frequency table :

Minimum data value = 94

Maximum data value = 975

So, we create 5 class intervals as below; Minimum value should be covered in the first class and intervals should multiples of 10.

Class
0-100
100-350
350-600
600-850
850-1100

By using Tally mark for each above class intervals , we get the following Frequency table;

Class Frequency
0-100 2
100-350 18
350-600 16
600-850 13
850-1100 1
Total 50

Step-2 : Calculation Chi-square value:

We will use the following Chi-square formula :

where E = expected values = 50/5 = 10 for each class interval. ( ie: Expected value is the average )

Class Observed values (O) Expected value (E) ( O-E)^2 [ ( O-E)^2] / E
0-100 2 10 64 6.4
100-350 18 10 64 6.4
350-600 16 10 36 3.6
600-850 13 10 9 0.9
850-1100 1 10 81 8.1
Total 50 50 Chi-square==> 25.4

b)

Critical value of Chi-square for degrees of freedom = (5-1) = 4 and alpha = 0.05.

Critical value of Chi-square = 9.49 ( Refer below table )

c) Answer : No

Explanation:

Since Chi-square value=25.4 > Chi-square critical=9.49,

It implies that Reject the null hypothesis that "Random numbers are Uniform".

## End of answer


Related Solutions

Questions 36-39: Six numbers are selected at random from a random number generator and entered into...
Questions 36-39: Six numbers are selected at random from a random number generator and entered into each of four rows. The summary statistics are presented in the chart below. Mean SD   Row 1 5.8  0.78 Row 2 3.6  0.23 Row 3 5.5  0.32 Row 4 4.0  0.59 Assume the populations are normal with equal variances. It is of interest to test the following: Ho: μ1 = μ2 = μ3 = μ4 36. What are the degrees of freedom for the...
The Random class implements a random number generator, which produces sequences of numbers that appear to...
The Random class implements a random number generator, which produces sequences of numbers that appear to be random. To generate random integers, you construct an object of the Random class, and then apply the nextInt method. For example, the call generator.nextInt(6) gives you a random number between 0 and 5. Write a program DieSimulator that uses the Random class to simulate the cast of a die, printing a random number between 1 and 6 every time that the program is...
Suppose you have access to a random number generator Rng() that generates uniform random numbers in...
Suppose you have access to a random number generator Rng() that generates uniform random numbers in {0, 1, . . . , n − 1}. Design a function uses Rng() generate a uniform random number in {0, 1, . . . , m − 1}, where m ≤ n
Use a random number generator to produce 1000 uniformly distributed numbers with a mean of 10, a
Use a random number generator to produce 1000 uniformly distributed numbers with a mean of 10, a minimum of 2, and a maximum of 18. Obtain the mean and the histogram of these numbers, and discuss whether they appear uniformly distributed with the desired mean.
Use a random number generator to produce 1000 normally distributed numbers with a mean of 20
Use a random number generator to produce 1000 normally distributed numbers with a mean of 20 and a variance of 4. Obtain the mean, variance, and histogram of these numbers, and discuss whether they appear normally distributed with the desired mean and variance.
1. A random number generator claims to randomly choose real numbers between 0 and 3000. (a)...
1. A random number generator claims to randomly choose real numbers between 0 and 3000. (a) If this is true, what kind of distribution would the randomly chosen numbers have? (b) What would be the mean of this distribution? (c) What would be the standard deviation of this distribution? (d) Say we take a sample of 65 generated numbers and obtain a sample mean of 1552. What do we know about the sampling distribution of the sample mean and how...
A random number generator picks a number from 7 to 68 in a uniform manner. Round...
A random number generator picks a number from 7 to 68 in a uniform manner. Round answers to 4 decimal places when possible. The mean of this distribution is The standard deviation is The probability that the number will be exactly 42 is P(x = 42) = The probability that the number will be between 16 and 28 is P(16 < x < 28) = The probability that the number will be larger than 48 is P(x > 48) =...
1.) Using excel. A random number generator picks a number from one to nine in a...
1.) Using excel. A random number generator picks a number from one to nine in a uniform manner. X ~ _________ Graph the probability distribution. f(x) = _________ μ = _________ σ = _________ P(3.5 < x < 7.25) = _________ P(x > 5.67) P(x > 5|x > 3) = _________ Find the 90th percentile. 2) using excel A subway train on the Red Line arrives every eight minutes during rush hour. We are interested in the length of time...
A random number generator picks a number from 18 to 64 in a uniform manner. Round...
A random number generator picks a number from 18 to 64 in a uniform manner. Round answers to 4 decimal places when possible. The mean of the distribution is: The standard deviation is: The probability that the number will be exactly 20 is P(x = 20) = The probability that the number will be between 24 and 26 is P(24 < x < 26) = The probability that the number will be larger than 32 is P(x > 32) =...
Collect the Data: Use a random number generator to generate 50 values between 0 and 1...
Collect the Data: Use a random number generator to generate 50 values between 0 and 1 (inclusive). Theoretical Distribution In words, X = The theoretical distribution of X is X ~ U(0, 1). In theory, based upon the distribution X ~ U(0, 1), find μ = __________ σ = __________ 1st quartile = __________ 3rd quartile = __________ median = __________ Construct a box plot of the data. Be sure to use a ruler to scale accurately and draw straight...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT