Question

In: Statistics and Probability

Using R and the data in the table below, perform the regression of D on C...

Using R and the data in the table below, perform the regression of D on C (i.e., report the regression equation).

C

D

3

2

6

7

8

5

9

4

1

0

3

4

Hint: The code to enter the vectors C and D into R is:

C <- c(3, 6, 8, 9, 1, 3)

D <- c(2, 7, 5, 4, 0, 4)

You must figure out how to obtain the regression equation from R. Enter the code below and write the regression equation using the output provided by R.

Code:

Regression equation (remember to use a hat when it is appropriate):

Solutions

Expert Solution

Solution: We need to obtain the regression equation of D on C. It would be of the form

Where is the predicted value of the response variable D, C is the given value of the explanatory variable.

Also, b0 is the y-intercept and b1 is the slope of the regression equation. They are given by the following formula--

where are the means of the response and explanatory variables.

The values of b0 and b1 from R-software are obtained as b0 = 1.067 and b1 = 0.520.

So, the regression equation obtained is = 1.067 + 0.520 C

Th code in R-software is:

C <- c(3, 6, 8, 9, 1, 3)

D <- c(2, 7, 5, 4, 0, 4)
lm(D~C)

The output of the code is attached as an image below:


Related Solutions

How do you perform Hypothesis Testing on a regression model using an ANOVA table below. This...
How do you perform Hypothesis Testing on a regression model using an ANOVA table below. This is to show the significance of the 4 independent variables. ANOVA df SS MS F Significance F Regression 3 17643.17 5881.05 22.21 0.00001376 Residual 14 3706.59 264.75 Total 17 21349.76
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [A]...
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [A] (M) [B] (M) Rate (M/s) 1 0.280 0.240 0.0160 2 0.280 0.576 0.0922 3 0.504 0.240 0.0288 k= Units
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [?]...
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [?] (?) [?] (?) Rate (M/s) 1    0.350 0.300 0.0161 2 0.350 0.750 0.101 3 0.490 0.300 0.0225 k= _________? Mention the unit as well
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [?]...
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [?] (?) [?] (?) Rate (M/s) 1 0.360 0.320 0.0152 2 0.360 0.704 0.0736 3 0.504 0.320 0.0213
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [A]...
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [A] (M) [B] (M) Rate (M/s) 1 0.350 0.360 0.0230 2 0.350 1.01 0.180 3 0.490 0.360 0.0322 k= Units
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [?]...
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [?] (?)[A] (M) [?] (?)[B] (M) Rate (M/s) 1 0.2900.290 0.3300.330 0.01540.0154 2 0.2900.290 0.7590.759 0.08150.0815 3 0.4930.493 0.3300.330 0.02620.0262 ?=k= Units
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [?]...
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D Trial [?] (?)[A] (M) [?] (?)[B] (M) Rate (M/s) 1 .300 .290 .0163 2 .300 .754 .110 3 .360 .290 .0196
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+DA+B⟶C+D Trial [?]...
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+DA+B⟶C+D Trial [?] (?)[A] (M) [?] (?)[B] (M) Rate (M/s) 1 0.4000.400 0.2000.200 0.01600.0160 2 0.4000.400 0.5400.540 0.1170.117 3 0.4800.480 0.2000.200 0.01920.0192 ?=k= Units
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D TRIAL 1:...
Using the data in the table, calculate the rate constant of this reaction. A+B⟶C+D TRIAL 1: A= 0.200 M B=0.250 M Rate= 0.0213 M/S TRIAL 2: A= 0.200 M B=0.650 M Rate=0.144 M/s TRIAL 3: A= 0.360 M B= 0.250 M. Rate= 0.0383 M/s
2. Perform the calculations and record the following data in the table below. What is the...
2. Perform the calculations and record the following data in the table below. What is the empirical formula of the copper sulfate hydrate? The molar mass of water is 18.015 g/mol and the molar mass of anhydrous copper sulfate is 159.609 g/mol. Show your calculations. mass of water in the hydrate sample (g)= number of moles of water= mass of anhydrous salt (g) = number of moles of anhydrous salt= molar ratio of anhydrous salt to water= empirical formula of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT