Question

In: Statistics and Probability

The following data represents females' weights before and after pregnancy. Weight Before Pregnancy, 114, 107, 123,...

The following data represents females' weights before and after pregnancy.

Weight Before Pregnancy, 114, 107, 123, 118, 136, 119, 127, 123, 129, 134, 134, 131, 132, 124, 134, 112, 122, 114, 109, 114, 116, 133, 129, 127, 128, 122, 134, 121, 122, 118, 126, 120, 118, 131, 124, 108, 127, 127, 129, 136

Weight After Pregnancy, 168, 161, 166, 157, 158, 166, 156, 157, 154, 153, 159, 158, 155, 164, 166, 157, 161, 166, 162, 148, 158, 165, 164, 159, 160, 154, 163, 169, 154, 150, 164, 160, 160, 157, 155, 163, 160, 162, 166, 157

a) Formulate the hypotheses that test whether or not the weights before and after pregnancy are the same

b) Test aforementioned hypotheses using R

For your answer please provide the following: R code to that you have used for testing, output of your test, and your reasoning and conclusions

Solutions

Expert Solution

Solution:

a) Let xi: Weight before pregnancy

and yi: Weight after pregnancy.

di=yi-xi

Here the situation is suitable for paired t-test.

Ud: Average difference in weights.

The hypothesis for the test can be given as

H0:Ud=0 V/s H1:Ud0

b) R-code:-

> xi=c(114, 107, 123, 118, 136, 119, 127, 123, 129, 134, 134, 131, 132, 124, 134, 112, 122, 114, 109, 114, 116, 133, 129, 127, 128, 122, 134, 121, 122, 118, 126, 120, 118, 131, 124, 108, 127, 127, 129, 136)
> yi=c(168, 161, 166, 157, 158, 166, 156, 157, 154, 153, 159, 158, 155, 164, 166, 157, 161, 166, 162, 148, 158, 165, 164, 159, 160, 154, 163, 169, 154, 150, 164, 160, 160, 157, 155, 163, 160, 162, 166, 157)
> t.test(xi,yi,paired=T,)

Paired t-test

data: xi and yi
t = -23.593, df = 39, p-value < 2.2e-16
alternative hypothesis: true difference in means is less than 0
95 percent confidence interval:
-Inf -33.42914
sample estimates:
mean of the differences
-36

Decision Rule:

Here p-value <=0.05

We reject H0  at 5% level of Significance.

Conclusion:

Given data shows that the weights before and after pregnancy are not same.


Related Solutions

This data set presents 17 paired data corresponding to the weights of girls before and after...
This data set presents 17 paired data corresponding to the weights of girls before and after treatment for anorexia. Prior Post 83.8 95.2 83.3 94.3 86.0 91.5 82.5 91.9 86.7 100.3 79.6 76.7 76.9 76.8 94.2 101.6 73.4 94.9 80.5 75.2 81.6 77.8 82.1 95.5 77.6 90.7 83.5 92.5 89.9 93.8 86.0 91.7 87.3 98.0 a. What is the appropriate t-test? b. What are the dependent and independent variables? c. State the null and alternative hypothesis. d. For α =.05,...
Birth Weight Data Set 3 “Births” in Appendix B includes birth weights of 205 females, and...
Birth Weight Data Set 3 “Births” in Appendix B includes birth weights of 205 females, and the summary statistics are ¯x=3037.1 g x¯=3037.1 g and s = 706.3 g. Use a 0.01 significance level to test the claim that the population of birth weights of females is greater than 3000 g. Data set 3 : Data are from 400 births (first five rows shown here). For GENDER 0 = female and 1 = male. LENGTH OF STAY is in days,...
The following weights are for 16 Grizzly Bears in North America. They are:   125, 114, 108,...
The following weights are for 16 Grizzly Bears in North America. They are:   125, 114, 108, 135, 144, 124, 110, 152, 134, 117, 98, 116, 202, 225, 169, 160 Find the Mean, Median, Range and Population Standard Deviation to the nearest tenth. Find the Z-Score of the female bear that weighs 134kg Make a box and whisker plot. Determine if there are any outliers in your plot. FIND IQR. Determine the shape of the distribution.
The table below shows the weights of seven subjects before and after following a particular diet...
The table below shows the weights of seven subjects before and after following a particular diet for two months. Subject / A / B / C / D / E / F / G ////////////////////////////////////////////////// Before / 165 / 151 / 196 / 175 / 179 / 172 / 191 ////////////////////////////////////////////////// After / 166 / 154 / 169 / 164 / 176 / 193 / 169 Using a 0.01 level of significance, test the claim that the diet is effective...
The following table lists the weight of individuals before and after taking a diet prescribed by...
The following table lists the weight of individuals before and after taking a diet prescribed by a weight-loss company for a month: Weight-loss Data Individual Weight Before (lb) Weight After (lb) Weight Loss (lb) A 126.8 127 -0.2 B 127.4 127.2 0.2 C 130.5 130.5 0.0 D 189.8 190.2 -0.4 E 141.5 141.1 0.4 F 159.2 159.2 0.0 You may find this Student's t distribution table useful in answering the following questions. You may assume that the differences in weight...
The following table lists the weight of individuals before and after taking a diet prescribed by...
The following table lists the weight of individuals before and after taking a diet prescribed by a weight-loss company for a month: Weight-loss Data: Individual: A, B, C, D, E, F Weight Before (lb): 123.7, 128.7, 135.6, 194.9, 145.5, 162.3 Weight After (lb): 109.4, 109.7, 123.3, 186.5, 126.8, 151.5 Weight loss (lb): 14.3, 19.0, 12.3, 8.4, 18.7, 10.8 You may find this Student's t distribution table useful in answering the following questions. You may assume that the differences in weight...
Use the Normal model ​N(1133​,90​) for the weights of steers. ​a) What weight represents the 54th...
Use the Normal model ​N(1133​,90​) for the weights of steers. ​a) What weight represents the 54th ​percentile? ​b) What weight represents the 90th ​percentile? ​c) What's the IQR of the weights of these​ steers? ​a) The weight representing the 54th percentile is __ pounds. .
1. Use the Normal model ​N(1173​,62​) for the weights of steers. ​ a) What weight represents...
1. Use the Normal model ​N(1173​,62​) for the weights of steers. ​ a) What weight represents the 43rd ​percentile? ​b) What weight represents the 92nd ​percentile? ​c) What's the IQR of the weights of these​ steers? 2. Use the Normal model ​N(1189​,95​)for the weights of steers. ​a) What weight represents the 68th ​percentile? ​b) What weight represents the 97th ​percentile? ​c) What's the IQR of the weights of these​ steers?
The weights (in pounds) of 30 participants are recorded before and after a 6 week exercise...
The weights (in pounds) of 30 participants are recorded before and after a 6 week exercise program. Before and After Weights Before After 210 207 174 176 150 148 124 130 222 220 287 280 175 168 173 170 264 255 247 250 Before and After Weights Before After 185 184 134 135 157 155 245 242 255 247 148 150 170 165 215 210 309 300 234 230 Before and After Weights Before After 245 240 287 276 200...
The following data represents sample data of 6 oz. bottles of after-shave. Develop the X-bar and...
The following data represents sample data of 6 oz. bottles of after-shave. Develop the X-bar and R control charts (mean chart and range chart) for the following sample. A process that is considered to be in control measures an ingredient in ounces. Below are the samples taken from the process. Sample 1 2 3 4 5 6 Sum X-bar R 1 6.00 5.90 6.00 5.90 6.00 5.90 2 6.00 6.00 6.30 6.04 6.02 6.00 3 5.90 6.00 6.06 5.90 6.00...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT