Professional Documents
Culture Documents
Inanearliertechnologyassignment,youcreatedascatterplotoftheUSStudenttoTeacherRatiofor
publicschoolsfromthetablebelow.Thescatterplotisshowntotherightofthetable.
Yearsafter
2000
USStudentto
TeacherRatio
16.048
15.893
15.900
15.900
15.800
15.657
15.540
Nowthatwehavethescatterplotofthedata,wewanttofindamodelforthedata.Inthistechnology
assignment,wellinvestigatetwomodels.Thefirstmodelwellfindisalinearmodeloftheform
y mx b .
Afterfindingthelinearmodel,wellfindaquadraticmodeloftheform
y ax 2 bx c
YoullusethestudenttoteacherratiodataforthestateyouhavebeenassignedinProject1.
Tofindthesemodels,wellusethelinearandquadraticregressionfeaturesonyourcalculatorandin
Excel.Inthistechnologyassignmentyoulladdthebestlinefoundthroughlinearregressiontothe
scatterplotyoucreatedinearliertechnologyassignmentsaswellasthebestquadraticfunctionfound
throughquadraticregression.
UseLinearRegressiontoFindtheBestLineonaGraphingCalculator
Inanearliertechnologyassignment,youusedyourcalculatortomakeascatterplotofsomedata.Well
startfromthatscatterplotandaddalineofbestfit.
TechnologyAssignment:RegressionModel
1. Pressstoseeyouscatterplot.Ifyourdatadoesnot
appear,refertotheearliertechnologyassignmentsto
recreatethem.
2. LinearregressionisperformedusingtheLinRegcommand
onaTIgraphingcalculator.Startbygettingbacktothe
homescreenbypressingyz.
3. Clearthehomescreenbypressing.
4. Press.
5. Press~tomovetotheCALCmenu.
6. UsetohighlightLinReg(ax+b)andpressor
press.ThispastestheLinRegcommandtothehome
screen.
7. TheLinRegcommandneedstoknowwherethedatais
storedandwheretopastetheequationcorrespondingto
thelinearmodel.Pressyy.ThisplacesL1and
L2separatedbycommasimmediatelyafterthecommand.
Locationofyvalues
Locationofxvalues
TechnologyAssignment:RegressionModel
8. Totellthecalculatorwheretopastetheequation,press
~.ThispastesY1attheendofthe
commandmeaningthattheequationwillbepastedintoY1
intheequationeditor.
9. PresstoexecutetheLinRegcommand.Thisscreen
tellsyouthatthebestlinethroughthisdatais
y 0.0748571429 x 16.04428571 .
10. Ifyoudonotseethecorrelationcoefficient(thevalueforr),
pressytoaccessthecalculatorscatalogofcommands.
11. UsethebuttontofindDiagnosticOn.
12. Press.WhenyouusetheLinRegcommand
again(steps6through8),thecorrelationcoefficientwillbe
shown.
13. Pressotoseethecontentsoftheequationeditor.Notice
thatPlot 1ishighlightedindicatingthatyourscatterplot
willappear.Y1istheequationofthebestfitline.
TechnologyAssignment:RegressionModel
14. Pressstoseethescatterplotandline.
UseQuadraticRegressiontoFindtheBestParabolaonaGraphingCalculator
Nowletsaddaparabolaofbestfittothescatterplotusingquadraticregression.
1. Pressstoseeyouscatterplot.Hereyouseethe
scatterplotandlinearmodel.
2. QuadraticregressionisperformedusingtheQuadReg
commandonaTIgraphingcalculator.Startbygettingback
tothehomescreenbypressingyz.
3. Clearthehomescreenbypressing.
4. Press.
5. Press~tomovetotheCALCmenu.
TechnologyAssignment:RegressionModel
6. UsetohighlightQuadRegandpressorpress.
ThispastestheQuadRegcommandtothehomescreen.
7. TheQuadRegcommandneedstoknowwherethedatais
storedandwheretopastetheequationcorrespondingto
thelinearmodel.Pressyy.ThisplacesL1and
L2separatedbycommasimmediatelyafterthecommand.
Locationofxvalues
Locationofyvalues
8. Totellthecalculatorwheretopastetheequation,press
~.ThispastesY2attheendofthe
commandmeaningthattheequationwillbepastedintoY2
intheequationeditor.
9. PresstoexecutetheQuadRegcommand.Thisscreen
tellsyouthatthebestparabolathroughthisdatais
approximately y 0.009 x 2 0.021x 15.999 .
10. Pressotoseethecontentsoftheequationeditor.Notice
thatPlot 1ishighlightedindicatingthatyourscatterplot
willappear.Y1istheequationofthebestfitlineandY2is
theequationofthebestfitparabola.
TechnologyAssignment:RegressionModel
11. Pressstoseethescatterplotandline.
UseLinearRegressiontoFindtheBestLineinExcel
Inanearliertechnologyassignment,youusedExceltomakeascatterplotofsomedata.Wellstartfrom
thatscatterplotandaddalineofbestfitusingExcel.Excelreferstothelineofbestfitfoundthrough
linearregressionasalineartrendline.
1. Opentheworksheetcontainingthescatter
plotandlinefromtheprevioustechnology
assignment.
2. Rightmouseclickononeofthedata
pointsinthescatterplot.Youmayhaveto
rightclickmorethanoncetomakethe
menushowntotherightappear.
3. UseyourmousetoselectAddTrendline
TechnologyAssignment:RegressionModel
4. TheFormatTrendlineboxwillappearin
yourworksheet.ClickontheLinearoption
toinsurelinearregressionisperformedon
thedata.
5. Atthebottomoftheworksheet,check
DisplayEquationonchartandDisplayR
squaredvalueonchart.
6. SelectClose.
7. Thelineofbestfitisaddedtothegraphasshownbelow.Youcanuseyourmousetoselectand
dragtheequationsformulatoamoreconvenientlocation.
TechnologyAssignment:RegressionModel
8. Noticethatthelineofbestfitstops
abruptlyatx=6.Youcanforcethelineto
extendfartherbyrightmouseclickingon
theline.
9. SelectFormatTrendline.
10. Bydefault,thelineofbestfitisonly
plottedbetweenthelowestandhighestx
values.Youcanextenditforwardor
backwardsfromthedatapointsby
changingthevaluesintheForecastsection
oftheFormatTrendlinebox.Changethe
entrynextto1asshowntotheright.
11. SelectClosetoupdatethegraph.
TechnologyAssignment:RegressionModel
Noticethatthelinenowextends1unitbeyondthelastdatapoint.Bymodifyingtheentrynext
toForwardorBackward,youcanmakethelineextendasmanyunitsfromthedataasneeded.
12. SaveyourExcelworksheettoinsureyoudonotlosetheworkyouhavedonesofar.
UseQuadraticRegressiontoFindtheBestParabolainExcel
Inanearliertechnologyassignment,youusedExceltomakeascatterplotofsomedata.Wellstartfrom
thatscatterplotandaddalineofbestfitusingExcel.Excelreferstothelineofbestfitfoundthrough
linearregressionasalineartrendline.
1. Opentheworksheetcontainingthe
scatterplotandlinefromaboveifitis
notalreadyopen.
2. Rightmouseclickononeofthedata
pointsinthescatterplot.Youmayhave
torightclickmorethanoncetomake
themenushowntotherightappear.
3. UseyourmousetoselectAdd
Trendline
TechnologyAssignment:RegressionModel
4. TheFormatTrendlineboxwillappearin
yourworksheet.ClickonthePolynomial
option.Theorderofthepolynomialis
thesameasthedegreesomakesure2
ischosen.
5. Atthebottomoftheworksheet,check
DisplayEquationonchartandDisplayR
squaredvalueonchart.
6. SelectClose.
7. Theparabolaofbestfitisaddedtothegraphasshownbelow.Youcanuseyourmousetoselect
anddragtheequationsformulatoamoreconvenientlocation.
TechnologyAssignment:RegressionModel
8. Noticethattheparabolaofbestfitstops
abruptlyatx=6.Youcanforcethe
parabolatoextendfartherbyright
mouseclickingontheparabola.
9. SelectFormatTrendline.
10. Bydefault,theparabolaofbestfitis
onlyplottedbetweenthelowestand
highestxvalues.Youcanextendit
forwardorbackwardsfromthedata
pointsbychangingthevaluesinthe
ForecastsectionoftheFormatTrendline
box.Changetheentrynextto1as
showntotheright.
11. SelectClosetoupdatethegraph.
TechnologyAssignment:RegressionModel
12. SaveyourExcelworksheettoinsureyoudonotlosetheworkyouhavedonesofar.
13. Tofinishthistechassignment,youneed
tocopyyourgraphfromExceltoword
processingdocumentinWord(ora
similarprogram).Clickontheedgeof
yourgraphtoselectit.
14. OntheHometab,leftclickontheCopy
buttontocopythegraphtothe
clipboard.
TechnologyAssignment:RegressionModel
15. OpenWord(oranotherwordprocessing
program).
16. Atthetopofthedocument,typeyour
name,class,andthedatefollowedbya
carriagereturn(Enter).
17. InWord,leftclickontheHometab.
18. SelectPastetopastethegraphintoyour
Worddocument.Yourdocumentshould
looksimilartotheoneshowntothe
right.
19. Finally,youneedtosavethisdocument
toaconvenientlocation.Intheupper
lefthandcornerofWord,leftclickon
thediskicon.
20. Givethedocumentandappropriate
nameandlocationandselectSave.
21. YoucanalsoselecttheOfficebuttonto
theleftofthediskicon.Thisisusefulto
savethedocumentwithanewfile
name.InthiscaseyouwouldselectSave
Asandthengiveanappropriatename.
Ifyouareworkingonadocumentover
severaldays,itisadvisabletosavethe
documentwithaslightlydifferentname
oneachdaybasedonthedate.This
allowsyoutorecoverearlierversionofa
documentincaseyouneedtoreferto
earlierwork.