Ten individuals went on a low-fat diet for 12 weeks to lower their cholesterol. The data are recorded in the table below. Do you think that their cholesterol levels were significantly lowered? Conduct a hypothesis test at the 5% level.
| Starting Cholesterol level | ending cholesterol level |
| 150 | 150 |
| 210 | 240 |
| 110 | 130 |
| 240 | 220 |
| 200 | 190 |
| 180 | 150 |
| 190 | 200 |
| 360 | 300 |
| 280 | 300 |
| 260 | 240 |
1. In words, state what your random variable Xd represents.
a. Xd represents the total difference in cholesterol levels before and after the diet.
b. Xd represents the difference in the average cholesterol level before and after the diet.
c. Xd represents the average difference in the cholesterol level before and after the diet.
d. Xd represents the average cholesterol level of the 10 individuals.
2.State the distribution to use for the test. (Enter your answer in the form z or tdf where df is the degrees of freedom.)
3.What is the test statistic? (If using the z distribution round your answer to two decimal places, and if using the t distribution round your answer to three decimal places.)
4.What is the p-value?
5.Explain how you determined which distribution to use.
a. The standard normal distribution will be used because the samples are independent and the population standard deviation is known.
b. The t-distribution will be used because the samples are dependent.
c. The t-distribution will be used because the samples are independent and the population standard deviation is not known.
d. The standard normal distribution will be used because the samples involve the difference in proportions.
In: Statistics and Probability
When subjects were treated with a drug, their systolic blood pressure readings (in mm Hg) were measured before and after the drug was taken. Results are given in the table below. Assume that the paired sample data is a simple random sample and that the differences have a distribution that is approximately normal. Using a 0.05 significance level, is there sufficient evidence to support the claim that the drug is effective in lowering systolic blood pressure?
Before After
179 147
167 177
158 159
172 148
188 179
196 145
210 179
175 162
157 152
205 143
169 157
164 148
n this example,?
?d?
is the mean value of the differences d for the population of all pairs of data, where each individual difference d is defined as the systolic blood pressure reading before the drug was taken minus the reading after the drug was taken. What are the null and alternative hypotheses for the hypothesis test?
A. H0: ?d=0 H1: ?d>0
B. H0: ?d?0 H1:?d=0
C. H0: ?d?0 H1:?d>0
D. H0: ?d=0 H1:?d<0
Identify the test statistic.
t= _______
(Round to two decimal places as needed.)
Identify the P-value.
P-value= _______
(Round to three decimal places as needed.)
Since the P-value is Less///or////Greater_____??than the significance level, Fail to Reject////or///Reject Ho.
There is?Insufficient//or//sufficient____?evidence to support the claim that the drug is effective in lowering systolic blood pressure.
?
H0.?
There is evidence to support the claim that the drug is effective in lowering systolic blood pressure.
In: Statistics and Probability
A new type of bird capable of self-propulsion is designed in order to maximise its flying distance in the presence of aerodynamic drag. This new bird, having the initial mass of mo, generates thrust by ejecting 1% of its initial mass (0.01mo) with the velocity of 50m/s in the direction opposite to the bird’s instantaneous velocity relative to the bird every 0.1s (similar to how rockets generate thrust).
function [vx_f,vy_f,m_f] = mass_ejection(vx_i,vy_i,v_eb,m_i,m_e)
% Inputs:
% vx_i: Velocity component in x direction before ejection
% vy_i: Velocity component in y direction before ejection
% v_eb: Ejection velocity of the mass relative to the bird
% m_i : Mass of the bird before ejection
% m_e : Ejection mass
% Outputs: % vx_f: Velocity component in x direction after ejection
% vy_f: Velocity component in y direction after ejection
% m_f : Mass of the bird after ejection
(d) Using the function written incorporate the mass ejection mechanism into the existing model with drag (remember that you need to run this function every 0.1s and use the output to update the velocity and mass of the bird). Compute and plot the trajectory of the new bird and compare it with the trajectory of the original bird with the same initial conditions. On your plot, indicate with symbols where mass ejections happen. The bird is launched with the initial velocity of 10m/s at the angle of 50? from the horizontal. The initial mass of the bird, mo is 1kg. The release point of the bird is 2m directly above the base of slingshot and the base of slingshot can be considered as the origin (figure 5). The density of air is 1.2 kg/m3 and use CD = 1. The bird can be treated as a sphere with a radius of 0.15 m. on matlab
In: Mechanical Engineering
7. Suppose the National Transportation Safety Board (NTSB) wants
to examine the safety of compact cars, midsize cars, and full-size
cars. It collects a sample of three for each of the treatments
(cars types). The hypothetical data provided below from 10 trials
report the mean pressure applied to the driver’s head during a
crash test for each type of car.
Compact: 635, 671, 648, 685, 648, 651, 654, 682, 687, 627
Midsize: 482, 529, 541, 518, 497, 526, 507, 492, 499, 451
Full-size: 451, 483, 464, 447, 456, 499, 484, 492, 449,
449
10. An instructor teaching algebra 1 to ninth-grade students
wishes to analyze the difference between student achievement before
and after the implementation of an online help resource. For 6
weeks, students worked with conventional, in-class and homework
resources, and then for the next 6 weeks, an online help desk was
made available to them. The scores for 6 students on a district
benchmark test before and after the implementation of the online
help resource are listed below.
Before: 22, 18, 33, 20, 23, 27
After: 28, 21, 32, 25, 33, 28
12. A college counselor wonders whether second semester students
take fewer units than first semester students. From the population
of each group (first semester and second semester), she selects 10
students at random. The following data were collected:
First semester students: 10, 12, 14, 14, 15, 15, 15, 16, 16, 18
Second semester students: 6, 9, 9, 10, 12, 12, 13, 14
In: Statistics and Probability
Your all-equity firm generates $60M per year in perpetual free
cash flows. The firm pays out the entire free cash flows to
stockholders each year and is about to pay the $60M generated this
year. Analysis of comparable firms tells you that your asset cost
of capital is 15 percent. Assume that there are 1M shares
outstanding and the capital market is perfect.
a)What is the price per share for this firm att=0 just before the
firm paysout the $60M?This price is called the cum-dividend
price.
b)Suppose the firm chooses to pay out the $60M as a dividend.What
is the price per shareat t=0 just after the dividend is paid
out?This price is called the ex-dividend price.
c)The firm would like to pay$100M worth of dividends at t=0 and
thus needs another $40M. The firm plans to issue shares today (t=0)
at the cum-dividend price from (a) so that it will have the extra
$40M.
i.How many additional shares does the firm have to issue to raise
$40M?
ii.Whatwould the price per share be at t=0 just before this $100M
dividend is paid out? (but directly after the additional $40M was
raised via equity issuance)(Hint: The firm added $40M of cash to
its assets throughthe equity issuance. That is,the firm’s asset
value is $40M higher than before.)
iii.What would the price per share be at t=0 just after
the $100M dividend is paid out?
d)Which of the following is true? Explainyour answer.①.Investors
prefer the usual dividend in (b).②.Investors prefer the boosted
dividend in (c).③.Investors are indifferent between the usual and
boosted dividends
In: Finance
| Leverage ratios (Debt / Total assets) | |||
| EBIT = 2,500,500 | 0% | 25% | 50% |
| Total assets | $ 10,000,000 | $ 7,500,000 | $ 5,000,000 |
| Debt (12%) | 0 | $ 2,500,000 | $ 5,000,000 |
| Equity | $ 10,000,000 | $ 10,000,000 | $ 10,000,000 |
| Total liabilities and equity | $ 10,000,000 | $ 12,500,000 | $ 15,000,000 |
| Expected operating income (EBIT) | $ 2,500,000 | $ 2,500,000 | $ 2,500,000 |
| Less: Interest (@ 12%) | 0 | $ 300,000 | $ 600,000 |
| Earnings before tax | $ 2,500,000 | $ 2,200,000 | $ 1,900,000 |
| Less: Income tax @ 40% | $ 1,000,000 | $ 880,000 | $ 760,000 |
| Earnings after tax | $ 1,500,000 | $ 1,320,000 | $ 1,140,000 |
| Return on equity | 15% | 13.20% | 11.40% |
| Effect of a 20% Decrease in EBIT to $2,000,000 | 0% | 25% | 50% |
| Expected operating income (EBIT) | $ 2,000,000 | $ 1,760,000 | $ 1,520,000 |
| Less: Interest (@ 12%) | $ 1,000,000 | $ 880,000 | $ 760,000 |
| Earnings before tax | $ 1,000,000 | $ 880,000 | $ 760,000 |
| Less: Income tax @ 40% | $ 400,000 | $ 352,000 | $ 304,000 |
| Earnings after tax | $ 600,000 | $ 528,000 | $ 456,000 |
| Return on equity | 12% | 10.20% | 8.40% |
| Effect of a 20% Increase in EBIT to $3,000,000 | 0% | 25% | 50% |
| Expected operating income (EBIT) | $ 3,000,000 | $ 3,000,000 | $ 3,000,000 |
| Less: Interest (@ 12%) | $ 400,000 | $ 352,000 | $ 304,000 |
| Earnings before tax | $ 2,600,000 | $ 2,648,000 | $ 2,696,000 |
| Less: Income tax @ 40% | $ 1,040,000 | $ 1,059,200 | $ 1,078,400 |
| Earnings after tax | $ 1,560,000 | $ 1,588,800 | $ 1,617,600 |
| Return on equity | 6% | 7.80% | 9.60% |
In: Finance
QUESTION 1:
Researchers claim that women speak significantly more words per day than men. One estimate is that a woman uses about 20,000 words per day while a man uses about 7,000. To investigate such claims, one study used a special device to record the conversations of male and female university students over a four- day period. From these recordings, the daily word count of the 20 men in the study was determined. Here are their daily word counts:
| 28401 | 10093 | 15933 | 21682 | 37778 |
| 10573 | 12881 | 11063 | 17791 | 13180 |
| 8910 | 6495 | 8145 | 7018 | 4430 |
| 10050 | 4000 | 12646 | 10971 | 5247 |
What value we should remove from observation for applying t procedures?
A 90% confidence interval (±±10) for the mean number of words per day of men at this university is from to words.
Is there evidence at the 10% level that the mean number of words per day of men at this university differs from 9000?
|
||
|
QUESTION 2:
Cola makers test new recipes for loss of sweetness during storage. Trained tasters rate the sweetness before and after storage. Here are the sweetness losses ( sweetness before storage minus sweetness after storage) found by 10 tasters for one new cola recipe:
| 1.8 | 0.4 | 0.6 | 2 | -0.6 |
| 2.4 | -1.2 | 1.1 | 1.2 | 2.2 |
Take the data from these 10 carefully trained tasters as an SRS from a large population of all trained tasters.
Is there evidence at the 5% level that the cola lost sweetness?
If the cola has not lost sweetness, the ratings after should be the
same as before it was stored.
The test statisic is t = (±±0.001)
|
||
|
In: Statistics and Probability
This is c++ code.
Create a file sort.cpp. to mix functions with the selection sort algorithm:
·Write a function int least(vector<string> strs, int start)to return the index of the smallest value in the vector. You are to assume there is at least one value in the vector.
·Write a function void selsort(vector<string> & strs) to use selection sort to sort the vector of strings. It is a worthwhile experiment to try leaving out the & and seeing that the vector stays exactly the way it is, but remember to put it back in before submitting.
·You need to use the above function here
·Once you know the elements you want to swap, call the library swap(T& a, T& b) function to do the swap, which after the 2011 standard, has been moved from <algorithm> to the <utility> library (though I think IDE’s automatically include this, so you probably won’t need to explicitly #include it). The &’s in the prototype of the function allow it to actually move your values, but you should not be using &’s when calling the function
·Write main() to test your selection sort. You just need to output the
·Try at least two calls, one where the elements are already in order and one where you need at least two swaps to order the values. For the following run, the first call was done with “lion”, “tiger”, while the 2nd call was done with “lion”, “tiger”, “zebra”, “bear” (the first swap is of “lion” and “bear”, so the 2nd iteration starts with “bear”, “tiger”, “zebra”, “lion” and “lion” needs to be swapped to the second position)
Before: lion tiger
After: lion tiger
Before: lion tiger zebra bear
After: bear lion tiger zebra
In: Computer Science
A “subliminal” message is below our threshold of awareness but may nonetheless influence us. A study looked at the effect of subliminal messages on math skills. Messages were flashed on a screen too rapidly to be consciously read. Twenty-eight students who had failed the mathematics part of the City University of New York Skills Assessment Test were randomly assigned to receive daily either a positive subliminal message (“Each day I am getting better in math”) or a neutral subliminal message (“People are walking on the street”). All students took the assessment test again at the end of the program, and the table below gives the data on each of the subjects’ scores before and after the program. Is there statistical evidence that the positive message brought about a greater improvement in math scores than the neutral message? Make no assumptions and show all work.
| Positive Message | ||
| Before | After | Difference |
| 18 | 24 | 6 |
| 18 | 25 | 7 |
| 21 | 33 | 12 |
| 18 | 29 | 11 |
| 18 | 33 | 15 |
| 20 | 36 | 16 |
| 23 | 34 | 11 |
| 23 | 36 | 13 |
| 21 | 34 | 13 |
| 17 | 27 | 10 |
| Neutral Message | ||
| Before | After | Difference |
| 18 | 29 | 11 |
| 24 | 29 | 5 |
| 20 | 24 | 4 |
| 18 | 26 | 8 |
| 24 | 38 | 14 |
| 22 | 27 | 5 |
| 15 | 22 | 7 |
| 19 | 31 | 12 |
| Ho: | |
| Ha: | |
| Exact P for F test: | |
| test-statistic: | |
| df: | |
| Exact P value for the test-statistic | |
| Conclusion relative to the hypothesis: | |
| ts= , df= ,P= |
Got the data by Excel
In: Math

Assume Thailand and India are potential trading partners of China. Thailand is a member of ASEAN but India is not. Suppose the import price of textiles from India (pIndia) is 50 per unit under free trade and is subject to a 20% tariff by China. As of January 1, 2010, China and Thailand entered into the China–ASEAN free-trade area, eliminating tariffs on imports from Thailand. The following figure shows China’s import demand curve and the export supply curves of its two trading partners. Note that Thailand cannot fulfill all of China’s import demand at the indicated world prices.
What do the export supply curves for Thailand and India imply about their relative size compared to China in the world textile market?
Before the China–ASEAN free-trade area, how much does China import from each trading partner (assuming China buys from both)? What is the import price? Calculate the tariff revenue earned by China’s government.
After the China–ASEAN free-trade area, how much does China import from each trade partner? What is the import price? What is total tariff revenue for China?
Based on your answers above, what is the net welfare impact of the China–ASEAN free-trade area on China’s welfare? Does the trade pact generate trade creation or trade diversion overall?
What is the impact of the China–ASEAN free-trade area on the welfare of Thailand and of India?
The China-ASEAN agreement may lead to a similar one between China and India. How would this affect China’s imports from each country? What would be the effect on welfare in China, Thailand, and India if such an agreement were signed?
In: Economics