Question

In: Statistics and Probability

Using the data we collected in class about weight and height, find the following:

 

Using the data we collected in class about weight and height, find the following:

weight = c(130, 220, 180, 170, 135, 120, 200, 208, 210, 180, 110)
height = c(5,6,6.2,7.8,5.5,5.3,5.5,6.2,5.8,6.8,4.9)

a. Using height as the dependent variable and weight as the independent test if height is positively correlated with weight. What is the null hypothesis and the alternative hypothesis?

b. Provide the p-value.



c. Conclude this analysis, is this test statistically significant, justify your answer?





d. Provide your R coding

Solutions

Expert Solution

a.  Using height as the dependent variable and weight as the independent test if height is positively correlated with weight.

What is the null hypothesis and the alternative hypothesis?

Here we want to test that correlation between height and weight is positive.

Ho:- ϸ = 0 vs Ha:- ϸ > 0.

b.

> weight = c(130, 220, 180, 170, 135, 120, 200, 208, 210, 180, 110)
> height = c(5,6,6.2,7.8,5.5,5.3,5.5,6.2,5.8,6.8,4.9)
> cor.test(weight, height,alternative = "greater")

   Pearson's product-moment correlation

data: weight and height
t = 1.5471, df = 9, p-value = 0.07812
alternative hypothesis: true correlation is greater than 0
95 percent confidence interval:
-0.08611759 1.00000000
sample estimates:
cor
0.4583434

P-value = 0.07812

C.

Reject Ho if P-value < alpha= 0.05

Here P-value = 0.07812 > 0.05

Here we fail to reject Ho at 5% l.o.s.

So we can say that data not provide sufficient evidence to support claim that height is positively correlated with weight.

D.

>weight = c(130, 220, 180, 170, 135, 120, 200, 208, 210, 180, 110)
>height = c(5,6,6.2,7.8,5.5,5.3,5.5,6.2,5.8,6.8,4.9)
>cor.test(weight, height,alternative = "greater")


Related Solutions

The following data was collected on the height (inches) and weight (pounds) of women swimmers. Height...
The following data was collected on the height (inches) and weight (pounds) of women swimmers. Height Weight 68 132 64 108 62 102 65 115 66 128 Provide a regression analysis from the height and weight data. SUMMARY OUTPUT Regression Statistics Multiple R 0.9603 R Square 0.9223 Adjusted R Square 0.8963 Standard Error 4.1231 Observations 5 ANOVA df SS MS F Significance F Regression 1 605 605 35.5882 0.0094 Residual 3 51 17 Total 4 656 Coefficients Standard Error t...
We had an example in class about using a sign test. We are supposed to find...
We had an example in class about using a sign test. We are supposed to find the b value by using the binomial table. b(alpha,n,1/2) which for this problem equals b(.05,10,1/2). When you use the binomial table, the b(.05,10,1/2) = 8. How do you use the binomial table to get 8 for the b value?
In a recent college statistics class, data was collected on each student's height and their shoe...
In a recent college statistics class, data was collected on each student's height and their shoe size. The first three tables of the regression output are below the conclusions.  Please agree or disagree with the conclusions and, of course, state your statistical reasoning. There is sufficient evidence to believe that a statistically significant relationship exists between a student's height and his/her shoe size. About 80% of the variation in shoe size is determined by the variation in height. For each change...
There are two variables in this data set. Variable Definition Height Height in inches Weight Weight...
There are two variables in this data set. Variable Definition Height Height in inches Weight Weight in pounds Using Excel, compute the standard deviation and variance (both biased and unbiased) for height and weight. Height weight 53 156 46 131 54 123 44 142 56 156 76 171 87 143 65 135 45 138 44 114 57 154 68 166 65 153 66 140 54 143 66 156 51 173 58 143 49 161 48 131
we have a class of 30 students and the data below shows the height (in cm)...
we have a class of 30 students and the data below shows the height (in cm) distribution of those people. The data has already been sorted lowest to highest. 132 151 151 152 156 156 157 160 161 162 163 163 165 167 167 169 171 172 175 175 177 177 178 183 186 189 189 189 197 206 a. Find the 5 number summary b. Draw a Box- and- wisker plot c. Are there any outliers in the data...
Using the R built-in data set called Chick Weight, we want to compare the mean weight...
Using the R built-in data set called Chick Weight, we want to compare the mean weight across the different types of Diet. IMPORTANT: We only want to compare chicks at the final value of Time, 21. In this problem, use ?? = 0.05. Make a boxplot to compare weight across the different types of Diet. Based on the boxplot, describe any differences (or lack of differences) you see. Run an ANOVA to compare weight across the different types of Diet....
A statistics class collected data about male and female heights. The sample of 143 females had...
A statistics class collected data about male and female heights. The sample of 143 females had a mean height of 64 inches with a standard deviation of 2.84 inches. Assuming that the standard deviation of all such female heights is 2.60 inches, use a 0.05 significance level to test the claim that women’s heights have a mean different from 63.8 inches. We are testing the claim about a (mean, proportion, standard deviation): ______________________ Which test will you use (proportion, z-test,...
JAVA The class will have a constructor BMI(String name, double height, double weight). The class should...
JAVA The class will have a constructor BMI(String name, double height, double weight). The class should have a public instance method, getBMI() that returns a double reflecting the person's BMI (Body Mass Index = weight (kg) / height2 (m2) ). The class should have a public toString() method that returns a String like Fred is 1.9m tall and is 87.0Kg and has a BMI of 24.099722991689752Kg/m^2 (just print the doubles without special formatting). Implement this class (if you wish you...
The data set is height in inches and weight in pounds of random patients at the...
The data set is height in inches and weight in pounds of random patients at the Dr's office. Predict the weight of a patient that is 67 inches tall. Is it possible to predict using linear regression? Support your answer Linear regression was completed with the following results: Equation: Weight = -281.847 + 6.335*Height p-value = 0.00161 Height Weight 68 148 69 126 66 145 70 158 66 140 68 126 64 120 66 119 70 182 62 127 68...
A researcher collected data on the height (cm) of eight legume plants and the number of...
A researcher collected data on the height (cm) of eight legume plants and the number of flowers on the plant one week after flowering began. Height (x) 24 26 28 30 32 34 37 39 Number of Flowers (y) 15 21 17 16 20 14 11 19 SUMMARY OUTPUT Regression Statistics Multiple R 0.247 R Square 0.061 Adjusted R Square -0.096 Standard Error 3.492 Observations 8 ANOVA df SS MS F Significance F Regression 1 4.73 4.73 0.388 0.556 Residual...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT