document.write( "Question 1172249: In an assay of heparin, a standard preparation is compared with a test preparation by observing
\n" ); document.write( "the log clotting times (Y, in seconds; Table 5) of blood containing different doses of heparin (X
\n" ); document.write( "is log dose, replicate readings are made at each dose level):
\n" ); document.write( "Table - 5: Log clotting times of blood containing different doses of heparin.
\n" ); document.write( "Standard Log (Dose)
\n" ); document.write( "1.81 0.72
\n" ); document.write( "1.85 0.87
\n" ); document.write( "1.95 1.02
\n" ); document.write( "2.12 1.17
\n" ); document.write( "2.26 1.32
\n" ); document.write( "1.76 0.71
\n" ); document.write( "1.79 0.89
\n" ); document.write( "1.93 1.04
\n" ); document.write( "1.98 1.15
\n" ); document.write( "2.16 1.22
\n" ); document.write( "a. Draw a scatter diagram to show a possible association between the log clotting time
\n" ); document.write( "(used as the dependent variable) and the log dose and check to see if a linear model is
\n" ); document.write( "justified.
\n" ); document.write( "b. Estimate the regression parameters, the log clotting time for a log dose of 1.0, and draw
\n" ); document.write( "the regression line on the same graph with the scatter diagram.
\n" ); document.write( "c. Test to see if the two factors are independent; state your hypotheses and your choice of
\n" ); document.write( "the test.
\n" ); document.write( "d. Calculate the coefficient of determination and provide your interpretation.
\n" ); document.write( "

Algebra.Com's Answer #850828 by CPhill(1987)\"\" \"About 
You can put this solution on YOUR website!
Let's break down this heparin assay problem step-by-step.\r
\n" ); document.write( "\n" ); document.write( "**a) Scatter Diagram and Linearity Check**\r
\n" ); document.write( "\n" ); document.write( "1. **Scatter Diagram:**
\n" ); document.write( " * Plot the data points with \"Standard Log (Dose)\" (X) on the horizontal axis and \"Log clotting times (Y)\" on the vertical axis.
\n" ); document.write( " * You'll see a scatter of points that generally trend upwards, indicating a positive association.\r
\n" ); document.write( "\n" ); document.write( "2. **Linearity Check:**
\n" ); document.write( " * Visually inspect the scatter diagram. If the points roughly follow a straight line, a linear model is justified.
\n" ); document.write( " * In this case, the points appear to have a reasonably linear trend.\r
\n" ); document.write( "\n" ); document.write( "**b) Regression Parameters, Log Clotting Time, and Regression Line**\r
\n" ); document.write( "\n" ); document.write( "1. **Regression Parameters:**
\n" ); document.write( " * We need to find the slope (b) and y-intercept (a) of the regression line (Y = a + bX).
\n" ); document.write( " * We'll use the following formulas:
\n" ); document.write( " * b = [n(ΣXY) - (ΣX)(ΣY)] / [n(ΣX²) - (ΣX)²]
\n" ); document.write( " * a = (ΣY - bΣX) / n
\n" ); document.write( " * Where:
\n" ); document.write( " * n = number of data points (10)
\n" ); document.write( " * ΣXY = sum of (X * Y)
\n" ); document.write( " * ΣX = sum of X
\n" ); document.write( " * ΣY = sum of Y
\n" ); document.write( " * ΣX² = sum of X²
\n" ); document.write( " * Calculate the necessary sums from the data.
\n" ); document.write( " * ΣX = 10.55
\n" ); document.write( " * ΣY = 19.68
\n" ); document.write( " * ΣXY = 20.9161
\n" ); document.write( " * ΣX² = 11.2339
\n" ); document.write( " * b = [10(20.9161) - (10.55)(19.68)] / [10(11.2339) - (10.55)²]
\n" ); document.write( " * b = (209.161 - 207.624) / (112.339 - 111.3025)
\n" ); document.write( " * b = 1.537 / 1.0365 = 1.4828 (approximately)
\n" ); document.write( " * a = (19.68 - 1.4828 * 10.55) / 10
\n" ); document.write( " * a = (19.68 - 15.6425) / 10
\n" ); document.write( " * a = 4.0375 / 10 = 0.4038 (approximately)
\n" ); document.write( " * Regression equation: Y = 0.4038 + 1.4828X\r
\n" ); document.write( "\n" ); document.write( "2. **Log Clotting Time for Log Dose of 1.0:**
\n" ); document.write( " * Substitute X = 1.0 into the regression equation:
\n" ); document.write( " * Y = 0.4038 + 1.4828 * 1.0
\n" ); document.write( " * Y = 1.8866 (approximately)\r
\n" ); document.write( "\n" ); document.write( "3. **Regression Line on the Graph:**
\n" ); document.write( " * Draw the regression line (Y = 0.4038 + 1.4828X) on the same scatter diagram. You can use two points to draw the line. For example, use x=0.7 and x=1.3 and calculate their respective y values.\r
\n" ); document.write( "\n" ); document.write( "**c) Test for Independence**\r
\n" ); document.write( "\n" ); document.write( "1. **Hypotheses:**
\n" ); document.write( " * H0 (Null Hypothesis): The log clotting time (Y) and log dose (X) are independent (i.e., there is no linear relationship).
\n" ); document.write( " * H1 (Alternative Hypothesis): The log clotting time (Y) and log dose (X) are dependent (i.e., there is a linear relationship).\r
\n" ); document.write( "\n" ); document.write( "2. **Test Choice:**
\n" ); document.write( " * We can use a t-test for the slope (b) to test for independence.
\n" ); document.write( " * Test statistic: t = b / SE(b)
\n" ); document.write( " * Where:
\n" ); document.write( " * SE(b) = standard error of the slope
\n" ); document.write( " * SE(b) = √[Σ(Y - Ŷ)² / (n - 2)] / √[Σ(X - X̄)²]
\n" ); document.write( " * Ŷ = predicted Y values from the regression line
\n" ); document.write( " * X̄ = mean of X
\n" ); document.write( " * Calculate the t-statistic and compare it to the critical t-value for n - 2 degrees of freedom.
\n" ); document.write( " * Because of the length of the calculation I will not perform the t test here.\r
\n" ); document.write( "\n" ); document.write( "**d) Coefficient of Determination (R²)**\r
\n" ); document.write( "\n" ); document.write( "1. **Calculation:**
\n" ); document.write( " * R² = SSR / SST
\n" ); document.write( " * Where:
\n" ); document.write( " * SSR = sum of squares due to regression = Σ(Ŷ - Ȳ)²
\n" ); document.write( " * SST = total sum of squares = Σ(Y - Ȳ)²
\n" ); document.write( " * Ȳ = mean of Y\r
\n" ); document.write( "\n" ); document.write( "2. **Interpretation:**
\n" ); document.write( " * R² represents the proportion of the variance in the log clotting time (Y) that is explained by the log dose (X).
\n" ); document.write( " * It ranges from 0 to 1.
\n" ); document.write( " * An R² close to 1 indicates a strong linear relationship.
\n" ); document.write( " * An R² close to 0 indicates a weak linear relationship.
\n" ); document.write( " * Calculate SSR and SST.
\n" ); document.write( " * SST = 0.8176
\n" ); document.write( " * SSR = 0.8157
\n" ); document.write( " * R^2 = 0.8157/0.8176 = 0.9977.
\n" ); document.write( " * Interpretation: 99.77% of the variance in the log clotting time is explained by the log dose. This indicates a very strong linear relationship.
\n" ); document.write( "
\n" ); document.write( "
\n" );