<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id22712217">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">What is Linear Regression?</name>
<metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:bib="http://bibtexml.sf.net/">1.1</md:version>
  <md:created xmlns:bib="http://bibtexml.sf.net/">2006/02/21 23:48:44.926 US/Central</md:created>
  <md:revised xmlns:bib="http://bibtexml.sf.net/">2006/02/22 07:25:51.681 US/Central</md:revised>
  <md:authorlist xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:bib="http://bibtexml.sf.net/" id="kolobl">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Lekulana</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">Emmanuel</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Kolobe</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">klekulana@hotmail.com</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="kolobl">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Lekulana</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">Emmanuel</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Kolobe</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">klekulana@hotmail.com</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist xmlns:bib="http://bibtexml.sf.net/">
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">Dependent Variable</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">Independent variable</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">Linear Regresion</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">Regression Analysis</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:bib="http://bibtexml.sf.net/">This module briefly introduces linear regression. It also includes an example and an exercise.</md:abstract>
</metadata>
<content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id27291171"><term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Linear regression</term> is a method of estimating
the conditional expected value of one variable, y, given the values
of some other variable, x. The variable of interest, y, is called
the <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://cnx.rice.edu/content/m13446/latest">dependent variable</link>. The other variable, x, is called the
<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://cnx.rice.edu/content/m13448/latest">independent variable</link>. [<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://en.wikipedia.org/wiki/Linear_regression">Wikipedia2006L</link>] The term linear is used because the relation
of the dependent to the independent variables is assumed to be a
linear function with two parameters. If this is not the case, then
non-linear regression must be performed.</para>
<example xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="element-945"><para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="element-377">
		A modeller may relate the weights of individuals to their heights using a linear regression model. 
</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="element-378">
Before attempting to fit a linear model to observed data, a modeller should first determine whether or not there is a relationship between the variables of interest. A scatterplot can be a helpful tool in determining the strength of the relationship between two variables. A valuable numerical measure of association between two variables is the correlation coefficient, which is a value between -1 and 1 indicating the strength of the association of the observed data for the two variables. 
</para></example><exercise xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="element-795"><problem xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="element-362">
			How can a linear regression be modelled?
		</para>
	</problem>

	<solution xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="element-275">
			A linear regression line has an equation of the form Y = a + bX, where X is the independent variable and Y is the dependent variable. The slope of the line is b, and a is the intercept: the value of Y when X = 0. 
</para>
</solution>
</exercise><para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id24129074"><term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">References:</term></para>
<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="bulleted" id="id22691116"><item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Wikipedia2006L. "<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Linear Regression</emphasis>," Wikimedia Foundation Inc, 
<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://en.wikipedia.org/wiki/Linear_regression">
http://en.wikipedia.org/wiki/Linear_regression</link>, Last
Accessed on 20 February 2006</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Author of Assignment 3: Lekulana Kolobe</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Author of Assignment 1: Arnold Mwesigye</item>
</list>
</content>
</document>
