Suppose that the production function is given by Y=K^(1/2)L^(1/2)
a. Derive the steady state levels of capital per worker and output
per worker in terms of the saving rate, s, and the depreciation
rate, δ.
b. Suppose δ = 0.05 and s = 0.2. Find out the steady state output
per worker.
c. Suppose δ = 0.05 but s increases to 0.5. Find out the steady
state output per worker and compare your result with your answer in
part b. Explain the intuition behind your results.
In: Economics
1) After taking an aliquot of your cells and diluting them with Trypan Blue in a 1:1 dilution, you load the cell/Trypan mixture onto a hemocytometer to count the cells.
You obtain the following counts:
| Quadrant | Transparent cells | Blue cells |
| 1 | 65 | 2 |
| 2 | 71 | 4 |
| 3 | 68 | 1 |
| 4 | 73 | 3 |
| 5 | 67 | 2 |
What is the average number of Trypan-diluted cells per quadrant?
2) Now, take into consideration the Trypan Blue dilution. What is the more concentrated number of cells per quadrant?
3) What is the volume in each quadrant of a hemocytometer?
4) What is the cell density (concentration) of the cells (cells/mL)?
5) If your original cell culture (the one you took an aliquot from to count) has 13 mL of cell suspension, what is the total number of cells you have in culture?
In: Biology
) Use functions and arrays to complete the following programs. Requirements: • You should use the divide-and-conquer strategy and write multiple functions. • You should always use arrays for the data sequences. • You should always use const int to define the sizes of your arrays. a. Write a C++ program. The program first asks the user to enter 4 numbers to form Sequence 1. Then the program asks the user to enter 8 numbers to form Sequence 2. Finally, the program shall tell which sequence has a larger average. For example, if the user enters 3 4 5 6 for Sequence 1, and 0 1 2 3 4 5 6 7 for Sequence 2. Your program should know the average of Sequence 1 is 4.5, and the average of Sequence 2 is 3.5. Therefore, your program should conclude that Sequence 1 has a larger average.
In: Computer Science
Suppose your firm is considering investing in a project with the cash flows shown below. The required rate of return is 8%. What is the Net Present Value (NPV) of the project? Should the project be accepted or rejected based on the NPV criteria? Choose 1,2,3, or 4
|
Year |
0 |
1 |
2 |
3 |
4 |
5 |
|
Cash Flow |
$ -96,000 |
$ 24,800 |
$ 42,300 |
$ 31,500 |
$ 11,900 |
$33,700 |
1 - NPV = $19,916.62, accept the project since NPV > 0;
2 - NPV = $19,916.62, reject the project since NPV < initial cost of $96,000;
3 - NPV = $116,916.62, reject the project since NPV > initial cost of $96,000;
4 - NPV = $115,916.62, accept the project since NPV > 0.
Refering to the above question, what is the Internal Rate of Return (IRR)? Should the project be accepted or rejected based on the IRR criteria? Choose 1,2,3, or 4
1 - 15.82% , accept the project since IRR > the discount rate;
2 - 15.82%, reject the project since IRR > the discount rate;
3 - 7.91%, accept the project since IRR < the discount rate;
4 - 7.91%, reject the project since IRR < the discount rate.
Refering to the above question, assume the maximum allowable Discounted Payback (DPB) period is 4 years. What is the discount payback period? Should the project be accepted or rejected based on the DPB criteria? Choose 1,2,3, or 4
1 - 4.13 years, reject the project since DPB > 4 years
2 - 4.13 years, accept the project since DPB > 4 years
3 - 4.87 years, reject the project since DPB > 4 years
4 - 4.87 years, accept the project since DPB > 4 years
In: Finance
*****************PLEASE GIVE THE CODE IN RACKET PROGRAMMING ONLY AND MAKE SURE THE CODE RUNS ON WESCHEME IDE***************
Write a recursive Racket function "sum-diff" that takes two lists of integers that are the same length and evaluates to an integer. The resulting integer should be the sum of the absolute value of the differences between each pair of integers with the same index in the two lists. For example (sum-diff '(-1 -2 -3) '(1 2 3)) should evaluate to 12 because the absolute value of the differences between (-1 and 1), (-2 and 2) and (-3 and 3) are 2, 4, and 6, and 2+4+6=12. Note: (abs n) evaluates to the absolute value of n. Also, if the lists are empty the sum should be 0
In: Computer Science
Complete the following four hypotheses, using α = 0.05 for each.
a. Mean sales per week exceeds 41.5 per salesperson
b. Proportion receiving online training is less than 55%
c. Mean calls made among those with no training is less than 145
d. Mean time per call is greater than 15 minutes
1. Using the same data set from part A, perform the hypothesis test for each speculation in order to see if there is evidence to support the manager's belief. Use the Seven Elements of a Test of Hypothesis from Section 7.1 of your text book, as well as the p-value calculation from Section 7.3, and explain your conclusion in simple terms.
2. Compute 99% confidence intervals for each of the variables described in a.-d., and interpret these intervals.
3. Write a report about the results, distilling down the results in a way that would be understandable to someone who does not know statistics. Clear explanations and interpretations are critical.
- Summary Report (about one paragraph on each of the speculations a.- d.)
- Appendix with the calculations of the Seven Elements of a Test of Hypothesis, the p-values, and the confidence intervals. Include the Excel formulas used in the calculations.
| Sales (Y) | Calls (X1) | Time (X2) | Years (X3) | Type |
| 20 | 210 | 8.0 | 1 | NONE |
| 32 | 139 | 16.9 | 4 | NONE |
| 44 | 165 | 15.7 | 3 | ONLINE |
| 47 | 186 | 13.5 | 3 | ONLINE |
| 41 | 180 | 14.0 | 2 | ONLINE |
| 35 | 150 | 13.0 | 4 | ONLINE |
| 32 | 120 | 19.9 | 3 | NONE |
| 46 | 172 | 14.7 | 3 | GROUP |
| 42 | 161 | 13.2 | 1 | GROUP |
| 33 | 143 | 15.4 | 3 | NONE |
| 42 | 181 | 11.5 | 4 | ONLINE |
| 55 | 160 | 17.0 | 3 | NONE |
| 42 | 140 | 17.5 | 2 | GROUP |
| 41 | 198 | 13.2 | 2 | ONLINE |
| 41 | 149 | 17.3 | 0 | ONLINE |
| 44 | 168 | 11.0 | 5 | ONLINE |
| 36 | 121 | 18.0 | 2 | NONE |
| 30 | 125 | 11.0 | 5 | ONLINE |
| 38 | 135 | 18.5 | 1 | GROUP |
| 21 | 185 | 18.9 | 2 | ONLINE |
| 67 | 155 | 17.9 | 1 | NONE |
| 45 | 149 | 13.5 | 1 | ONLINE |
| 52 | 193 | 13.7 | 5 | ONLINE |
| 37 | 159 | 18.1 | 0 | NONE |
| 33 | 152 | 15.0 | 3 | GROUP |
| 31 | 170 | 14.3 | 4 | GROUP |
| 44 | 192 | 16.7 | 1 | GROUP |
| 44 | 165 | 12.4 | 3 | ONLINE |
| 39 | 150 | 15.3 | 3 | GROUP |
| 43 | 174 | 12.7 | 2 | ONLINE |
| 42 | 168 | 16.4 | 0 | ONLINE |
| 49 | 178 | 15.1 | 3 | ONLINE |
| 41 | 164 | 17.8 | 3 | GROUP |
| 40 | 191 | 19.0 | 5 | ONLINE |
| 37 | 132 | 10.0 | 0 | NONE |
| 36 | 140 | 15.7 | 1 | NONE |
| 46 | 171 | 14.9 | 5 | ONLINE |
| 41 | 170 | 12.3 | 0 | ONLINE |
| 49 | 153 | 19.0 | 3 | GROUP |
| 42 | 154 | 14.3 | 2 | GROUP |
| 37 | 142 | 13.9 | 3 | NONE |
| 37 | 130 | 16.9 | 2 | NONE |
| 21 | 177 | 17.0 | 0 | ONLINE |
| 39 | 160 | 14.3 | 4 | NONE |
| 44 | 134 | 19.4 | 5 | GROUP |
| 49 | 131 | 14.6 | 1 | GROUP |
| 35 | 130 | 19.4 | 4 | NONE |
| 46 | 183 | 15.4 | 4 | ONLINE |
| 43 | 169 | 14.0 | 5 | GROUP |
| 41 | 155 | 16.0 | 2 | ONLINE |
| 48 | 182 | 13.0 | 2 | ONLINE |
| 39 | 140 | 12.4 | 1 | NONE |
| 40 | 157 | 15.4 | 1 | ONLINE |
| 48 | 167 | 14.8 | 3 | ONLINE |
| 50 | 144 | 15.8 | 2 | NONE |
| 44 | 168 | 12.4 | 2 | GROUP |
| 43 | 175 | 13.6 | 5 | GROUP |
| 33 | 150 | 14.9 | 2 | GROUP |
| 32 | 155 | 17.9 | 1 | GROUP |
| 46 | 163 | 16.6 | 2 | ONLINE |
| 48 | 162 | 14.5 | 4 | GROUP |
| 56 | 189 | 15.0 | 3 | ONLINE |
| 44 | 153 | 15.3 | 2 | ONLINE |
| 34 | 158 | 14.2 | 3 | ONLINE |
| 43 | 160 | 10.9 | 4 | ONLINE |
| 33 | 173 | 17.5 | 1 | ONLINE |
| 49 | 178 | 18.3 | 2 | GROUP |
| 50 | 189 | 14.3 | 1 | ONLINE |
| 52 | 184 | 11.4 | 4 | ONLINE |
| 45 | 174 | 13.6 | 2 | ONLINE |
| 48 | 188 | 13.6 | 0 | ONLINE |
| 35 | 149 | 15.6 | 1 | GROUP |
| 44 | 159 | 14.6 | 2 | GROUP |
| 44 | 160 | 14.8 | 2 | ONLINE |
| 67 | 166 | 18.9 | 1 | GROUP |
| 51 | 178 | 16.5 | 1 | ONLINE |
| 41 | 178 | 13.4 | 2 | ONLINE |
| 40 | 176 | 12.6 | 1 | ONLINE |
| 45 | 138 | 15.3 | 2 | NONE |
| 41 | 159 | 18.8 | 2 | ONLINE |
| 40 | 145 | 14.7 | 2 | NONE |
| 47 | 151 | 16.6 | 2 | GROUP |
| 48 | 186 | 14.2 | 1 | ONLINE |
| 42 | 194 | 13.6 | 2 | ONLINE |
| 41 | 152 | 14.5 | 4 | GROUP |
| 29 | 145 | 19.0 | 2 | NONE |
| 48 | 188 | 11.3 | 2 | ONLINE |
| 33 | 139 | 19.3 | 3 | GROUP |
| 48 | 201 | 12.5 | 1 | ONLINE |
| 45 | 156 | 13.2 | 3 | GROUP |
| 36 | 131 | 18.5 | 2 | NONE |
| 43 | 161 | 17.3 | 3 | ONLINE |
| 42 | 152 | 14.6 | 1 | ONLINE |
| 49 | 178 | 16.4 | 2 | ONLINE |
| 50 | 157 | 15.9 | 3 | GROUP |
| 42 | 154 | 15.3 | 1 | GROUP |
| 44 | 156 | 20.0 | 0 | ONLINE |
| 45 | 170 | 14.2 | 1 | ONLINE |
| 48 | 170 | 17.4 | 5 | ONLINE |
| 39 | 144 | 17.7 | 3 | NONE |
In: Statistics and Probability
For planning purposes, senior executives at a large national clothing maker and retailer need to understand and forecast quarterly sales revenue. The available data are contained in the table attached below. The data is in units of hundreds of millions of dollars ($100M).
You have been tasked with describing the historical data and with developing preliminary forecasts for 2018 based on the historical data from the first quarter of 2011 (quarter 1) through the last quarter of 2017 (quarter 28).
| Year | Qtr | revenue ($M) |
| 2011 | 1 | 5.889 |
| 2 | 6.141 | |
| 3 | 8.272 | |
| 4 | 9.302 | |
| 2012 | 1 | 6.436 |
| 2 | 6.932 | |
| 3 | 8.987 | |
| 4 | 10.602 | |
| 2013 | 1 | 7.517 |
| 2 | 7.731 | |
| 3 | 9.883 | |
| 4 | 12.098 | |
| 2014 | 1 | 8.487 |
| 2 | 8.685 | |
| 3 | 11.559 | |
| 4 | 15.221 | |
| 2015 | 1 | 11.132 |
| 2 | 11.203 | |
| 3 | 13.83 | |
| 4 | 16.979 | |
| 2016 | 1 | 12.312 |
| 2 | 13.452 | |
| 3 | 17.659 | |
| 4 | 21.655 | |
| 2017 | 1 | 17.197 |
| 2 | 19.05 | |
| 3 | 22.499 | |
| 4 | 25.629 |
a. Perform a linear time series regression (“Trend Analysis” in Minitab or “Trendline” in Excel) of the historical data using excel or minitab
b. State the equation of the fitted regression line.
c. On the basis of this regression analysis, calculate and state the sales revenue forecasts for all four quarters of 2018.
d. Calculate and state the RMSE of this simple linear regression. [Hint: Different from forecasting, for regression RMSE = ?SSE/?(n-2).]
e. Calculate and state the forecast values for all four quarters of 2018 by the following time series decompositions. Perform the time series decompositions in Minitab. (Go to Stat > Time Series > Decomposition; for all decompositions, set the seasonal length)
e1. Additive with seasonal only.
e2. Additive with trend plus seasonal.
e3. Multiplicative with seasonal only.
e4. Multiplicative with trend plus seasonal.
e5. On the basis of the Minitab time series decomposition plots, do you recommend forecasting with the trend component alone (as you were asked to do in part d above), the seasonal component alone (parts e(1) and e(3), or with both the trend and seasonal components together (parts e(2) and e(4). Briefly state why.
f. Calculate and state the accuracy of each of the forecasting methods in part e using the RMSE as the measure. (Note: MSE is stated on the Minitab graphs as “MSD.” RMSE is the square root of this value.)
f1. Which is the most accurate method of the decomposition methods used in part e? Briefly state why.
f2. What are the most accurate forecasts? Briefly state why
In: Statistics and Probability
Use the Spearman's rank correlation coefficient at the 0.05 CI to investigate the relation between two variables X and Y below.
|
X |
Y |
|
97 |
0 |
|
93 |
0 |
|
90 |
1 |
|
86 |
1 |
|
82 |
0 |
|
177 |
4 |
|
171 |
1 |
|
155 |
3 |
|
142 |
1 |
|
141 |
1 |
|
60 |
4 |
|
55 |
1 |
|
29 |
0 |
|
26 |
0 |
|
20 |
0 |
|
12 |
0 |
|
133 |
1 |
|
126 |
0 |
|
125 |
4 |
|
123 |
1 |
|
119 |
1 |
|
117 |
2 |
In: Statistics and Probability
A study was performed to test whether cars get better fuel consumption on premium petrol than on regular petrol. Each of ten 6-cylinder cars was first filled with either regular or premium, decided by a coin toss, and the fuel consumption for that tank was recorded. The consumption was recorded again for the same cars using the other kind of petrol. A lower fuel consumption figure in litres/100km is better fuel consumption
A second test was conducted using ten 4-cylinder cars and the difference between Regular and Premium fuel consumption for 4 cylinder cars is included in the table below.
Part 1. Consider the information given about the experimental design, and test if fuel consumption in litres/100km is better (ie lower) using premium instead of regular for 6cyl cars?
Define the parameter(s) involved (1 mark)
Parameter is the proportion of 6 cylinder cars/fuel consumption
State the Null and Alternate hypotheses
Ho:
What assumption(s) is/are required to perform this test? (You can assume any required assumptions have been met) (1 mark)
Consider the two charts below. Using the appropriate chart for your test, what is i) the range of the p-value, ii) your decision regarding H0, and iii) your conclusion about fuel consumption?
Calculate and Interpret a 95% Confidence Interval for the population parameter. The relevant critical value is 2.262
|
6cyl Car |
Regular |
Premium |
6 cyl Diff = R-P |
4cyl Car |
4 cyl Diff = R-P |
|
|
1 |
15 |
12 |
3 |
1 |
3 |
|
|
2 |
12 |
11 |
1 |
2 |
1 |
|
|
3 |
11 |
10 |
1 |
3 |
3 |
|
|
4 |
11 |
10 |
1 |
4 |
3 |
|
|
5 |
10 |
9 |
1 |
5 |
2 |
|
|
6 |
11 |
9 |
2 |
6 |
2 |
|
|
7 |
9 |
9 |
0 |
7 |
2 |
|
|
8 |
9 |
9 |
0 |
8 |
2 |
|
|
9 |
9 |
8 |
1 |
9 |
2 |
|
|
10 |
8 |
7 |
1 |
10 |
1 |
|
|
Means |
10.5 |
9.4 |
1.1 |
2.1 |
In: Statistics and Probability
write a python program that include a function named activity_selection() and take in two arguments, first one would be the number of tasks and the second argument would be a list of activities. Each activity would have an activity number, start time and finish time.
Example activity_selection input and output:
activity_selection (11, [[1, 1, 4 ], [2, 3, 5], [3, 0, 6], [4, 5, 7], [5, 3, 9], [6, 5, 9],[7, 6, 10], [ 8, 8, 11], [ 9, 8, 12], [10, 2, 14], [11, 12, 16] ]
In the above example the first activity set contains 11 activities with activity 1 starting at time 1 and finishing at time 4, activity 2 starting at time 3 and finishing at time 5, etc. The activities are not in any sorted order. Your results including the number of activities selected and their order should be outputted to the terminal. For the above example the results are: Number of activities selected = 4 Activities: 2 4 9 11
Note: There can be multiple optimal solutions.
please comments the program.
In: Computer Science