Question

In: Statistics and Probability

In the datasets package, there is a dataframe ChickWeight. The weights of the chicks are recorded...

In the datasets package, there is a dataframe ChickWeight. The weights of the chicks are recorded in gram and the variable time is measured in days. Run a regression model to show how the passage of time influences the weight of the chicks. Based on the regression results, which of the following are true? (answer may 1 or more)

a.The chicks weigh about 27 grams when they hatch.

b.We accept the null hypothesis that time has no effect on the weight of the chicks.

c.The chicks gain about 8.8 grams per day.

d.We can reject the null hypothesis that time has no effect on the weight of the chicks.

Solutions

Expert Solution

In the datasets package, there is a dataframe ChickWeight. The weights of the chicks are recorded in gram and the variable time is measured in days. Run a regression model to show how the passage of time influences the weight of the chicks. Based on the regression results, which of the following are true?

Weight is dependent variable.

Time is independent variable.

From the scatter plot we can say that there is positive relationship between weight and time.

> model= lm(weight~Time, data = a)
> model

Call:
lm(formula = weight ~ Time, data = a)

Coefficients:
(Intercept) Time
27.467 8.803

> summary (model)

Call:
lm(formula = weight ~ Time, data = a)

Residuals:
Min 1Q Median 3Q Max
-138.331 -14.536 0.926 13.533 160.669

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 27.4674 3.0365 9.046 <2e-16 ***
Time 8.8030 0.2397 36.725 <2e-16 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 38.91 on 576 degrees of freedom
Multiple R-squared: 0.7007, Adjusted R-squared: 0.7002
F-statistic: 1349 on 1 and 576 DF, p-value: < 2.2e-16

FOr selecting option we have to test the hypothesis that,

H0 : There is no relationship between two variables.

H1 : There is some relationship between two variables.

So from the regression output we can say that there is some relationship between two variable.

d.We can reject the null hypothesis that time has no effect on the weight of the chicks.


Related Solutions

question 1 In the datasets package, there is a dataframe ChickWeight. The weights of the chicks...
question 1 In the datasets package, there is a dataframe ChickWeight. The weights of the chicks are recorded in gram and the variable time is measured in days. Run a regression model to show how the passage of time influences the weight of the chicks. Based on the regression results, which of the following are true?(choose all correct) a.The chicks weigh about 27 grams when they hatch. b.We accept the null hypothesis that time has no effect on the weight...
Load the USArrests sample dataset from the built-in datasets (data(USArrests)) into R using a dataframe (Note:...
Load the USArrests sample dataset from the built-in datasets (data(USArrests)) into R using a dataframe (Note: Row names are states, not numerical values!). Use the kmeans package to perform a clustering of the data with increasing values of k from 2 to 10 - you will need to decide whether or not to center/scale the observations - justify your choice. Plot the within-cluster sum of squares for each value of k - what is the optimal number of clusters? Use...
load the MASS library in R. A. Package ‘MASS’ which provides a description of the datasets...
load the MASS library in R. A. Package ‘MASS’ which provides a description of the datasets available in the MASS package. Then, answer each of the following questions using the appropriate test statistic and following formal steps of hypothesis testing. A:Test of equal or given proportions: Use the “bacteria” data set to answer the question, “did the drug treatment have a significant effect of the presence of the bacteria compared with the placebo?” B: F-test: Use the “cats” data set...
3. Workers at an orchard recorded the weights of 1000 avocados. The weights are approximately normally...
3. Workers at an orchard recorded the weights of 1000 avocados. The weights are approximately normally distributed, with a mean weight of 225 grams and a standard deviation of 25 grams. Which of the following statements are true? Select all that apply. A. Approximately 34% of the avocados weight between 225 and 250 grams. B. Approximately 50% of the avocados weigh 225 grams. C. Approximately 500 of the avocados weigh more than 200 grams. D. Approximately 160 avocados weigh more...
The following data are the the weights of 25 students recorded as follows: 39, 43, 36,...
The following data are the the weights of 25 students recorded as follows: 39, 43, 36, 38, 46, 51, 33, 44, 44, 43, 63, 23, 35, 39, 23, 24, 33, 36, 49, 21, 30, 32, 33, 35, 36 Find the Mean, Median, Q1, Q3, IQR, Outliers (If there are no outliers, write "None") a) Without sketching the graph, reason and explain whether the distribution is symmetric or skewed. (b) Draw a sketchplot of this data
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...
In a test of the Weight Watchers weight loss program, weights of 42 subjects are recorded...
In a test of the Weight Watchers weight loss program, weights of 42 subjects are recorded before and after the program such that the x-value is an individual's weight at the start of the program and the y-value is the same person's weight after one year on the program. The mean of the starting weights was 192.7 pounds. The mean of the weights after one year was 178.2 pounds. The regression equation was found to be yˆ=.802x+30.27ŷ=.802x+30.27. The critical r-values...
When birth weights were recorded for a simple random sample of 16 male babies born to...
When birth weights were recorded for a simple random sample of 16 male babies born to mothers taking a special vitamin supplement, the sample had a mean of 3.675 kilograms and a standard deviation of 0.657 kilogram. The birth weights for all babies are assumed to normally distributed. Use a 0.05 significance level to test the claim that the mean birth weight for all male babies of mothers taking the vitamin supplement is different from 3.39 kilograms, which is the...
A group of six, obese adult women had their weights recorded both before and 9 months...
A group of six, obese adult women had their weights recorded both before and 9 months after having a diet treatment to help manage their weight. Observe the information presented in the table below: The weights of six obese adult women both before and 9-months after having a diet treatment Before Diet Treatment      After Diet Treatment 260 240 220 215 200 198 310 300 325 298 195 195 Test at α = 0.05 the hypothesis that for the group,...
The two rows of data below come from recorded weights of young mice raised on two...
The two rows of data below come from recorded weights of young mice raised on two different diets, labeled S1 and S2. Use these two datasets to address the following questions. S1 5.85 6.85 7.16 5.43 5.03 6.48 3.89 5.44 6.88 5.37 S2 4.52 5.29 5.74 5.48 3.74 4.61 4.00 4.67 4.87 5.12 a) Imagine you want to conduct a conventional parametric test of H0: μ1 = μ2 versus H1: μ1 not equal to μ2. What test would you use,...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT