2 views

Uploaded by Stephen Ondiek

ols regression

save

You are on page 1of 3

Sample Data (X’s):

Line of Best Fit (βX):

**How can we use data to make predictions? Data usually are scattered around, we plot them
**

to a graph and get a scattergraph, we call the data set ‘X’s’ on the X axis.

We want to predict when we will get a given Y on the vertical axis when we get an X. How?

We can make an equation if we get the average of the squared X’s, to make an average line.

This is a “Regression” equation. We can then say Y= 2.0 + 4/3X + e (rounding error).

Do we see how this equation seems to fit the data ? If X = 6? Y = 2.0 + 4/3 (6) =?)

Why can’t we average the X’s, not the squares? Try to average:

1.3X – 1.3X + 1.3 X – 1.3X etc.. What happens? Or here (6-4)+ (2-4) + (3-6) + (7+3)…?

If an average is made up of differences like 2 + 4 + 4 +2 / n = 12/4 =3. Then what happens

when we subtract all the differences from the average? 2-3 + 4-3 + 4-3 + 2-3=?

So use squares, eliminates the negatives.

Simple linear Regression

A simple linear model in which the value of one variable can be used to predict the value

of an outcome variable. The formula for a straight line is the basis for this model:

Yi = (b0+b1Xi) + εi

**Y = outcome variable, X = explanatory variable, b0 = value of outcome when explanatory
**

variable has a value of zero (intercept), b1 = regression coefficient for the explanatory

variable, εi = error.

click on XY (Scatter). then release the mouse button. Click on Next>. to "drag" means to place the mouse cursor on a position. Dragging is used not only to move objects but also to highlight text. For example. data. The procedure for constructing a least-squares graph using Microsoft Excel is outlined below.. Under Chart sub-type:. place the mouse cursor on cell A1 and drag the mouse cursor to cell A4. etc. 3. Click on Insert on the menu bar. 1. . Enter your data into the spreadsheet. Both columns of data should be highlighted. Constructing a Least-Squares Graph Using Microsoft Excel Simple spreadsheet programs such as Microsoft Excel or Quattro Pro are powerful tools for many types of calculations in chemistry. Under Standard Types. Click on Chart. Then use Excel to get this result. Homework: Obtain a series of data by year. if you want to plot the data contained in cells 1-4 of columns A and B. cells 1-4 of columns A and C).. It is often easier to put similar types of data into columns rather than rows (although this is not a requirement). One of the most often used functions of a spreadsheet program is to construct graphs. place the mouse cursor on cell C1 and drag to cell C4.. Due by end of the week.g. 2. while holding down the CTRL key on the keyboard. 5. 4. Note that "click" means to put the mouse cursor on a position and press the left mouse button once. place the mouse cursor on cell A1 and drag the mouse cursor to cell B4. Then. Simple linear regression models can be represented as 'lines of best fit' or regression lines on scatterplots (shown below). to "double-click" means to press the left mouse button twice rapidly. and get 12 data points (months or years for example). click on the chart with only data markers and no lines. Click on Next>. 8. 6. Select (highlight) the data that you want to include in the graph. like GDP in the USA or Stock Prices for a company. move the mouse cursor to a different position. press and hold the left mouse button.. If the data you want to include happen to be in two columns that are not adjacent (e. 7. Chart type:.

Click on Next>. Placement of the legend on the graph can also be selected here. .. Click in the checkbox next to Display equation on chart and the checkbox next to Display R-squared value on chart. click in the text box under Chart title: and enter a title for the graph. All of the data points should now be highlighted.. Click on the Legend tab. From within the Add Trendline window. a. Do not click on the checkbox next to "Set Intercept = 0". d. 13.. c.g. click on the radio button next to As new sheet:. Click on Options at the top of the Add Trendline window. and click on Add Trendline. 15. Now. 11. At this point you have created an X-Y plot of the data. Enter a name for the graph in the highlighted text box.9. Move the mouse cursor to any data point and press the left mouse button. 12. Click in the checkbox next to Show legend to turn the legend on or off. Click on the Data Labels tab. Click on OK. Linear). under Type. Under Place chart:. click on the box with the type of fit you want (e. Click on Finish. Click in the checkboxes to turn gridlines on or off. click in the text box under Value (Y) axis: and enter a title for the y-axis. b. Click in the checkboxes to turn a data table on or off. 10. Click on the Data Table tab. while the mouse cursor is still on any one of the highlighted data points. Under Titles. 16. click in the text box under Category (X) axis: and enter a title for the x-axis. c. a. e. press the right mouse button. 14. from the menu that appears. b. Click on the Gridlines tab. Click on the radio buttons to turn data labels on or off.

- UT Dallas Syllabus for eco4355.001.07s taught by Daniel Obrien (obri)Uploaded byUT Dallas Provost's Technology Group
- Lecture 1wqdwqfqweUploaded bySoumik Sarangi
- Economics Research MethodolgyUploaded byForbet Mateo
- Chapter6-Econometrics-RegressionAnalysisUnderLinearRestrictionsUploaded byAbdullah Khatib
- Ordinary least squaresUploaded byNha Nha
- Forecasting 1Uploaded byOkdi Sitepu
- Chapter 3Uploaded byMuhammad Arslan Ali
- regression analysisUploaded bysrikanth
- Econometrics Chapter 4Uploaded byJade Nguyen
- Lecture3-Module2-EconometricsUploaded bysujit_sekhar
- Syllabus_EC3303Uploaded byflylikethestars
- 2 Ordinary Least Squares 2012AUploaded byWeldone Saw
- Zivot - Lectures on Structural Change.pdfUploaded byPär Sjölander
- RegressionUploaded byDendy Lee
- EC212 Course Outline 2018Uploaded bygustavo
- lec09_20160405Uploaded byMuddassar
- G4e01Uploaded byArslan Tariq
- Matrix DiffUploaded bysavan
- Manajemen Biaya 03Uploaded byAbdulkerim Sadıqov
- Eco No Metrics Course OutlineUploaded bybhagavath012
- Practice Questions for Chs9_12Uploaded byxxforeverxx
- FRM AIM Statements AnalysisUploaded byravidegreat
- Lecture 2 - Simple RegressionUploaded byRoselle Quiao
- Chapter3-Econometrics-MultipleLinearRegressionModelUploaded byAbdullah Khatib

- As Seen From the Family Therapy TheoryUploaded byStephen Ondiek
- Healthy TreatsUploaded byStephen Ondiek
- Pafos FCUploaded byStephen Ondiek
- swot tata.docxUploaded byStephen Ondiek
- Readme_eng_2.5.rtfUploaded byStephen Ondiek
- Job ID#100352_Accounting Report.docxUploaded byStephen Ondiek
- IdeologiesUploaded byStephen Ondiek
- Module 1 HillUploaded byStephen Ondiek
- Viewcontent.cgiUploaded byStephen Ondiek
- 20777661-1Uploaded byStephen Ondiek
- Ge Corporate AnalysisUploaded byStephen Ondiek
- swot tata.docxUploaded byStephen Ondiek
- swot tata.docxUploaded byStephen Ondiek
- 3108561 Global TourismUploaded byStephen Ondiek
- Solar Water Heater Distributor Business PlanUploaded byStephen Ondiek
- SLP 4Uploaded byStephen Ondiek
- Business PlanUploaded byStephen Ondiek
- Business PlanUploaded byStephen Ondiek
- 17 Round Robin TitleUploaded byStephen Ondiek

- FundamentalsUploaded byjohnregina
- Econometrics GuidesUploaded byJosé Bayoán Santiago Calderón
- quant articleUploaded byapi-324385659
- A new look at the statistical model identification.pdfUploaded byAnonymous kiXSYsJ
- Credit Session 4 (ESTIMATES)Uploaded byAmey Kashyap
- Peak Demands - Daily - HourlyUploaded byAdjei Baldan
- Simple linear regression analysisUploaded byJoses Jenish Smart
- Chapter 15Uploaded byUdevir Singh
- ecs10Uploaded byBa
- AnswersUploaded bySivasakti Marimuthu
- 07b_regression.pdfUploaded bynikola001
- Prob Stat EngUploaded byVaibhav Gupta
- Descriptive StatisticsUploaded bySatrioUtomo
- ContentsISOUploaded bycmollinedoa
- EC212 2 Week Version Course Outline 2018Uploaded byArjun Varma
- Appendix cUploaded byhermerry
- Guided Tour on ARIMA Estimation and ForecastingUploaded byb_a_n_d_z
- An Alternative Method for Least-Square Fitting of Parametric Survival ModelsUploaded bySherlyLestari
- Correlation and Regression AnalysisUploaded bymiguelxerxes
- IM Chapter12 1Uploaded byShruti Sivadasan
- Reverse AnnealingUploaded byyura
- cohesion versus Gs.docUploaded byeteure
- Chap 3 operation managementUploaded byrashidup
- Minitab CheatUploaded bywaqas104
- An R Package for Dynamic Linear ModelsUploaded byIntroCPA
- Simple Linear RegressionUploaded byHicham Tou Nsi
- Test Bank Statistics for Business Decision Making and Analysis 2nd Edition Robert Stine, Dean FosterUploaded byErnest
- Regbook Inside (2)Uploaded byHabib Mrad
- 15-MVUEUploaded byArup Kumar Das
- Computational Approach to Generalized Ratio Type Estimator of Population Mean Under Two Phase SamplingUploaded byEditor IJRITCC