Preview

Linear Regression

Good Essays
Open Document
Open Document
525 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Linear Regression
A. DETERMINE IF BLOOD FLOW CAN PREDICT ARTIRIAL OXYGEN.
1. Always start with scatter plot to see if the data is linear (i.e. if the relationship between y and x is linear). Next perform residual analysis and test for violation of assumptions. (Let y = arterial oxygen and x = blood flow). twoway (scatter y x) (lfit y x)

regress y x

rvpplot x

2. Since regression diagnostics failed, we transform our data.
Ratio transformation was used to generate the dependent variable and reciprocal transformation was used to generate the independent variable.

3. Check if the model is adequate by checking the t-statistic, R2 and F-statistic.
F statistic reveals that the equation used to determine the relationship between the x and y is functional. Using the test statistic for the test of coefficients, it was revealed that the constant value in the equation is not significantly different from 0. Also, it was revealed that the transformed x, significantly explains the dependent variable. Also, it was revealed that the measure of proportion of variability explained by the fitted value is relatively high with 96.23%. This means that transformed data in blood flow explains 96.23% of the variation in the transformed data in arterial oxygen.
4. Check the normality of residuals and equal variances predict r, resid kdensity r, normal

pnorm tx

qnorm tx

rvpplot tx

Before we could perform the numerical test, we must first generate the r by the command “predict r, resid” swilk r

5. Check the homoscedasticity of the residuals by using rvfplot, yline(0)

Further check assumption by using the numeric tests:

6. CONCLUSION: I may conclude that the best model fitted on the data is and that the model is adequate. Also, the assumptions of normality and equal variances were met.

B. DETERMINE THE STOPPING DISTNCE AT VARIOUS SPEEDS.
1. Determine the scatter plot first to check normality. (Let y = stopping distance and x = speed). twoway (scatter

You May Also Find These Documents Helpful

  • Good Essays

    Nt1330 Unit 5 Study Guide

    • 398 Words
    • 2 Pages

    6. Determine the value of the Correlation Coefficient. [Remember that the r is the square root of r2] Comment on how well the regression line fits the data.…

    • 398 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Mat 540 Assignment 1

    • 1196 Words
    • 5 Pages

    This causes the shape of the box plot to be quite spread out with the median and quartiles close together. The female writing hand box plot is also the same length as the writing hand box plot; this is because the minimum and maximum data from the writing hand came from females. When putting the male and female writing hand box plots in comparison to each other, you can see that females have a much larger range than the males as discussed before. This causes the female box plot to have a lower, lower quartile and median and a higher upper quartile. The median for males is only slightly higher than the median for females, keeping in mind that males had data from an eleven (11) year old and females had data from a forty two (42) year old. This can cause the data to be slightly swayed as there were not equal age groups for both box…

    • 1196 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    physio 9 lab and exam

    • 600 Words
    • 3 Pages

    Exercise 5: Cardiovascular Dynamics: Activity 1: Studying the Effect of Blood Vessel Radius on Blood Flow Rate Lab Report…

    • 600 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Select a continuous variable that you suspect would not follow a normal distribution. a) My answer: my continuous variable is “Age” b) Create a graph for the variable you have selected to show its distribution. My answer:…

    • 1838 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    Restate your Hypothesis and state whether or not if it is correct and why. Refer to your data and give numbers.…

    • 300 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Stat 231 Course Notes

    • 7029 Words
    • 29 Pages

    Probability Theory Statistical Models 4.1 4.2 Generalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Types of Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .…

    • 7029 Words
    • 29 Pages
    Satisfactory Essays
  • Good Essays

    * To compare the plot generated for pressure versus blood flow to those generated for radius, viscosity, and length.…

    • 1736 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Regression Model

    • 1130 Words
    • 5 Pages

    By running the above regression model for each brand, we got the following elasticity matrix and the figures for “V” and “C.” Note that we used the average price and quantity for P and Q to calculate each brand’s elasticity.…

    • 1130 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    a. Make a scatter plot of the data, draw a line of best fit, and then find the equation of the line of best fit. Show and explain your work.…

    • 196 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    4 Perform Initial Data Screening. What did you find regarding missing values, univariate outliers, multivariate outliers, normality?…

    • 1961 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Ap Statistics

    • 668 Words
    • 3 Pages

    |T F |9. |The coefficient of determination is equal to the positive square root of Pearson's r. |…

    • 668 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Yes Man

    • 405 Words
    • 2 Pages

    The purpose of this experiment is to review simple mathematical and graphing techniques. In Part A mostly “mathematical treatments of data” will be reviewed as well as a basic review of graphing. Part B will expand on more elaborate graphing techniques.…

    • 405 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    "The Patriot" is an excellent movie. It may very well be one of the most exciting…

    • 658 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Sas Lecture

    • 676 Words
    • 3 Pages

    *Run a linear regression model and obtain the residuals. Also get the Durbin Watson test statistic results;…

    • 676 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Variables identification .......................................................................................................................... 3 Scatter Plots .......................................................................................................................................... 4 Correlation ............................................................................................................................................. 4 Regression ............................................................................................................................................ 4 Answers to Questions ................................................................................................ 6…

    • 1919 Words
    • 8 Pages
    Powerful Essays