4) Finally, you wish to determine if the mean monthly sales of the shirt in the superstores that comprise part of the chain in four regions of the country that you have defined differ from each other. Random samples of the sales of the item in stores chosen from each region are selected. The sample data comprising these sales figures is shown in appendix four below. At the 1% level of significance, are there any differences in the mean monthly sales of the item in the populations of superstores in the four regions of the country? If you do observe that there are differences in the mean monthly sales of the shirt, perform the necessary additional test to ascertain which pairs of stores exhibit different mean sales at the 1% level of significance. Perform the appropriate test to show whether the desired property of homogeneity of variances exists for this study, also at the 1% level of significance
Region
Store One Two Three Four
1 459 282 545 490
2 490 355 588 402
3 421 348 496 397
4 500 389 439 440
5 489 276 476 501
6 540 430 510 375
7 555 387 519 398
8 421 411 483 490
9 489 443 311 355
10 551 477 390 439
11 490 398 430 503
12 401 375 275 622
Q.01,4, 44 = 4.68
In: Statistics and Probability
4) Finally, you wish to determine if the mean monthly sales of the shirt in the superstores that comprise part of the chain in four regions of the country that you have defined differ from each other. Random samples of the sales of the item in stores chosen from each region are selected. The sample data comprising these sales figures is shown in appendix four below. At the 1% level of significance, are there any differences in the mean monthly sales of the item in the populations of superstores in the four regions of the country? If you do observe that there are differences in the mean monthly sales of the shirt, perform the necessary additional test to ascertain which pairs of stores exhibit different mean sales at the 1% level of significance. Perform the appropriate test to show whether the desired property of homogeneity of variances exists for this study, also at the 1% level of significance
Region
Store One Two Three Four
1 459 282 545 490
2 490 355 588 402
3 421 348 496 397
4 500 389 439 440
5 489 276 476 501
6 540 430 510 375
7 555 387 519 398
8 421 411 483 490
9 489 443 311 355
10 551 477 390 439
11 490 398 430 503
12 401 375 275 622
Q.01,4, 44 = 4.68
In: Statistics and Probability
Aydin Ltd uses perpetual inventory in connection with Average costing. The company began the year with zero inventory balance. They had the following transactions during the year: 1 July Purchased 50 units at $3.00 per unit
5 July Sold 10 units at a price of $10.00 per unit
7 July Purchased 130 units at $4.00 per unit
9 July Sold 60 units at a price of $ 11.00 per unit
15 July Purchased 60 units at $5.00 per unit
30 July Sold 50 units at a price of $12.00 per unit
At the end of the year, they counted the inventory and found 125 units remaining. Is this correct? If incorrect, what is the correct number of units remaining in inventory? How much was the Cost of sales for the year? (Round to the nearest whole dollar)
In: Accounting
4 Q5 Total
Marks
8 Marks
8 Marks
8 Marks
8 Marks
8 Marks 40 Marks
Q1: A cantilever beam having span ‘L’ m was subjected to a
uniformly distributed load of magnitude 8 kN/m for a distance of
‘0.6 L’ from the free end and two concentrated loads one of
magnitude 15 kN at a distance ‘0.25 L’ m from the free end while
the other of magnitude ‘22’ kN at a distance ‘0.6 L’ m from the
free end respectively. It was observed that the maximum bending
moment acting on the beam is equal to (-369 kNm). Suggest a
suitable span for the beam based on the loading condition. How it
will change the reaction at the fixed support? What happens to the
shear force and bending moment values at the fixed support, free
end and at the center of the beam? By plotting bending moment and
shear force diagram for the beam briefly conclude the relationship
between the values for shear force and bending moment.
In: Civil Engineering
Type into a character array, or copy from an online source, Lincoln’s Gettysburg Address. Write a C Language Program that will search for the following words and then print out the entire sentence from Lincoln’s Gettysburg Address for every occurrence of each of the specified words:
civil nation nobly people place proper
Your program should search through the Gettysburg Address and find the answers, not pre-load them to print out once a particular word is sought.
This is my current code that I came up with:
#include <stdio.h>
#include <string.h>
int main(void) {
char address[] = "Fourscore and seven years ago our
fathers brought forth on this continent, a new nation, conceived in
Liberty, and dedicated to the proposition that all men are created
equal. Now we are engaged in a great civil war, testing whether
that nation, or any nation so conceived and so dedicated, can long
endure. We are met on a great battlefield of that war. We have come
to dedicate a portion of that field, as a final resting place for
those who here gave their lives that that nation might live. It is
altogether fitting and proper that we should do this. But, in a
larger sense, we cannot dedicate-we cannot consecrate-we cannot
hallow-this ground. The brave men, living and dead, who struggled
here, have consecrated it, far above our poor power to add or
detract. The world will little note, nor long remember what we say
here, but it can never forget what they did here. It is for us the
living, rather, to be dedicated here to the unfinished work which
they who fought here have thus far so nobly advanced. It is rather
for us to be here dedicated to the great task remaining before
us-that from these honored dead we take increased devotion to that
cause for which they gave the last full measure of devotion-that we
here highly resolve that these dead shall not have died in
vain-that this nation, under God, shall have a new birth of
freedom-and that government of the people, by the people, for the
people shall not perish from the earth.";
char line[50], word1 = "civil", word2 = "nation",
word3 = "nobly", word4 = "people", word5 = "place", word6 =
"proper";
int loc, i, j, k=0;
puts("Searching for the sentences that contain the words: civil, nation, nobly, people, place, proper\n");
loc = strstr(address, word1); //searching for
'civil' in the string
if (loc == NULL)
puts("No match found.");
else
printf("%s", line);
loc = strstr(address, word2); //searching
for 'nation' in the string
if (loc == NULL)
puts("No match found.");
else
printf("%s", line);
loc = strstr(address, word3); //searching
for 'nobly' in the string
if (loc == NULL)
puts("No match found.");
else
printf("%s", line);
loc = strstr(address, word4); //searching
for 'people' in the string
if (loc == NULL)
puts("No match found.");
else
printf("%s", line);
loc = strstr(address, word5); //searching
for 'place' in the string
if (loc == NULL)
puts("No match found.");
else
printf("%s", line);
loc = strstr(address, word6); //searching
for 'proper' in the string
if (loc == NULL)
puts("No match found.");
else
printf("%s", line);
return 0;
}
What am I doing wrong here?
In: Computer Science
PHSTAT ONLY!!!
Instructions: Show your complete solution. Simply giving the final answer without showing your calculations will NOT merit any points. If you’re using PhStat or Excel calculations, upload the excel file. You can also cut and paste the Excel work output on a word file, and upload it here.
Given a normal distribution with µ = 47 and σ = 6, what is the probability that:
In: Statistics and Probability
Use the following information for all questions.
The U.S. Census Bureau reported the following unemployment rates (y) associated with the given number of years of education (x).
| Years of Education | Unemployment Rate |
| 5.0 | 16.8 |
| 7.5 | 17.1 |
| 8.0 | 15.3 |
| 10.0 | 20.6 |
| 12.0 | 11.7 |
| 14.0 | 8.1 |
| 16.0 | 3.8 |
5. Which of the following is the equation of the regression line? Round the slope and the y=intercept to two decimal places.
6.a. Interpret the slope of the regression line in a sentence. Be sure to interpret in context for the problem.
6.b. Interpret the y-intercept of the regression line in a sentence or explain why the value is not practical. Be sure to refer to the context of the problem.
7. Predict the unemployment rate for 11 years of education. Round the final answer to one decimal place and give the final answer in a full sentence.
8. a. Find the predicted unemployment rate for 8 years of education. Give the response in a full sentence.
8.b. Find the residual for 8 years of education.
9. Was the predicted value an overestimate or an underestimate or was it exactly equal to the observed value?
a. Underestimate
b. Exactly Equal
c. Overestimate
10. Find the 95% prediction interval for 8 years of education. Round the endpoints to two decimal places.
a. (8.10, 22.50)
b. (11.7,18.9)
c. (9.07, 23.47)
d. (12.67, 19.87)
11. Find the coefficient of determination, r2, rounded to one decimal place in percentage form, and interpret the value in context of the problem.
In: Statistics and Probability
Introduce hydraulic loss into the Bernoulli equation to account for the energy lost by the water flowing through the small horizontal pipe. Derive the expression for the hydraulic loss by considering two points at the inlet and outlet of the small horizontal pipe.
In: Physics
During the process of digital sampling, data can be lost due to aliasing. Analyse this problem and provide at least two possible solutions. Also, determine the rate at which a signal should be sampled, if the highest frequency is 60MHz.
In: Computer Science
1. Business is booming at the local McDonald's restaurant. It is contemplating adding a new grill and french-fry machine, but the day supervisor suggests simply hiring more workers. How should the manager decide which alternative to pursue?
a. Compare the cost of the new grill and french-fry machine to the cost of additional workers. (which one is cheaper?)
b. Compare the additional output of the new grill and french-fry machine to the additional output of more workers. (which one produces more?)
c. Compare the additional output per dollar spent on the new grill and french-fry machine to the additional output per dollar spent on additional workers.
d. None of the above
2. Suppose a firm finds that the marginal product of capital is 60 and the marginal product of labor is 20. If the price of capital is $6 and the price of labor is $2.50. Should this firm adjust its mix of capital and labor? How? (i.e., more/less capital? more/less labor?)
3. A firm minimizes its costs by using inputs such that the marginal product of labor is 10 and the marginal product of capital is 20. The price of capital is $10 per unit. What must the price of labor be?
4. Suppose that the price of labor is $10 per unit and the price of capital is $20 per unit.
a. Assuming the firm is minimizing its cost, if the marginal product of labor is 50, what must the marginal product of capital be?
b. Suppose the price of capital increases to $25 per unit, while the price of labor stays the same. To minimize the cost of producing the same level of output, would the firm become more capital-intensive (i.e., more capital/less labor) or more labor-intensive?
5.
a. Suppose that the average age of students in your economics class is 23.7 years. If a new 19-year-old student enrolls in the class, will the average age in the class rise or fall?
b. Suppose that the average output per worker is 23.7 units. If a new worker produces 19 units,
i. is the marginal product of labor higher or lower than the average product?
ii. Will the average output per worker (average product) rise or fall when you hire the new worker?
6.
a. Barry Bond's career home run average in his first 15 years in major league baseball (through 1997) was 33 home runs per season. In 2001, he hit 73 home runs. What effect did his performance in 2001 have on his career home run average?
b. Suppose that you have 15 workers, and the average output per worker (average product) is 33. The 16th worker will produce 73 more units. Will the average product rise or fall if you hire the 16th worker?
In: Economics