The parking authority in downtown Halifax reported the following information for a sample of 260 customers on the number of hours cars are parked and the amount they are charged:
| Number of Hours | Frequency | Amount Charged |
| 1 | 15 | $2 |
| 2 | 44 | 4 |
| 3 | 63 | 6 |
| 4 | 49 | 8 |
| 5 | 38 | 10 |
| 6 | 13 | 14 |
| 7 | 7 | 18 |
| 8 | 31 | 20 |
| Total | 260 | |
a-1. Convert the information on the number of hours parked to a probability distribution. (Round the final answers to 3 decimal places.)
| Hours | Probability |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
a-2. Is this a discrete or a continuous probability distribution?
(Click to select) Discrete Continuous
b-1. Find the mean and the standard deviation of the number of hours parked. (Round the final answers to 3 decimal places.)
Mean
Standard deviation
b-2. How would you answer the question, how long is a typical customer parked? (Round the final answer to 3 decimal places.)
The typical customer is parked for hours.
c. Find the mean and standard deviation of the amount charged. (Round the final answers to 2 decimal places.)
Mean
Standard deviation
In: Statistics and Probability
Restaurant X Restaurant Y
85 104
117 130
119 149
151 119
262 174
183 130
125 114
148 127
157 129
216 130
336 129
308 141
175 227
111 209
151 294
145 123
92 93
233 138
235 240
181 146
155 140
196 206
164 147
120 146
60 134
203 146
181 157
114 131
136 167
174 130
184 238
194 238
227 252
194 234
350 234
307 165
210 88
198 104
183 51
185 168
103 77
147 148
176 144
161 101
172 122
155 144
168 126
119 184
140 154
312 126
Refer to the accompanying data set of mean drive-through service times at dinner in seconds at two fast food restaurants. Construct a 99% confidence interval estimate of the mean drive-through service time for Restaurant X at dinner; then do the same for Restaurant Y. Compare the results.
In: Statistics and Probability
Suppose you heard from a friend that only 75% of people pass Math 1044. In disbelief, you poll 50 randomly selected Math 1044 students and find that 43 of them passed. Answer the following questions with a significance threshold of α = 0.05. You may assume the success-failure conditions hold.
(a) What is the null hypothesis, H0, for this experiment?
(b) What are two valid alternative hypotheses, Ha for this experiment?
(c) Compute the p-value for this experiment using a one-tailed test.
(d) Would we accept or reject H0 using the one-tailed p-value? Justify.
(e) Compute the p-value for this experiment using a two-tailed test.
(f) Would we accept or reject H0 using the two-tailed p-value? Justify.
In: Statistics and Probability
Susan is a paralegal in a one attorney office. She works for Mr. Robert Sharky. One Friday afternoon, attorney Sharky left early to take a flight to Las Vegas. He planned to be back on Monday. Bob Jones, one of the firm’s divorce clients, runs into the office and tells Susan he just shot his ex-wife when she came at him with a knife after an argument. He throws the smoking gun on the desk and asks Susan to hide it for him. Susan takes the gun and puts it into her desk drawer and locks the drawer. She plans to discuss the issue with her attorney when he gets back from his vacation on Monday. She tells Bob that the firm can help him avoid jail time since the wife instigated it and Bob shot her in self-defense. Bob leaves.
That night Susan joins her friends for happy hour and tells them about what happened but she does not mention Bob’s name. After Susan tells the story, a news flash comes on the television at the bar and the story says the suspect in the wife shooting is Bob.
Use the American Bar Association Model Rules of Professional Conduct or the state of GA ethics rules and spot all the issues in this scenario. What did Susan do wrong and what rules did she violate? Should she have informed the police?
In: Operations Management
Stock trades at $50. An at the money call option trades at $4. The maturity of the option is two years. The present value of the strike price over the two years is $45. The stock pays a dividend of 3 dollars in one year and no other dividends prior to expiration. The present value of the dividend is $2. The price of the European call option is $5. The price of the European put is $1.0. Construct a strategy that guarantees riskless arbitrage profits. Provide full details of the strategy and identify the minimum and maximum possible profits.
In: Finance
Two identical conducting spheres, fixed in place, attract each other with an electrostatic force of -0.3675 N when separated by 50 cm, center-to-center. The spheres are then connected by a thin conducting wire. When the wire is removed, the spheres repel each other with an electrostatic force of 0.3129 N. What were the initial charges on the spheres? Since one is negative and you cannot tell which is positive or negative, there are two solutions. Take the absolute value of the charges and enter the smaller value here.
In: Physics
1. A trainer is studying the effects of vitamin D on his athletes. He has realized that there are many potential confounding factors, such as gender and age. To limit the effect of these confounding variables, he decided to first group two athletes together based on these variables (for example, two 21-year-old males). Then he randomly assigned one person to receive the vitamin D and the other to receive a sugar pill.
What type of experimental design does this situation demonstrate?
Matched-Pair Design
Randomized Block Design
Completely Randomized Design
Simple Random Design
2. Jay wants to study nutrition and performance in schools using available data.
Which of the scenarios below will provide Jay with available data?
Going to a local high school and asking the principal for information about students' previous grades, then interviewing a random selection of students about their eating habits.
Going to a local high school and asking the principal for information about students' current and previous grades, then asking the health teacher for the results from a survey students took in health class.
Going to a local high school and asking the principal for information about students' current and previous grades, then interviewing a random selection of students about their eating habits.
Going to a local college and asking current undergraduates to report their grades and eating habits from high school.
3. Dave drives to work. While driving the car over nine days, he observes his daily average speed and lists it in the table below.
| Day | Average Speed (MPH) |
|---|---|
| 1 | 45 |
| 2 | 62 |
| 3 | 44 |
| 4 | 70 |
| 5 | 59 |
| 6 | 66 |
| 7 | 54 |
| 8 | 63 |
| 9 | 67 |
The median speed at which Dave drove to work was __________.
59 miles per hour
63 miles per hour
58.89 miles per hour
62 miles per hour
In: Statistics and Probability
Omni Enterprises is considering whether to borrow funds and purchase an asset or to lease the asset under an operating lease arrangement. If it purchases the asset, the cost will be $10,000. It can borrow funds for four years at 12 percent interest. The asset will qualify for a 25 percent CCA. Assume a tax rate of 35 percent.
The other alternative is to sign two operating leases, one with payments of $2,600 for the first two years and the other with payments of $4,600 for the last two years. In your analysis, round all values to the nearest dollar. The leases would be treated as operating leases. If the objective is to minimize the present value of after-tax costs, which alternative should be selected?
In: Accounting
using c++
10. Sorting Orders
Write a program that uses two identical arrays of eight integers.
It should display the contents
of the first array, then call a function to sort it using an
ascending order bubble sort, modified
to print out the array contents after each pass of the sort. Next
the program should display the
contents of the second array, then call a function to sort it using
an ascending order selection
sort, modified to print out the array contents after each pass of
the sort.
test case:
Bubble Sort The unsorted values are: 7 2 3 8 4 5 6 1 sort pass #1 : 2 7 3 8 4 5 6 1 sort pass #2 : 2 3 7 8 4 5 6 1 sort pass #3 : 2 3 7 4 8 5 6 1 sort pass #4 : 2 3 7 4 5 8 6 1 sort pass #5 : 2 3 7 4 5 6 8 1 sort pass #6 : 2 3 7 4 5 6 1 8 sort pass #7 : 2 3 4 7 5 6 1 8 sort pass #8 : 2 3 4 5 7 6 1 8 sort pass #9 : 2 3 4 5 6 7 1 8 sort pass #10 : 2 3 4 5 6 1 7 8 sort pass #11 : 2 3 4 5 1 6 7 8 sort pass #12 : 2 3 4 1 5 6 7 8 sort pass #13 : 2 3 1 4 5 6 7 8 sort pass #14 : 2 1 3 4 5 6 7 8 sort pass #15 : 1 2 3 4 5 6 7 8 The sorted values are: 1 2 3 4 5 6 7 8 Selection Sort The unsorted values are: 7 2 3 8 4 5 6 1 sort pass #1 : 1 2 3 8 4 5 6 7 sort pass #2 : 1 2 3 8 4 5 6 7 sort pass #3 : 1 2 3 8 4 5 6 7 sort pass #4 : 1 2 3 4 8 5 6 7 sort pass #5 : 1 2 3 4 5 8 6 7 sort pass #6 : 1 2 3 4 5 6 8 7 sort pass #7 : 1 2 3 4 5 6 7 8 The sorted values are: 1 2 3 4 5 6 7 8
In: Computer Science
1. Using the Data Set, create and calculate the following in Excel®:
Determine the range of values in which you would expect to find the average weekly sales for the entire sales force in your company 90% of the time, and calculate the following:
A. The impact of increasing the confidence level to 95%
B. The impact of increasing the sample size to 150, assuming the same mean and standard deviation, but allowing the confidence level to remain at 90%
Data Set:
| SAMPLE OF WEEKLY SALES | |||||||
| Sales Rep # | AverageWeekly Sales($) | Week # | Weekly Sales($) - Rep A | Weekly Sales($) - Rep B | |||
| 1 | 1228 | 1 | 4657 | 5839 | |||
| 2 | 7374 | 2 | 6133 | 2602 | |||
| 3 | 1055 | 3 | 3438 | 2830 | |||
| 4 | 1859 | 4 | 7394 | 4763 | |||
| 5 | 3938 | 5 | 4327 | 3740 | |||
| 6 | 1692 | 6 | 2552 | 2315 | |||
| 7 | 569 | 7 | 7063 | 1599 | |||
| 8 | 4059 | 8 | 7844 | 1629 | |||
| 9 | 3689 | 9 | 6898 | 2416 | |||
| 10 | 607 | 10 | 4003 | 2107 | |||
| 11 | 1370 | 11 | 6884 | 4237 | |||
| 12 | 3735 | 12 | 4007 | 6322 | |||
| 13 | 3305 | 13 | 7214 | 3710 | |||
| 14 | 7228 | 14 | 2358 | 5890 | |||
| 15 | 6279 | 15 | 7745 | 5119 | |||
| 16 | 1671 | 16 | 1337 | 5184 | |||
| 17 | 5708 | 17 | 1052 | 3439 | |||
| 18 | 2569 | 18 | 6056 | 4828 | |||
| 19 | 4163 | 19 | 1495 | 3667 | |||
| 20 | 1519 | 20 | 3530 | 3518 | |||
| 21 | 7734 | 21 | 4749 | 6073 | |||
| 22 | 784 | 22 | 3833 | 5566 | |||
| 23 | 6766 | 23 | 7869 | 4555 | |||
| 24 | 7261 | 24 | 4541 | 5867 | |||
| 25 | 5034 | 25 | 6882 | 6039 | |||
| 26 | 7115 | 26 | 3868 | 1032 | |||
| 27 | 6291 | 27 | 5934 | 4834 | |||
| 28 | 6287 | 28 | 4447 | 3687 | |||
| 29 | 2080 | 29 | 5504 | 5500 | |||
| 30 | 7621 | 30 | 5554 | 4659 | |||
| 31 | 1047 | ||||||
| 32 | 6517 | ||||||
| 33 | 5172 | ||||||
| 34 | 3876 | ||||||
| 35 | 5429 | ||||||
| 36 | 4538 | ||||||
| 37 | 3786 | ||||||
| 38 | 2510 | ||||||
| 39 | 4863 | ||||||
| 40 | 7246 | ||||||
| 41 | 1175 | ||||||
| 42 | 641 | ||||||
| 43 | 4269 | ||||||
| 44 | 7034 | ||||||
| 45 | 3406 | ||||||
| 46 | 2256 | ||||||
| 47 | 3182 | ||||||
| 48 | 5178 | ||||||
| 49 | 4428 | ||||||
| 50 | 1189 | ||||||
In: Math