Wednesday, January 26, 2011

...EXCEL...

Today, I've learnt how to make linear regression and also quadratic regression using Microsoft Office Excel 2007.

LINEAR REGRESSION

In statisticslinear regression is an approach to modeling the relationship between a scalar variable y and one or more variables denoted X. Models of the unknown parameters are estimated from the data using linear functions. Such models are called linear models.


Linear regression was the first type of regression analysis to be studied rigorously, and to be used extensively in practical applications. This is because models which depend linearly on their unknown parameters are easier to fit than models which are non-linearly related to their parameters and because the statistical properties of the resulting estimators are easier to determine.



Linear regression has many practical uses. Most applications of linear regression fall into one of the following two broad categories:
  • If the goal is prediction, or forecasting, linear regression can be used to fit a predictive model to an observed data set of y and X values. After developing such a model, if an additional value of X is then given without its accompanying value of y, the fitted model can be used to make a prediction of the value of y.
  • Given a variable y and a number of variables X1, ..., Xp that may be related to y, then linear regression analysis can be applied to quantify the strength of the relationship between y and the Xj, to assess which Xj may have no relationship with y at all, and to identify which subsets of the Xj contain redundant information about y, thus once one of them is known, the others are no longer informative.


Application of linear regression


Trend line
trend line represents a trend, the long-term movement in time series data after other components have been accounted for. It tells whether a particular data set (say GDP, oil prices or stock prices) have increased or decreased over the period of time. A trend line could simply be drawn by eye through a set of data points, but more properly their position and slope is calculated using statistical techniques like linear regression. Trend lines typically are straight lines, although some variations use higher degree polynomials depending on the degree of curvature desired in the line.
Trend lines are sometimes used in business analytics to show changes in data over time. This has the advantage of being simple. Trend lines are often used to argue that a particular action or event (such as training, or an advertising campaign) caused observed changes at a point in time. This is a simple technique, and does not require a control group, experimental design, or a sophisticated analysis technique. However, it suffers from a lack of scientific validity in cases where other potential changes can affect the data.
QUADRATIC REGRESSION

In mathematics, a quadratic equation is a polynomial equation of the second degree. The general form is 
ax^2+bx+c=0,\,
where x represents a variable, and ab, and cconstants, with a ≠ 0. (If a = 0, the equation becomes a linear equation.The constants ab, and c, are called respectively, the quadratic coefficient, the linear coefficient and the constant term or free term. The term "quadratic" comes from quadratus, which is the Latin word for "square".
In statistics, to build a second order (quadratic) model, linear regression is used, sometimes iteratively, to obtain results. 

These are the graphs that i've made using M.Excel..









No comments:

Post a Comment