Question

In: Math

1.) The file cats.csv contains a data set consisting of the body weight (in kilograms) and...

1.) The file cats.csv contains a data set consisting of the body weight (in kilograms) and heart weight (in grams) for 12 cats. Test at the 5% significance level that a positive linear relationship exists between the body weight of cat and their mean heart weight. Provides all parts of the test including hypotheses, test statistic, p-value, decision, and interpretation.

2.) The file cats.csv contains a data set consisting of the body weight (in kilograms) and heart weight (in grams) for 12 cats. Construct and interpret a 90% confidence interval for β1

cats.csv file is

bwt hwt
2.6 9.8
3.8 16.3
3.7 16.2
3.4 16.3
2 7.7
3.8 13.3
2.5 10.5
2.1 8.7
2.1 7.3
3.1 13.7
3.6 14.4
3.2 13.4

Solutions

Expert Solution

bwt, x hwt, y XY
2.6 9.8 25.48 6.76 96.04
3.8 16.3 61.94 14.44 265.69
3.7 16.2 59.94 13.69 262.44
3.4 16.3 55.42 11.56 265.69
2 7.7 15.4 4 59.29
3.8 13.3 50.54 14.44 176.89
2.5 10.5 26.25 6.25 110.25
2.1 8.7 18.27 4.41 75.69
2.1 7.3 15.33 4.41 53.29
3.1 13.7 42.47 9.61 187.69
3.6 14.4 51.84 12.96 207.36
3.2 13.4 42.88 10.24 179.56
Ʃx = Ʃy = Ʃxy = Ʃx² = Ʃy² =
35.9 147.6 465.76 112.77 1939.88
Sample size, n = 12
x̅ = Ʃx/n = 35.9/12 = 2.99166667
y̅ = Ʃy/n = 147.6/12 = 12.3
SSxx = Ʃx² - (Ʃx)²/n = 112.77 - (35.9)²/12 = 5.36916667
SSyy = Ʃy² - (Ʃy)²/n = 1939.88 - (147.6)²/12 = 124.4
SSxy = Ʃxy - (Ʃx)(Ʃy)/n = 465.76 - (35.9)(147.6)/12 = 24.19

1) Null and alternative hypothesis:

Ho: ρ = 0 ; Ha: ρ > 0

α = 0.05

Correlation coefficient, r = SSxy/√(SSxx*SSyy) = 24.19/√(5.36917*124.4) = 0.9360

Test statistic :  

t = r*√(n-2)/√(1-r²) = 0.936 *√(12 - 2)/√(1 - 0.936²) = 8.4082

df = n-2 = 10

p-value = T.DIST.RT(8.4082, 10) = 0.0000

Conclusion:

p-value < α, Reject the null hypothesis.

There is enough evidence to conclude that at the 5% significance level a positive linear relationship exists between the body weight of cat and their mean heart weight.

---

2) Slope, b = SSxy/SSxx = 24.19/5.36917 = 4.5054

Significance level, α = 0.10

Critical value, t_c = T.INV.2T(0.1, 10) = 1.8125  

Sum of Square error, SSE = SSyy -SSxy²/SSxx = 124.4 - (24.19)²/5.36917 = 15.41547

Standard error, se = √(SSE/(n-2)) = √(15.41547/(12-2)) = 1.2416

90% confidence interval for β1:


Related Solutions

1.) The file cats.csv contains a data set consisting of the body weight (in kilograms) and...
1.) The file cats.csv contains a data set consisting of the body weight (in kilograms) and heart weight (in grams) for 12 cats. Give the estimated regression line using the body weight as the predictor variable (x-variable) and the heart weight as the response variable (y-variable). Also, provide interpretations in terms of the problem for the slope and the y-intercept. 2.) The file cats.csv contains a data set consisting of the body weight (in kilograms) and heart weight (in grams)...
The data file contains the Body Mass Index (BMI) for a sample of men and a...
The data file contains the Body Mass Index (BMI) for a sample of men and a sample of women. Two of the columns, OW_male and OW_female code the BMI values as: 0 - if BMI ≤ 25.4 (these are considered “not overweight”); 1 - if BMI >= 25.5 (these are considered “overweight”). (a) Test whether there is sufficient evidence to show that the proportion of overweight males (proportion of males who are overweight) is different than the proportion of overweight...
The data set contains the weight (grams) of 10 mice before and after the treatment. Weight...
The data set contains the weight (grams) of 10 mice before and after the treatment. Weight of the mice before treatment before: (200.1, 190.9, 192.7, 213, 241.4, 196.9, 172.2, 185.5, 205.2, 193.7) Weight of the mice after treatment after: (392.9, 393.2, 345.1, 393, 434, 427.9, 422, 383.9, 392.3, 352.2) Is there enough evidence in the data that the treatment increases the weight population average weight by at least 150 grams? Please answer with R programming code. Thanks!
Create a random data set consisting of two different samples, drawn from Census data that contains...
Create a random data set consisting of two different samples, drawn from Census data that contains numeric values - such as age. Show details of the sourcing. State the null and alternate hypothesis in words that apply to the topic you are addressing. Perform a two-sided, two-sample t-test. Explain what you are doing. Show the graph of the test will all features shown and labeled State the conclusion of the test and grounds.
please show work Body mass index (BMI) is computed as the ratio of weight in kilograms...
please show work Body mass index (BMI) is computed as the ratio of weight in kilograms to the square of the height in meters.  The distribution of BMI is approximately normal for females aged 30-39. In this group, the mean BMI is 24.5, with a standard deviation of 3.3. 13) What proportion of females aged 30-39 has a BMI of 25 or more? 14) Persons with a BMI of 30 or greater are considered obese.  What proportion of females aged 30-39 is...
******. The openintro package contains a data set called bdims, ****which consists of the body dimensions...
******. The openintro package contains a data set called bdims, ****which consists of the body dimensions of 507 physically active individuals. ****Complete a full multivariate regression analysis, ***predicting the variable wgt (weight) using all significant elements. *****You should do a stepwise variable selection procedure, and explore the data. ******** R code
PotashCorp The data set in the file ch18_MCSP_PotashCorp contains average quarterly share prices for PotashCorp and...
PotashCorp The data set in the file ch18_MCSP_PotashCorp contains average quarterly share prices for PotashCorp and prices for potash mineral. Investigate the relationship between these variables. (a) Some people think that if the share price of a mining company is high, that is because investors expect high mineral prices for thecorresponding quarter. Can the potash price be estimated from the PotashCorp share price? The data includes a period when the price of potash mineral was exceptionally high. If you eliminate...
If the file circuit.txt contains the following data
Exercise 2: If the file circuit.txt contains the following data 3.0             2.1 1.5             1.1 2.6             4.1 The first column is voltage and the second column is the electric current. Write program that reads the voltages and currents then calculates the electric power (P) based on the equation: Voltage     Current        Power 3.0             2.1              (result) 1.5             1.1              (result) 2.6             4.1              (result)                         P = v * i Write your output to the file results.txt with voltage in the first, current in the second...
In the Excel data file, the tab labeled Question 1 contains data on the number of...
In the Excel data file, the tab labeled Question 1 contains data on the number of times boys and girls raise their hands in class. Conduct the t-test: Two-Sample Assuming Equal Variances. Males 9,8,4,9,3,8,10,8,9,10,7,6,12 Females 3,5,1,2,6,4,3,6,7,9,7,3,7,6,8,8 a. What is the null hypothesis? b. What is the research hypothesis? c. Why run a Two-Sample Assuming Equal Variances t-test? d. Interpret the findings. What are the results of the hypothesis test? Can you reject the null hypothesis?
1. Create one XML data file and one DTD file for the entire data set (using...
1. Create one XML data file and one DTD file for the entire data set (using a subset of SQL assignment – see below). [Use of ID and IDREF are not required.] 2. Write and execute XML statements for the following two queries: Q1. Find the name of an employee who lives in Lincoln and works in Omaha. Q2. Find salaries of employees who live in the same cities as the companies for which they work. [You can replace one...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT