Simple Linear Regression

  • Uploaded by: SpreadsheetZONE
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Simple Linear Regression as PDF for free.

More details

  • Words: 996
  • Pages: 34
FORECAST BY SIMPLE LINEAR REGRES

Linear regression attempts to model the relationship between two variables by fitting a line variable is considered to be an explanatory variable, and the other is considered to

Function of Reg a b y 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

240 250 175 186 245 250 260 190 245 250 185 120 135 189 240 261 140 250 165 260 235 197 240 235 245 233 246 250 247 185

225.91 226.40 226.89 227.38 227.87 228.37 228.86 229.35 229.84 230.33 230.82 231.31 231.80 232.29 232.78 233.28 233.77 234.26 234.75 235.24 235.73 236.22 236.71 237.20 237.69 238.19 238.68 239.17 239.66 240.15 240.64 241.13

Error -14.09 -23.60 51.89 41.38 -17.13 -21.63 -31.14 39.35 -15.16 -19.67 45.82 111.31 96.80 43.29 -7.22 -27.72 93.77 -15.74 69.75 -24.76 0.73 39.22 -3.29 2.20 -7.31 5.19 -7.32 -10.83 -7.34 55.15

Forecast the data o

Forecast period

75

Forecasted value: y = 00.225 + 00.00

Data - For 275 250 225 200

Unit

Period (t)Data (y)Forecast

intersection estimate slope estimate data as a function of period

175 150 125 100 75 50 25 0 12 34567891 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 0123 4567890123 45678901234

Errors in F 120 110 100 90 80

33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

241.62 242.11 242.60 243.09 243.59 244.08 244.57 245.06 245.55 246.04 246.53 247.02 247.51 248.00 248.50 248.99 249.48 249.97 250.46 250.95 251.44 251.93 252.42 252.91 253.41 253.90 254.39 254.88

Unit

Errors in F 120 110 100 90 80 70 60 50 40 30 20 10 0 -10 -20 -30 -40

12 3456 7891 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 0123 4567890123 45678901 234

Time

INEAR REGRESSION

variables by fitting a linear equation to observed data. One he other is considered to be a dependent variable. Function of Regression

ction estimate stimate a function of period

225.4194 0.4910 y = 00.225 + 00.000.t

Forecast the data of period m

y = 00.225 + 00.000 x 75

262.24

Data - Forecast Chart

Forecast Observed Data

11 1111112222 22222233333 33333444444 44445555555 5556 23 4567890123 45678901234 56789012345 67890123456 7890

Errors in Forecast

Data? 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0

Errors in Forecast

Error

111 1111112222 22222233333 3 33334444 44 44445555555 55 56 123 4567890123 45678901234 5 67890123 45 67890123456 78 90

Time

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

XXavg YavgX-Xavg Y-Yavg (X-Xavg)^2 <--sum slope est inter.est. 1 15.5 218.3 -14.5 21.7 210.25 2247.5 0.49 225.42 2 -13.5 31.7 182.25 3 -12.5 -43.3 156.25 4 -11.5 -32.3 132.25 5 -10.5 26.7 110.25 6 -9.5 31.7 90.25 7 -8.5 41.7 72.25 8 -7.5 -28.3 56.25 9 -6.5 26.7 42.25 10 -5.5 31.7 30.25 11 -4.5 -33.3 20.25 12 -3.5 -98.3 12.25 13 -2.5 -83.3 6.25 14 -1.5 -29.3 2.25 15 -0.5 21.7 0.25 16 0.5 42.7 0.25 17 1.5 -78.3 2.25 18 2.5 31.7 6.25 19 3.5 -53.3 12.25 20 4.5 41.7 20.25 21 5.5 16.7 30.25 22 6.5 -21.3 42.25 23 7.5 21.7 56.25 24 8.5 16.7 72.25 25 9.5 26.7 90.25 26 10.5 14.7 110.25 27 11.5 27.7 132.25 28 12.5 31.7 156.25 29 13.5 28.7 182.25 30 14.5 -33.3 210.25 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-16%22%3f%3e%0d%0a%3cWizardSettin 3cIsDisablingEnabled%3efalse%3c%2fIsDisablingEnabled%3e%0d%0a++++++++++++% fIsRequired%3e%0d%0a++++++++++++%3cTypeName%3eText+Box%3c%2fTy %3e%0d%0a++++++++%3cBorder%3etrue%3c%2fBorder%3e%0d%0a+ VerticalAlign+%2f%3e%0d%0a++++++++++++++++%3cCellH ++++++++++++%3cHeight%3e9.75%3c%2fHeight%3e ze%3e11%3c%2fFontSize%3e%0d%0a+++++++ Export+%2f%3e%0d%0a++++++++++ port+%2f%3e%0d%0a++++++ ++++++++++%3cMer

UEsFBgAAAAAAAAAAAAAAAAAAAAAAAA%3d%3d

ormated%3efalse%3c%2fPSCFormated%3e%0d%0a++++++++++++++++%3cStyle%3eClass260 +++++++++++++++%3cGrid+%2f%3e%0d%0a++++++++++++++++%3cExport+% 3c%2fPSCFormated%3e%0d%0a++++++++++++++++%3cStyle%3eClass249% tSize%3e%0d%0a++++++++++++++++%3cX%3e2%3c%2fX%3e%0d% pan+%2f%3e%0d%0a++++++++++++++++%3cColSpan+%2f c%2fX%3e%0d%0a++++++++++++++++%3cY%3e21 c%2fMerge%3e%0d%0a++++++++++++++++ 3eFalse%3c%2fCellHasFormula%3e%0d% %3cIsHidingEnabled%3efalse%3c +++%3cCellHasFormula

%3e%0d%0a++++++++++++++++%3cHeight%3e15%3c%2fHeight%3e%0d%0a++++++++++ Height%3e15%3c%2fHeight%3e%0d%0a++++++++++++++++%3cAlign%3eCenter%3c cFormControls+%2f%3e%0d%0a++++++++++++++++%3cGrid+%2f%3e%0d% 11%3c%2fFontSize%3e%0d%0a++++++++++++++++%3cX%3e18%3c ++++++++++%3cHeight%3e15%3c%2fHeight%3e%0d%0a+++ +++++++%3cFormControls+%2f%3e%0d%0a+++++++ cFontSize%3e11%3c%2fFontSize%3e%0d%0a+++ ox%3c%2fTypeName%3e%0d%0a+++++ ++++++++++++++++%3cFo ++++++++++%3cFon

a++++++++++++++++%3cPSCFormated%3efalse%3c%2fPSCFormated%3e%0d%0a+++++++ %3e%0d%0a++++++++++++++++%3cFormControls+%2f%3e%0d%0a++++++++++ %0d%0a++++++++++++++++%3cFontSize%3e11%3c%2fFontSize%3e%0d%0a ++++++++%3cTD%3e%0d%0a++++++++++++++++%3cPSCFormat 0a++++++++++++++++%3cVerticalAlign+%2f%3e%0d%0a++ ++%3cText+%2f%3e%0d%0a++++++++++++++++% isible%3e%0d%0a++++++++++++++++%3c% ++++++++++++++%3cWrapText%3e +++++++++%3cCellHasFormu %0d%0a++++++++++

c%2fY%3e%0d%0a++++++++++++++++%3cImages+%2f%3e%0d%0a+++++++++++++++ ++%3cCellHasFormula%3eFalse%3c%2fCellHasFormula%3e%0d%0a++++++++++++++ +++++++++++%3cStyle%3eClass270%3c%2fStyle%3e%0d%0a++++++++++ +++++%3c%2fTD%3e%0d%0a++++++++++++++%3cTD%3e%0d%0a +++++++++++++%3cFontSize%3e11%3c%2fFontSize%3e%0d% %0a++++++++++++++++%3cFormat%3eGeneral%3c ++++++%3cMerge%3eFalse%3c%2fMerge%3e% +++++++++%3cFormControls+%2f%3 %3c%2fHeight%3e%0d%0a+++ ++++++++++++++%

0d%0a++++++++++++++++%3cPSCFormated%3efalse%3c%2fPSCFormated%3e%0d%0a++++ 3e%0d%0a++++++++++++++++%3cFontName%3eCalibri%3c%2fFontName%3e%0d%0 ign%3e%0d%0a++++++++++++++++%3cVerticalAlign+%2f%3e%0d%0a++++ e%3c%2fIsDisablingEnabled%3e%0d%0a++++++++++++++++++%3c 0a++++++++++++++++%3cX%3e12%3c%2fX%3e%0d%0a++ me%3e%0d%0a++++++++++++++++%3cWrapText% cPSCFormated%3efalse%3c%2fPSCFormated%3e% olSpan+%2f%3e%0d%0a++++++++++ ++++++%3cColSpan+%2f%3e%

++%3cColSpan+%2f%3e%0d%0a++++++++++++++++%3cFormat%3eGeneral%3c%2fFormat%3e%0d%0

%3c%2fFormat%3e%0d%0a++++++++++++++++%3cWidth%3e10.5%3c%2fWidth%3e%0d%0a+++++++

th%3e%0d%0a++++++++++++++++%3cText+%2f%3e%0d%0a++++++++++++++++%3cHeight%3e1

+++++++%3cHeight%3e15.75%3c%2fHeight%3e%0d%0a++++++++++++++++%3cAlign%3eLe ft%3c%2

+%3cAlign%3eLe ft%3c%2fAlign%3e%0d%0a++++++++++++++++%3cVerticalAlign+%2f%3e%0d%0a+++

ign+%2f%3e%0d%0a++++++++++++++++%3cCellHasFormula%3eFalse%3c%2fCellHasFormula%3e%0d%

fCellHasFormula%3e%0d%0a++++++++++++++++%3cFontName%3eCalibri%3c%2fFontName%3e%0d%0

%2fFontName%3e%0d%0a++++++++++++++++%3cWrapText%3eFalse%3c%2fWrapText%3e%0d%0a+ +

fWrapText%3e%0d%0a+ +++++++++++++++%3cFontSize%3e11%3c%2fFontSize%3e%0d%0a+++++++

e%3e%0d%0a++++++++++++++++%3cX%3e3%3c%2fX%3e%0d%0a++++++++++++++++%3cY%3e

++++++++++%3cY%3e79%3c%2fY%3e%0d%0a++++++++++++++++%3cImages+%2f%3e%0d%0a++

ages+%2f%3e%0d%0a++++++++++++++++%3cFormControls+%2f%3e%0d%0a++++++++++++++++

a++++++++++++++++%3cGrid+%2f%3e%0d%0a+++ +++++++++++++%3cExport+%2f%3e%0d%0a+

cExport+%2f%3e%0d%0a++++++++++++++%3c%2fTD%3e%0d%0a++++++++++++++%3cTD%3e%0d

+++++++%3cTD%3e%0d%0a++++++++++++++++%3cPSCFormated%3efalse%3c%2fPSCFormated%3e%

%3c%2fPSCFormated%3e%0d%0a++++++++++++++++%3cStyle%3eClass290%3c%2fStyle%3e%0d%0a+

3c%2fStyle%3e%0d%0a++++++++++++++++%3cMerge%3eFalse%3c%2fMerge %3e%0d%0a++++++++

e %3e%0d%0a++++++++++++++++%3cRowSpan+%2f%3e%0d%0a++++++++++++++++%3cColSpan

+++++++++%3cColSpan+%2f%3e%0d%0a++++++++++++++++%3cFormat%3eGeneral%3c%2fFormat%

3eGeneral%3c%2fFormat%3e%0d%0a++++++++++++++++%3cWidth%3e49.5%3c%2fWidth%3e%0d%0a

Follow the steps to enable your Simple Linear Regression For >>

Your Simple Linear Regression Forecast is ready to use. Following steps are for online use.

1)

Visit the site below: http://www.spreadsheetweb.com/getting_started.htm You will only need the username and password to create your Simple Linear Regression Forecast.

2)

Visit the site below: http://trial.spreadsheetweb.com/spreadsheetweb/ Login to page with your new account information.

3)

Click "Add Web Application" to upload this file. Your Simple Linear Regression Forecast will be created auto You can simply use the Simple Linear Regression Forecast from that link or place it on your website.

>>

Your Simple Linear Regression Forecast will look like:

http://www1.spreadsheetweb.com/SpreadSheetWeb/Output.aspx?ApplicationId=1baf6bbf-f1eb-4bc8-9f72-3 >>

In order to see more online applications created with PSW you can check the link below: http://www.spreadsheetweb.com/demos.htm

Copyright (c) 2009 Pagos, Inc. http://www.pagos.com/

Regression Forecast.

ession Forecast.

ecast will be created automatically.

it on your website.

1baf6bbf-f1eb-4bc8-9f72-3c4c25b4ec9e

Related Documents


More Documents from ""