Question

Below is a sample of the times (in minutes) 12 people waited in line to buy...

Below is a sample of the times (in minutes) 12 people waited in line to buy coffee:

5 5 10 8 7 1 6 2 8 7 12 13

Please use R to read in data as a vector.

h-i) Report the summary from the R output.

h-ii) Using R, draw the boxplot of this data (you may use boxplot( ) command). Include the R code and the resulting boxplot in your answer.

Homework Answers

Answer #1

Please use R to read in data as a vector.

data is read into a vector x

> x=c(5,5,10,8,7,1,6,2,8,7,12,13)
> x
[1] 5 5 10 8 7 1 6 2 8 7 12 13

h-i) Report the summary from the R output.
> summary(x)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1.0 5.0 7.0 7.0 8.5 13.0

h-ii) Using R, draw the boxplot of this data (you may use boxplot( ) command). Include the R code and the resulting boxplot in your answer.

>boxplot(x)

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
A = [1 2 3 4 5 6 7 8 9 10 11 12 13 14...
A = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20] In MATLAB. Use a fully vectorized code (ie. no loops) to determine when the numbers have increased to at least 15 in the above array. Report answer to command window.
Using R and the data in the table below, perform the regression of D on C...
Using R and the data in the table below, perform the regression of D on C (i.e., report the regression equation). Hint: The code to enter the vectors C and D into R is: C <- c(3, 6, 8, 9, 1, 3) D <- c(2, 7, 5, 4, 0, 4) C D 3 2 6 7 8 5 9 4 1 0 3 4 You must figure out how to obtain the regression equation from R. Enter the code below...
A professor has a teaching assistant record the amount of time (in minutes) that a sample...
A professor has a teaching assistant record the amount of time (in minutes) that a sample of 16 students engaged in an active discussion. The assistant observed 8 students in a class who used a slide show presentation and 8 students in a class who did not use a slide show presentation. With Microsoft PowerPoint Without Microsoft PowerPoint 18 4 21 5 13 23 15 9 8 12 11 7 19 14 10 6 Use the normal approximation for the...
A professor has a teaching assistant record the amount of time (in minutes) that a sample...
A professor has a teaching assistant record the amount of time (in minutes) that a sample of 16 students engaged in an active discussion. The assistant observed 8 students in a class who used a slide show presentation and 8 students in a class who did not use a slide show presentation. With Microsoft PowerPoint Without Microsoft PowerPoint 12 13 4 15 7 18 11 19 10 14 23 8 9 21 5 6 Use the normal approximation for the...
12. In a study of memory recall, 5 people were given 10 minutes to memorize a...
12. In a study of memory recall, 5 people were given 10 minutes to memorize a list of 20 words. Each was asked to list as many of the words as he or she could remember both 1 hour and 24 hours later. The result is shown in the following table. Assume we want to use a 0.05 significance level in your analysis. The research question is: Do students recall significantly more words after 1 hour than after 24 hours...
A professor has a teaching assistant record the amount of time (in minutes) that a sample...
A professor has a teaching assistant record the amount of time (in minutes) that a sample of 16 students engaged in an active discussion. The assistant observed 8 students in a class who used a slide show presentation and 8 students in a class who did not use a slide show presentation. With Microsoft PowerPoint Without Microsoft PowerPoint 10 12 23 6 9 7 11 8 18 15 5 13 21 19 14 4 Use the normal approximation for the...
A random sample of 12 college students were surveyed on their social activities. Students were asked...
A random sample of 12 college students were surveyed on their social activities. Students were asked to state how many times during the previous year they had gone to the movies or sporting events. Student 1 2 3 4 5 6 7 8 9 10 11 12 Movies 12 2 13 17 14 9 24 6 26 22 10 16 Sports 7 4 13 4 9 15 18 4 11 9 5 2 Difference (movies – sports) Once you have...
2) Now read the following data into R. Use R for all statistical procedures. Sample Sample...
2) Now read the following data into R. Use R for all statistical procedures. Sample Sample A B 0.7969 1.4731 1.2669 3.2137 1.5856 2.2486 0.4959 1.1156 0.5022 10.6207 0.5524 1.9835 10.3060 31.2243 0.6244 3.7984 1.9789 1.4710 1.6788 9.0351 (a) Make q-q plots of both samples. (b) Perform a t-test (unequal variances). (c) Perform a MWU test. (d) Which test gave you the better p-value now? Why? (e) What is a “better” p-value? Why? 3) You measure the length of 5...
15.3.6 The copper content of a plating bath is measured three times per day, and the...
15.3.6 The copper content of a plating bath is measured three times per day, and the results are reported in ppm. The x‾ and r values for 25 days are shown in the following table: Day x‾ r  1 5.45 1.21  2 5.39 0.95  3 6.85 1.43  4 6.74 1.29  5 5.83 1.35  6 7.22 0.88  7 6.39 0.92  8 6.50 1.13  9 7.15 1.25 10 5.92 1.05 11 6.45 0.98 12 5.38 1.36 13 6.03 0.83 14 7.01 1.45...
You can complete this assignment individually or as a group of two people. In this assignment...
You can complete this assignment individually or as a group of two people. In this assignment you will create a ​​Sorted Singly-Linked List​ that performs basic list operations using C++. This linked list should not allow duplicate elements. Elements of the list should be of type ‘ItemType’. ‘ItemType’ class should have a private integer variable with the name ‘value’. Elements in the linked list should be sorted in the ascending order according to this ‘value’ variable. You should create a...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT