WizIQ helps you learn and teach online - any subject you can think of!
Join for FREE

Correlation and Linear Regression

Add to Favourites
Post to:

CORRELATIONANDREGRESSION.Page1of2CORRELATION.Correlationconcernstherelationshipbetweentworandomvariables.Pairsofobservationsofsuchvariablesproduceabi-variatedistribution.Weareinterestedinthelinearcorrelationbetweenthetwovariables.Correlationmaybepositive(inwhichcase,bothvariablesincreasetogether)oritmaybenegative(inwhichcase,onedecreaseswhentheotherincreases).Ifnopatterncanbeseenthentheremaybenocorrelationbetweenthetwovariables.Generallyifwewishtoinvestigatethecorrelationbetweentwovariables,wewillfirstplotascatterdiagram.Wecanthenlookatthediagramtoseeifthereareanyroguevalues(outliers).Thesemayneedtobeinvestigatedandpossiblydiscounted(removed)butthispartofthetopicisnotpartofyoursyllabus.CorrelationismeasuredbytheProduct-momentcorrelationcoefficient(PMCC)‘r’,whichisgenerallyjustcalledthecorrelationcoefficient.yyxxxySSSr.(WherenyxyxSniiniiiniixy111nxxSniiinixx1221)(andnyySniiiniyy1221)(Thesemaylookcomplicatedbutifexpressedintermsoftabulatedvalues,theyareeasytoseeandcalculateastheexamplebelowdemonstrates:ixiy2ix2iyiiyxniix1=(A)niiy1=(B)niix12=(C)niix12=(D)niiiyx1=(E)Intermsofthecolumntotals(A),(B),(C)…(E).Sxy=(E)–nBA))((,Sxx=(C)–nA2)(,Syy=(D)-nB2)(CORRELATIONANDREGRESSION.Page2of2Thecorrelationcoefficientwillalwaysbetween-1and+1,-1r+1.Perfectnegativecorrelationhasr=-1.Perfectpositivecorrelationhasr=+1.Ifr=0,thereisnocorrelationatall.Generallyifriscloseto+1or-1,thencorrelationisconsideredtobehighandifcloseto0,(eithernegativeorpositive)correlationisconsideredtobelow.Itmayoftenbeusefultousecodingonthexandyvalueswhenmeasuringcorrelationasthismaysimplifythevaluesbeinganalysedandhasnoteffectatalonthefinalvalueofr.REGRESSION.Ifweareinvestigatingtherelationshipbetweentworandomvariablesandifwefindthatthereisastrongrelationshipbetweenthem,thenwemaytrytofindalaworequationthatlinksthetwovalues.Wewillonlybelookingforalinearequationandthestraightlineobtainediscalledtheregressionline.Theregressionlineofyonxisy=a+bxwherexiscalledtheexplanatory(orindependent)variableandyiscalledtheresponse(ordependent)variable,becausetheyvalueDEPENDSonthevalueofthexvalue.TheexplanatoryvalueisalwaysplottedHORIZONTALLYandtheRESPONSEvariableplottedVERTICALLY.Thefullnameoftheregressionlineistheleastsquaresregressionlineandisknownasthelineofbestfit.,y=a+bx,aistheyinterceptandbisthegradientoftheline.Thevaluesofbandaarefoundfromthefollowingresults.xxxySSbandxbya,wherexandyarethemeansofthexandydatarespectively.Itispossibletousetheregressionlinetomakeestimatesofthemeanvalueoftheresponsevariable(y)foranyvalueoftheexplanatoryvariablewithintherangeofthedata.ThisiscalledINTERPOLATION.N.Byoumustrememberthatyoudonotknowwhathappensoutsidetherangeofthedatasopredictingvaluesoftheresponsevariableoutsidethedatarange,calledEXTRAPOLATIONisunreliableandmustbeviewedwithcaution.

Description
Notes that introduce and explain correlation and linear Regression

Comments

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subject you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
13 Members Recommend
8 Followers

Your Facebook Friends on WizIQ