Question

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 Kolmogorov—Smirnov test.

Homework Answers

Answer #1

The test has been done with help of R software.

Accoring to Kolmogorov Smirnov test, the p-value comes out to be 0.4097 and it indicates that there is sufficient evidence that there is a randomeness in the given data.

R code:

####### Test for Randomness #######################
x<-c(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)
ks.test(x,"punif",1,40)
###### The End ####################################
Output:

> ####### Test for Randomness #######################
> x<-c(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)
> ks.test(x,"punif",1,40)

One-sample Kolmogorov-Smirnov test

data: x
D = 0.14038, p-value = 0.4097
alternative hypothesis: two-sided

Warning message:
In ks.test(x, "punif", 1, 40) :
ties should not be present for the Kolmogorov-Smirnov test
> ###### The End ####################################
>

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
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: a graphical method.
The results of a sample of 372 subscribers toWiredmagazine shows the time spent using the Internet...
The results of a sample of 372 subscribers toWiredmagazine shows the time spent using the Internet during the week. Previous surveys have revealed that the population standard deviation is 10.95 hours. The sample data can be found in the Excel test data file. What is the probability that another sample of 372 subscribers spends less than 19.00 hours per week using the Internet? Develop a 95% confidence interval for the population mean If the editors of Wiredwanted to have the...
____________________________________________ The results of a sample of 372 subscribers to Wired magazine shows the time spent...
____________________________________________ The results of a sample of 372 subscribers to Wired magazine shows the time spent using the Internet during the week. Previous surveys have revealed that the population standard deviation is 10.95 hours. The sample data can be found in the Excel test data file. What is the probability that another sample of 372 subscribers spends less than 19.00 hours per week using the Internet? ____________________________________________ Develop a 95% confidence interval for the population mean ____________________________________________ If the editors...
We want to compare the average gas mileage of American-made cars vs. Japanese-made cars. The claim...
We want to compare the average gas mileage of American-made cars vs. Japanese-made cars. The claim is that the Japanese cars and American cars do not get the same gas mileage. Use the list data below to test the hypothesis that the Japanese cars and American cars do not get the same gas mileage. The American cars are in list1 and the Japanese cars in list2 below We do not know whether the mileages are normally distributed or not, but...
Dataset: Husband   Wife 53   50 38   34 46   44 30   36 31   23 26   31 29  ...
Dataset: Husband   Wife 53   50 38   34 46   44 30   36 31   23 26   31 29   25 48   51 65   46 29   26 28   23 29   32 25   22 22   21 21   24 43   50 24   27 38   33 33   26 35   29 40   29 27   25 27   24 49   38 48   39 27   27 26   24 40   34 35   37 21   26 32   39 30   28 60   52 36   40 25   23 66   55 52   34 41   40 43  ...
6. Using the class data (see Blackboard file - "Class Survey Data - PSS-10 and GAS")...
6. Using the class data (see Blackboard file - "Class Survey Data - PSS-10 and GAS") calculate the correlation between the GAS – Goal disengagement and the GAS – Goal reengagement scores. Write the results in a statistical statement. 7. Using the class data calculate the correlation between the GAS – Goal disengagement and the PSS-10 scores. Write the results in a statistical statement. 8. Using the class data calculate the correlation between the GAS – Goal reengagement scores and...
descriptive statistics for the given data 4 8 18 20 21 22 23 24 25 26...
descriptive statistics for the given data 4 8 18 20 21 22 23 24 25 26 27 28 29 30 31 31 32 32 33 33 34 35 36 37 38 39 47 53
Greene and Touchstone conducted a study to relate birth weight and Estriol level in pregnant women...
Greene and Touchstone conducted a study to relate birth weight and Estriol level in pregnant women as given in Table-1: Table: 1 Sample Data from Greene and Touchstone study relating birth weight and estriol. i Estriol (mg/24 hr) xi Birth weight(g/100) yi i Estriol (mg/24 hr) xi Birth weight(g/100) yi 1 7 25 17 17 32 2 9 25 18 25 32 3 9 25 19 27 34 4 12 27 20 15 34 5 14 27 21 15 34...
A manufacturing company is purchasing metal pipes of standard length from two different suppliers, ABC and...
A manufacturing company is purchasing metal pipes of standard length from two different suppliers, ABC and XYZ. In the past two months there are increasing complaints by the Production Manager that delivery times by ABC present higher variability in comparison to the delivery times by XYZ. The Production Manager is worried that this variability will make it harder to efficiently schedule the production process. If the variance of XYZ remains unchanged, what should be the variance of ABC in order...
selling price in $ frequency 12- 15 8 16-19 23 20-23 17 24-27 18 28-31 8...
selling price in $ frequency 12- 15 8 16-19 23 20-23 17 24-27 18 28-31 8 32-35 4 36-39 2 1.calculate the average selling price 2.calculate the median 3. construct a histogram 4. Describe the data
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT