The Definitions Of Linear Regression

Improved Essays
Linear Regression
By p Nitin
Feb 16, 2013
Linear Regression Definition states that it can be measured by using lines of regression. Regression measures the amount of average relationship or mathematical relationship between two variables in terms of original units of data. Whereas, correlation measures the nature of relationship between two variables. i.e.., positive or negative or uncorrelated.

Regression is used for estimating the value of one variable if you know the value of other variable. i.e.., One of the variable is independent variable and other variable is dependent variable.

Let ( Xi , Yi ) ; i = 1, 2, 3, ...................n the n pairs of observations are given now plot all these points in XY-plane which reserves a scatter diagram.
…show more content…
Let ( Xi , Yi ) ; i = 1,2,3,................ n be n-pairs of observations are given and there are representing a linear regression.

We know that, coefficient of correlation

r = cov ( X , Y ) / (sigmaX sigmaY ) where cov ( X , Y ) = ( 1/n) sum XiYi - barX barY

and X2 = (1/n) sum ( Xi - barX
…show more content…
( 5 )

cov ( X, Y ) = ( 1/n)sum Xi Yi - barX barY

sigma X2 = ( 1/n )sum X2i - barX 2

Multiplying equation ( 4 ) with X and sub from ( 5 )

cov ( X , Y ) = b sigma X2

b = cov ( X , Y ) / sigma X2

Substitute the value of b in ( 4 )

rArr barY = a + cov ( X , Y ) barX / sigma X2

a = barY - cov ( X , Y ) barX / sigma X2

Substitute the value of a in ( 1 )

Y = barY - cov ( X , Y ) barX / sigma X2 + cov ( X , Y ) X / sigma X2

Y - barY = cov ( X , Y ) ( X - barX ) / sigma X2

Y - barY = rsigma X sigma Y ( X -barX ) / sigma X2

Y - barY = r sigma Y ( X - barX ) / sigma X

Y - barY = bYX ( X - barX )

Similarly, we can prove that regression equation of X-on-Y is

X - barX = bXY ( Y - barY )

Types of Linear Regression

There are two different types of linear regression. They are,

Simple Linear Regression
Multiple Linear Regression

Examples

Given below are some examples on how to calculate linear regression.

Example:

10 observations on price X and supply "Y" the following data was obtained sum X = 130, sum Y = 220, sum X2 = 2288, sum2 = 5506, sum XY = 3467 Find the line of regression of Y on X. Y

Solution:

The line of regression of Y on

Related Documents

  • Improved Essays

    Note that y −1 i mod ni exist since yi and ni are coprime by construction. Notice that when j 6= r, yjzj ≡ 0 mod nr and when j = r, yjzj ≡ 1 mod nr. Then x = X k i=1 aiyizi (7) satisfies all of the congruences in the statement of the theorem. 6 For example, suppose we want to find x such that x ≡ 1 mod 5 x ≡ 3 mod 7 x ≡ 2 mod 9. We then have that N = (5)(7)(9) = 315 and y1 = 315/5 = 63, y2 = 315/7 = 45, and y3 = 315/9 = 35.…

    • 1385 Words
    • 6 Pages
    Improved Essays
  • Superior Essays

    Statistics Review

    • 1923 Words
    • 8 Pages

    It is suitable for either numerical or categorical data (Table 2). It compares the means of 2 groups to determine if they are the same or not. It is two types (paired and independent t test). Analysis of variance F test is a generalization of the t test (or Wilcoxon or Mann-Whitney U test) when 3 or more groups are being compared. There are both parametric and nonparametric analyses of variance referred to as ANOVA by sum of squares or ANOVA by rank, respectively (Figure 2).…

    • 1923 Words
    • 8 Pages
    Superior Essays
  • Superior Essays

    In Hardy Weinberg equilibrium equations, if we associated the genotype frequencies from the parent generation to the offspring generation in a population, we can conclude that there may or may not have an evolution. If it does, we can determine the proportions and direction of a…

    • 897 Words
    • 4 Pages
    Superior Essays
  • Great Essays

    Calculate descriptive statistics for the mean and median columns that where created above. Pull up Stat > Basic Statistics > Display Descriptive Statistics and set Variables: to mean and median. The output will show up in your Session Window. Print this information. Calculating Confidence Intervals for one Variable ?…

    • 2523 Words
    • 11 Pages
    Great Essays
  • Improved Essays

    It is a mixture of analysis of variance (ANOVA) and principal component analysis (PCA). The GEI was calculated in AMMI by considering first two principal components i.e. interaction principal component axes (IPCA 1 and IPCA 2). ANOVA model was used to analyze the trait data with main effects of genotype and environment without the interaction, then, a principal component analysis was combined using the standardized residuals. These residuals comprise the experimental error and the effect of the GEI.…

    • 1325 Words
    • 6 Pages
    Improved Essays
  • Improved Essays

    For area the expected was 1.52, the volume 4.23, and for density 4.29. Finally I found the expected uncertainty buy using the formula (original value)*(expected percentage uncertainty)/100. The values for area, volume, and density…

    • 976 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    Whales Observation Report

    • 1796 Words
    • 8 Pages

    Conventionally, the testing error of k-fold cross validation is applied to evaluate the generalization error (where k=5 )[22]. Therefore, the fitness function is defined…

    • 1796 Words
    • 8 Pages
    Improved Essays
  • Improved Essays

    For quantitative data, the Shapiro-Wilk test for normality was performed. For data that were not normally distributed median and interquartile range (expressed as 25th -75th percentiles) were calculated and Mann-Whitney test was used for comparison between independent groups while Wilcoxon signed rank test was used to compare related samples. Spearman's correlation was performed. For normally distributed data, values were expressed as mean and standard deviation and independent sample t test was used for comparison between independent groups. For qualitative data, Pearson's Chi-square was used.…

    • 1165 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    Second, it provided the definition of standard error of measurement. The standard error of measurement is the standard deviation of errors of measurement, which can be expressed as the equation SEM=S_E=√(S_X^2 (1-r_(XX^ ' )))=S_X √(1-r_(XX^ ' ) ). If the test reliability is 0, SEM would be equal to the standard deviation of the observed scores; if the tess reliability is 1, SEM would be 0. In addition, different types of reliability coefficient used to calculate SEM could provide different SEM…

    • 729 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    Hsc10 Unit 9 Study Guide

    • 6809 Words
    • 28 Pages

    Figure 2-1 12 UTAR FHSC1014 Mechanics Trimester 1 Theory: Forces which has a magnitude and direction is called vector quantity. The additions of two or more forces called resultant forces. The magnitude and direction of the resultant is   obtained using the parallelogram law as shown in figure. If P and Q are two forces added together and θ, is the angle between them, then the resultant R obtained is the diagonal of   the parallelogram constructed by P and Q .  P θ    R  PQ  Q Figure 2-2 Using the cosine rule:   2 2   P  Q  P  Q  2 P Q cos 180 o      2 2    R  P  Q  2 P Q cos  From the equations above, if the angle between two forces is known then the magnitude of the resultant can be determined.…

    • 6809 Words
    • 28 Pages
    Decent Essays