Simple Linear Regression. How To Study Relation Between Two Quantitative Variables? Scatter Plot. Pearson s Sample Correlation.

Size: px
Start display at page:

Download "Simple Linear Regression. How To Study Relation Between Two Quantitative Variables? Scatter Plot. Pearson s Sample Correlation."

Transcription

1 Correlato & Regreo How To Study Relato Betwee Two Quattatve Varable? Smple Lear Regreo 6. A Smple Regreo Problem I there relato betwee umber of power boat the area ad umber of maatee klled? Year NPB( ) Nkll(y ) Maatee Klled 0 0 Scatter Plot Number of Power Boat 0 4 Correlato Pearo Sample Correlato The correlato, ρ, betwee two radom varable, X ad Y, defed a, ( X μ X ) ( Y μ ρ average Y σ X σy ) product of the tadard devate of X ad Y, quatfe the tregth of lear relatohp. 5 r y y y : Sample tadard devato of y : Sample tadard devato of y 6

2 Correlato & Regreo y y y y y y y Total.4. d. 9.9 y.9 r Mea 567. y y Number of People Klled (447, 3) 0 0 Scatter Plot Number of Hadgu Regtered 0 y : y: Oe of par (447, 3) Shortcut Formula y y r y y y y y yy, yy y y Pearo Sample Correlato a Dfferet Formula ( )( y y) r ( ) ( y y) y yy Correlato Coeffcet Σ 7945 (Σ) 635 Σy 4 (Σy) Σ Σy 56 Σy 475 S 99.5, S yy S y 37 r , r

3 Correlato & Regreo Iterpretato of r < r < It meaure the tregth ad drecto of the lear relato betwee two quattatve varable. r f all pot le eactly o a traght le. ρ he otato for populato correlato coeffcet. Correlato Coeffcet r cloe to r cloe to r cloe to zero r cloe to zero 3 4 Correlato Doe Not Imply Cauato How to Model Lear Relato? Eample: The umber of powerboat regtered may ot be the drect caue for the death of Maatee. 5 6 Maatee Klled 0 0 Graph wth a Ftted Le Maatee Klled 0 y? +? Leat Square Prcple Fd oluto of α ad β of a traght le that mmze the followg varablty meaure: [ ( ˆ α + ˆ β )] y ˆ α + ˆ β Number of Power Boat Number of Power Boat 7 8 3

4 Correlato & Regreo mmze q q α q β e ( )[ y ( ) [ y y α y α + β [ y ( α + β )] ( α + β )] 0 ( α + β )] 0 + β α? β? 9 The Equato of The Ftted Le y? +? The leae-quared etmate of α, β are deoted a αˆ ad βˆ ad they are ˆ y β, ˆ α y ˆ β 0 Other formula ˆ y β r, ˆ α y r y The Equato of a Ftted Le y ˆ α + ˆ β the ample tadard devato of y the ample tadard devato of y Ca be ued for etmato or predcto. The Equato of a Ftted Le y ˆ α + ˆ β Mea of y at 4 Maatee Eample y ˆ 37 β ˆ α Ca be ued for etmato or predcto. Gve the etmate of locato of mea repoe for varou. 3 The regreo (predcto) equato: ˆ α + ˆ β

5 Correlato & Regreo Data R Commader R for Smple Lear Regreo 5 6 R Output Call: lm(formula MANKILL ~ NPOWERBT, data Dataet) Redual: M Q Meda 3Q Ma Coeffcet: Etmate Std. Error t value Pr(> t ) (Itercept) *** NPOWERBT e-07 *** --- Sgf. code: 0 '***' 0.00 '**' 0.0 '*' 0.05 '.' 0. ' ' y Redual tadard error: 4.76 o degree of freedom Multple R-Squared: , Adjuted R-quared: Coeffcet of determato R 7 F-tattc: 93.6 o ad DF, p-value: 5.9e-07 8 Equato of the regreo le: ˆ α + ˆ β ; A Etmato If at a certa year the umber of power boat regtered 0,000, etmate how may maatee o average would be klled The average repoe at

6 Correlato & Regreo Graph wth a Ftted Le Maatee Klled How log hould you wat tll et erupto? Number of Power Boat Durato ad Iter-erupto Tme 0 Itererupto Tme CDUR Iter-erupto Tme Durato of Erupto.5.0 Durato Durato ad Iter-erupto Tme Cauto 0 Avod uure etrapolato. Caualty? Iter-erupto Tme Durato

7 Correlato & Regreo Problem of etrapolato Problem of etrapolato Scope of data Scope of data Problem of etrapolato Problem of etrapolato Etrapolated reult for a value out of the cope of Etrapolated reult for a value out of the cope of A poble tred Scope of data Etmate y at Scope of data Etmate y at 39 Regreo ad Caualty Eample: y female lfe epectacy GDP (Gro dometc product) Regreo telf provde o formato about caual patter ad mut upplemeted by addtoal aaly (wth deged ad cotrolled epermet) to obta ght about caual relatohp. Female lfe epectacy GDP per capta Before Traformato 4 7

8 Correlato & Regreo Eample: y female lfe epectacy GDP (Gro dometc product) Eample: y female lfe epectacy GDP (Gro dometc product) Female lfe epectacy 99 Female lfe epectacy Natural log of GDP Natural log of GDP ŷ ˆ α + ˆ β l() After l(gdp) Traformato Traformato Crcle of Power: p or y p y up Quadrat II Quadrat I Traformato For up or y up: try p > for p or y p Eample:, y, 3, y 3, or e, e y dow up For dow or y dow: try p < for p or y p Eample: -/, y -/, -, y -, or l(), l(y) Quadrat III y dow Quadrat IV Smple Lear Regreo t-tet for correlato Hypothe: H 0 : ρ ρ 0, v.. H a : ρ ρ 0 Tet Stattc: (If data are bvarate ormal.) 8.9 Tet Cocerg Regreo ad Correlato t r ρ0 ( r )/( ) ~ t-dtrbuto d.f. Deco rule: Reject H 0, f C.V. approach: t < t α/ or t > t α/ p-value approach: p-value < α

9 Correlato & Regreo I there a gfcat correlato? R for Correlato Eample: (Maatee) H 0 : ρ 0, v.. H a : ρ 0 t (. 886)/( 4 ) d.f. 4 -, p-value <.0005, reject H 0, there gfcat lear relato. r R Output wth t-tet for Zero Correlato Pearo' product-momet correlato data: Dataet$MANKILL ad Dataet$NPOWERBT t , df, p-value 5.9e-07 alteratve hypothe: true correlato ot equal to 0 95 percet cofdece terval: ample etmate: cor Eample: I a vetgato, coutre were cluded to tudy the relato betwee female lfe epectacy ad the brthrate. Frt Order Smple Lear Regreo Model Model aumpto: Female lfe epectacy r.87 y α + β + ε wth error, ε, depedet, detcally ad ormally dtrbuted a Ν (0, σ ), ad mea of y at μ y α + β. Brth per 00 populato,

10 Correlato & Regreo Model Aumpto Redual y Redual: e y y ( ˆ ˆ α + β ) Eample: Fd the redual at 4 ad the oberved y. Redual Sum of Square ŷ Predcted y The redual Redual Sum of ( or Square (SSRed) Error Sum of Square, SSE) ( y ) Meaure Square Error ad Stadard devato for regreo Etmato of σ : y MSE SSE / ( ) 8.87 (Degree of freedom ) Etmated Stadard Error of the regreo model: y Iferece for Regreo Coeffcet β (t-tet) Hypothe: H o : β β 0, v.. H a : β β 0 (It ofte tetg for Ho: β 0 v.. Ha: β 0.) Tet Stattc: ˆ β β 0 t e ˆ ( ˆ β ) ~ t-dtrbuto d.f., where e ˆ ( ˆ β ) y ( ).03 Deco rule: Reject H o, f C.V. approach: t < t α/ or t > t α/ p-value approach: p-value < α

11 Correlato & Regreo Iferece for Regreo Coeffcet α (t-tet) Hypothe: H o : α α 0, v.. H a : α α 0 (It ofte tetg for H o : α 0 v.. H a : α 0.) Tet Stattc: ˆ α α 0 t ~ t-dtrbuto d.f., e ˆ ( ˆ α) where e ˆ ( ˆ α) + y 7.4 ( ) Deco rule: Reject H o, f C.V. approach: t < t α/ or t > t α/ p-value approach: p-value < α Predctg Mea Repoe The (-α) 0% cofdece terval for predctg the mea repoe at : t e ˆ ( ) / ± α where e ( ) ( ) d.f. ˆ ( ) + y Predcted Number of Maatee Klled o Average at 4 > 6.0 ± 3.9 > (.09, 9.9) 6 6 Predctg a Sgle New Repoe The (-α) 0% cofdece terval for predctg a dvdual outcome at : t e ˆ ( ~ y) / ± α Cofdece Iterval Bad where e ( ) ( ) d.f. ˆ ( ~ y) + + y Predcted Number of Maatee Klled at 4 > 6.0 ±. > (5.9, 6.) Number of maatee klled Number of Powerboat Evaluato of the Model Itererupto Tme CDUR Total Populato Coeffcet of Determato (R ): It the proporto of varato oberved y that ca be eplaed by the varable wth the lear regreo model Durato of Erupto 65 66

12 Correlato & Regreo R Output Call: lm(formula MANKILL ~ NPOWERBT, data Dataet) Redual: M Q Meda 3Q Ma Coeffcet: Etmate Std. Error t value Pr(> t ) (Itercept) *** NPOWERBT e-07 *** --- Sgf. code: 0 '***' 0.00 '**' 0.0 '*' 0.05 '.' 0. ' ' Redual tadard error: 4.76 o degree of freedom Multple R-Squared: , Adjuted R-quared: Coeffcet of determato R F-tattc: 93.6 o ad DF, p-value: 5.9e Redual Plot A catter plot of the redual agat the predcted value of the repoe varable to verfy the aumpto behd the regreo model. Homogeety of varace Radom ormal error Appropratee of the lear model 68 Graph wth a Ftted Le Redual Plot.5 Scatterplot Depedet Varable: Number of maatee klle Maatee Klled 0 Regreo Stadardzed Redual Number of Power Boat Regreo Stadardzed Predcted Value 69 Redual Plot 0 0 Model ot a good lear ft Volato of the equal varace aumpto 7

r y Simple Linear Regression How To Study Relation Between Two Quantitative Variables? Scatter Plot Pearson s Sample Correlation Correlation

r y Simple Linear Regression How To Study Relation Between Two Quantitative Variables? Scatter Plot Pearson s Sample Correlation Correlation Maatee Klled Correlato & Regreo How To Study Relato Betwee Two Quattatve Varable? Smple Lear Regreo 6.11 A Smple Regreo Problem 1 I there relato betwee umber of power boat the area ad umber of maatee klled?

More information

Linear Regression. Can height information be used to predict weight of an individual? How long should you wait till next eruption?

Linear Regression. Can height information be used to predict weight of an individual? How long should you wait till next eruption? Iter-erupto Tme Weght Correlato & Regreo 1 1 Lear Regreo 0 80 70 80 Heght 1 Ca heght formato be ued to predct weght of a dvdual? How log hould ou wat tll et erupto? Weght: Repoe varable (Outcome, Depedet)

More information

Summarizing Bivariate Data. Correlation. Scatter Plot. Pearson s Sample Correlation. Summarizing Bivariate Data SBD - 1

Summarizing Bivariate Data. Correlation. Scatter Plot. Pearson s Sample Correlation. Summarizing Bivariate Data SBD - 1 Summarzg Bvarate Data Summarzg Bvarate Data - Eamg relato betwee two quattatve varable I there relato betwee umber of hadgu regtered the area ad umber of people klled? Ct NGR ) Nkll ) 447 3 4 3 48 4 4

More information

Predicting the eruption time after observed an eruption of 4 minutes in duration.

Predicting the eruption time after observed an eruption of 4 minutes in duration. Lear Regreo ad Correlato 00 Predctg the erupto tme after oberved a erupto of 4 mute durato. 90 80 70 Iter-erupto Tme.5.0.5 3.0 3.5 4.0 4.5 5.0 5.5 Durato A ample of tererupto tme wa take durg Augut -8,

More information

Correlation: Examine Quantitative Bivariate Data

Correlation: Examine Quantitative Bivariate Data Correlato ad Regreo Correlato: Eame Quattatve Bvarate Data The correlato, ρ, betwee two radom varable, X ad Y, defed a, ( X µ ρ average σx X ) ( Y µ Y σ Y ) product of the tadard devate of X ad Y, quatfe

More information

Correlation. Pearson s Sample Correlation. Correlation and Linear Regression. Scatter Plot

Correlation. Pearson s Sample Correlation. Correlation and Linear Regression. Scatter Plot Correlato ad Lear Regreo Dr. Thoma Smotzer Eame Relato Betwee Two Quattatve Varable I there a relato betwee the umber of hadgu regtered ad the umber of people klled b gu? ear #reg #kll 77 447 78 4 79 48

More information

Reaction Time VS. Drug Percentage Subject Amount of Drug Times % Reaction Time in Seconds 1 Mary John Carl Sara William 5 4

Reaction Time VS. Drug Percentage Subject Amount of Drug Times % Reaction Time in Seconds 1 Mary John Carl Sara William 5 4 CHAPTER Smple Lear Regreo EXAMPLE A expermet volvg fve ubject coducted to determe the relatohp betwee the percetage of a certa drug the bloodtream ad the legth of tme t take the ubject to react to a tmulu.

More information

REVIEW OF SIMPLE LINEAR REGRESSION SIMPLE LINEAR REGRESSION

REVIEW OF SIMPLE LINEAR REGRESSION SIMPLE LINEAR REGRESSION REVIEW OF SIMPLE LINEAR REGRESSION SIMPLE LINEAR REGRESSION I lear regreo, we coder the frequecy dtrbuto of oe varable (Y) at each of everal level of a ecod varable (X). Y kow a the depedet varable. The

More information

Simple Linear Regression Analysis

Simple Linear Regression Analysis LINEAR REGREION ANALYSIS MODULE II Lecture - 5 Smple Lear Regreo Aaly Dr Shalabh Departmet of Mathematc Stattc Ida Ittute of Techology Kapur Jot cofdece rego for A jot cofdece rego for ca alo be foud Such

More information

ENGI 3423 Simple Linear Regression Page 12-01

ENGI 3423 Simple Linear Regression Page 12-01 ENGI 343 mple Lear Regresso Page - mple Lear Regresso ometmes a expermet s set up where the expermeter has cotrol over the values of oe or more varables X ad measures the resultg values of aother varable

More information

Regression. Chapter 11 Part 4. More than you ever wanted to know about how to interpret the computer printout

Regression. Chapter 11 Part 4. More than you ever wanted to know about how to interpret the computer printout Regreo Chapter Part 4 More tha you ever wated to kow about how to terpret the computer prtout February 7, 009 Let go back to the etrol/brthweght problem. We are ug the varable bwt00 for brthweght o brthweght

More information

Chapter 13 Student Lecture Notes 13-1

Chapter 13 Student Lecture Notes 13-1 Chapter 3 Studet Lecture Notes 3- Basc Busess Statstcs (9 th Edto) Chapter 3 Smple Lear Regresso 4 Pretce-Hall, Ic. Chap 3- Chapter Topcs Types of Regresso Models Determg the Smple Lear Regresso Equato

More information

Quiz 1- Linear Regression Analysis (Based on Lectures 1-14)

Quiz 1- Linear Regression Analysis (Based on Lectures 1-14) Quz - Lear Regreo Aaly (Baed o Lecture -4). I the mple lear regreo model y = β + βx + ε, wth Tme: Hour Ε ε = Ε ε = ( ) 3, ( ), =,,...,, the ubaed drect leat quare etmator ˆβ ad ˆβ of β ad β repectvely,

More information

12.2 Estimating Model parameters Assumptions: ox and y are related according to the simple linear regression model

12.2 Estimating Model parameters Assumptions: ox and y are related according to the simple linear regression model 1. Estmatg Model parameters Assumptos: ox ad y are related accordg to the smple lear regresso model (The lear regresso model s the model that says that x ad y are related a lear fasho, but the observed

More information

Correlation and Simple Linear Regression

Correlation and Simple Linear Regression Correlato ad Smple Lear Regresso Berl Che Departmet of Computer Scece & Iformato Egeerg Natoal Tawa Normal Uverst Referece:. W. Navd. Statstcs for Egeerg ad Scetsts. Chapter 7 (7.-7.3) & Teachg Materal

More information

Objectives of Multiple Regression

Objectives of Multiple Regression Obectves of Multple Regresso Establsh the lear equato that best predcts values of a depedet varable Y usg more tha oe eplaator varable from a large set of potetal predctors {,,... k }. Fd that subset of

More information

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model Lecture 7. Cofdece Itervals ad Hypothess Tests the Smple CLR Model I lecture 6 we troduced the Classcal Lear Regresso (CLR) model that s the radom expermet of whch the data Y,,, K, are the outcomes. The

More information

8 The independence problem

8 The independence problem Noparam Stat 46/55 Jame Kwo 8 The depedece problem 8.. Example (Tua qualty) ## Hollader & Wolfe (973), p. 87f. ## Aemet of tua qualty. We compare the Huter L meaure of ## lghte to the average of coumer

More information

Example: Multiple linear regression. Least squares regression. Repetition: Simple linear regression. Tron Anders Moger

Example: Multiple linear regression. Least squares regression. Repetition: Simple linear regression. Tron Anders Moger Example: Multple lear regresso 5000,00 4000,00 Tro Aders Moger 0.0.007 brthweght 3000,00 000,00 000,00 0,00 50,00 00,00 50,00 00,00 50,00 weght pouds Repetto: Smple lear regresso We defe a model Y = β0

More information

STA302/1001-Fall 2008 Midterm Test October 21, 2008

STA302/1001-Fall 2008 Midterm Test October 21, 2008 STA3/-Fall 8 Mdterm Test October, 8 Last Name: Frst Name: Studet Number: Erolled (Crcle oe) STA3 STA INSTRUCTIONS Tme allowed: hour 45 mutes Ads allowed: A o-programmable calculator A table of values from

More information

Mean is only appropriate for interval or ratio scales, not ordinal or nominal.

Mean is only appropriate for interval or ratio scales, not ordinal or nominal. Mea Same as ordary average Sum all the data values ad dvde by the sample sze. x = ( x + x +... + x Usg summato otato, we wrte ths as x = x = x = = ) x Mea s oly approprate for terval or rato scales, ot

More information

Multiple Regression. More than 2 variables! Grade on Final. Multiple Regression 11/21/2012. Exam 2 Grades. Exam 2 Re-grades

Multiple Regression. More than 2 variables! Grade on Final. Multiple Regression 11/21/2012. Exam 2 Grades. Exam 2 Re-grades STAT 101 Dr. Kar Lock Morga 11/20/12 Exam 2 Grades Multple Regresso SECTIONS 9.2, 10.1, 10.2 Multple explaatory varables (10.1) Parttog varablty R 2, ANOVA (9.2) Codtos resdual plot (10.2) Trasformatos

More information

Simple Linear Regression

Simple Linear Regression Correlato ad Smple Lear Regresso Berl Che Departmet of Computer Scece & Iformato Egeerg Natoal Tawa Normal Uversty Referece:. W. Navd. Statstcs for Egeerg ad Scetsts. Chapter 7 (7.-7.3) & Teachg Materal

More information

Simple Linear Regression and Correlation.

Simple Linear Regression and Correlation. Smple Lear Regresso ad Correlato. Correspods to Chapter 0 Tamhae ad Dulop Sldes prepared b Elzabeth Newto (MIT) wth some sldes b Jacquele Telford (Johs Hopks Uverst) Smple lear regresso aalss estmates

More information

Chapter Business Statistics: A First Course Fifth Edition. Learning Objectives. Correlation vs. Regression. In this chapter, you learn:

Chapter Business Statistics: A First Course Fifth Edition. Learning Objectives. Correlation vs. Regression. In this chapter, you learn: Chapter 3 3- Busess Statstcs: A Frst Course Ffth Edto Chapter 2 Correlato ad Smple Lear Regresso Busess Statstcs: A Frst Course, 5e 29 Pretce-Hall, Ic. Chap 2- Learg Objectves I ths chapter, you lear:

More information

b. There appears to be a positive relationship between X and Y; that is, as X increases, so does Y.

b. There appears to be a positive relationship between X and Y; that is, as X increases, so does Y. .46. a. The frst varable (X) s the frst umber the par ad s plotted o the horzotal axs, whle the secod varable (Y) s the secod umber the par ad s plotted o the vertcal axs. The scatterplot s show the fgure

More information

Simple Linear Regression

Simple Linear Regression Statstcal Methods I (EST 75) Page 139 Smple Lear Regresso Smple regresso applcatos are used to ft a model descrbg a lear relatoshp betwee two varables. The aspects of least squares regresso ad correlato

More information

Statistics MINITAB - Lab 5

Statistics MINITAB - Lab 5 Statstcs 10010 MINITAB - Lab 5 PART I: The Correlato Coeffcet Qute ofte statstcs we are preseted wth data that suggests that a lear relatoshp exsts betwee two varables. For example the plot below s of

More information

Linear Regression with One Regressor

Linear Regression with One Regressor Lear Regresso wth Oe Regressor AIM QA.7. Expla how regresso aalyss ecoometrcs measures the relatoshp betwee depedet ad depedet varables. A regresso aalyss has the goal of measurg how chages oe varable,

More information

Midterm Exam 1, section 1 (Solution) Thursday, February hour, 15 minutes

Midterm Exam 1, section 1 (Solution) Thursday, February hour, 15 minutes coometrcs, CON Sa Fracsco State Uversty Mchael Bar Sprg 5 Mdterm am, secto Soluto Thursday, February 6 hour, 5 mutes Name: Istructos. Ths s closed book, closed otes eam.. No calculators of ay kd are allowed..

More information

Regression. Linear Regression. A Simple Data Display. A Batch of Data. The Mean is 220. A Value of 474. STAT Handout Module 15 1 st of June 2009

Regression. Linear Regression. A Simple Data Display. A Batch of Data. The Mean is 220. A Value of 474. STAT Handout Module 15 1 st of June 2009 STAT Hadout Module 5 st of Jue 9 Lear Regresso Regresso Joh D. Sork, M.D. Ph.D. Baltmore VA Medcal Ceter GRCC ad Uversty of Marylad School of Medce Claude D. Pepper Older Amercas Idepedece Ceter Reducg

More information

Lecture 8: Linear Regression

Lecture 8: Linear Regression Lecture 8: Lear egresso May 4, GENOME 56, Sprg Goals Develop basc cocepts of lear regresso from a probablstc framework Estmatg parameters ad hypothess testg wth lear models Lear regresso Su I Lee, CSE

More information

Regresso What s a Model? 1. Ofte Descrbe Relatoshp betwee Varables 2. Types - Determstc Models (o radomess) - Probablstc Models (wth radomess) EPI 809/Sprg 2008 9 Determstc Models 1. Hypothesze

More information

Simple Linear Regression - Scalar Form

Simple Linear Regression - Scalar Form Smple Lear Regresso - Scalar Form Q.. Model Y X,..., p..a. Derve the ormal equatos that mmze Q. p..b. Solve for the ordary least squares estmators, p..c. Derve E, V, E, V, COV, p..d. Derve the mea ad varace

More information

Formulas and Tables from Beginning Statistics

Formulas and Tables from Beginning Statistics Fmula ad Table from Begg Stattc Chater Cla Mdot Relatve Frequecy Chater 3 Samle Mea Poulato Mea Weghted Mea Rage Lower Lmt Uer Lmt Cla Frequecy Samle Se µ ( w) w f Mamum Data Value - Mmum Data Value Poulato

More information

σ σ r = x i x N Statistics Formulas Sample Mean Population Mean Interquartile Range Population Variance Population Standard Deviation

σ σ r = x i x N Statistics Formulas Sample Mean Population Mean Interquartile Range Population Variance Population Standard Deviation Stattc Formula Samle Mea Poulato Mea µ Iterquartle Rae IQR Q 3 Q Samle Varace ( ) Samle Stadard Devato ( ) Poulato Varace Poulato Stadard Devato ( µ ) Coecet o Varato Stadard Devato CV 00% Mea ( µ ) -Score

More information

KR20 & Coefficient Alpha Their equivalence for binary scored items

KR20 & Coefficient Alpha Their equivalence for binary scored items KR0 & Coeffcet Alpha Ther equvalece for bary cored tem Jue, 007 http://www.pbarrett.et/techpaper/r0.pdf f of 7 Iteral Cotecy Relablty for Dchotomou Item KR 0 & Alpha There apparet cofuo wth ome dvdual

More information

: At least two means differ SST

: At least two means differ SST Formula Card for Eam 3 STA33 ANOVA F-Test: Completely Radomzed Desg ( total umber of observatos, k = Number of treatmets,& T = total for treatmet ) Step : Epress the Clam Step : The ypotheses: :... 0 A

More information

Probability and. Lecture 13: and Correlation

Probability and. Lecture 13: and Correlation 933 Probablty ad Statstcs for Software ad Kowledge Egeers Lecture 3: Smple Lear Regresso ad Correlato Mocha Soptkamo, Ph.D. Outle The Smple Lear Regresso Model (.) Fttg the Regresso Le (.) The Aalyss of

More information

Statistics. Correlational. Dr. Ayman Eldeib. Simple Linear Regression and Correlation. SBE 304: Linear Regression & Correlation 1/3/2018

Statistics. Correlational. Dr. Ayman Eldeib. Simple Linear Regression and Correlation. SBE 304: Linear Regression & Correlation 1/3/2018 /3/08 Sstems & Bomedcal Egeerg Departmet SBE 304: Bo-Statstcs Smple Lear Regresso ad Correlato Dr. Ama Eldeb Fall 07 Descrptve Orgasg, summarsg & descrbg data Statstcs Correlatoal Relatoshps Iferetal Geeralsg

More information

Statistics: Unlocking the Power of Data Lock 5

Statistics: Unlocking the Power of Data Lock 5 STAT 0 Dr. Kar Lock Morga Exam 2 Grades: I- Class Multple Regresso SECTIONS 9.2, 0., 0.2 Multple explaatory varables (0.) Parttog varablty R 2, ANOVA (9.2) Codtos resdual plot (0.2) Exam 2 Re- grades Re-

More information

Previous lecture. Lecture 8. Learning outcomes of this lecture. Today. Statistical test and Scales of measurement. Correlation

Previous lecture. Lecture 8. Learning outcomes of this lecture. Today. Statistical test and Scales of measurement. Correlation Lecture 8 Emprcal Research Methods I434 Quattatve Data aalss II Relatos Prevous lecture Idea behd hpothess testg Is the dfferece betwee two samples a reflecto of the dfferece of two dfferet populatos or

More information

Lecture Notes Types of economic variables

Lecture Notes Types of economic variables Lecture Notes 3 1. Types of ecoomc varables () Cotuous varable takes o a cotuum the sample space, such as all pots o a le or all real umbers Example: GDP, Polluto cocetrato, etc. () Dscrete varables fte

More information

Lecture 3. Sampling, sampling distributions, and parameter estimation

Lecture 3. Sampling, sampling distributions, and parameter estimation Lecture 3 Samplg, samplg dstrbutos, ad parameter estmato Samplg Defto Populato s defed as the collecto of all the possble observatos of terest. The collecto of observatos we take from the populato s called

More information

Econometric Methods. Review of Estimation

Econometric Methods. Review of Estimation Ecoometrc Methods Revew of Estmato Estmatg the populato mea Radom samplg Pot ad terval estmators Lear estmators Ubased estmators Lear Ubased Estmators (LUEs) Effcecy (mmum varace) ad Best Lear Ubased Estmators

More information

Midterm Exam 1, section 2 (Solution) Thursday, February hour, 15 minutes

Midterm Exam 1, section 2 (Solution) Thursday, February hour, 15 minutes coometrcs, CON Sa Fracsco State Uverst Mchael Bar Sprg 5 Mdterm xam, secto Soluto Thursda, Februar 6 hour, 5 mutes Name: Istructos. Ths s closed book, closed otes exam.. No calculators of a kd are allowed..

More information

Summary of the lecture in Biostatistics

Summary of the lecture in Biostatistics Summary of the lecture Bostatstcs Probablty Desty Fucto For a cotuos radom varable, a probablty desty fucto s a fucto such that: 0 dx a b) b a dx A probablty desty fucto provdes a smple descrpto of the

More information

STA 108 Applied Linear Models: Regression Analysis Spring Solution for Homework #1

STA 108 Applied Linear Models: Regression Analysis Spring Solution for Homework #1 STA 08 Appled Lear Models: Regresso Aalyss Sprg 0 Soluto for Homework #. Let Y the dollar cost per year, X the umber of vsts per year. The the mathematcal relato betwee X ad Y s: Y 300 + X. Ths s a fuctoal

More information

Lecture 2: Linear Least Squares Regression

Lecture 2: Linear Least Squares Regression Lecture : Lear Least Squares Regresso Dave Armstrog UW Mlwaukee February 8, 016 Is the Relatoshp Lear? lbrary(car) data(davs) d 150) Davs$weght[d]

More information

Correlation and Regression Analysis

Correlation and Regression Analysis Chapter V Correlato ad Regresso Aalss R. 5.. So far we have cosdered ol uvarate dstrbutos. Ma a tme, however, we come across problems whch volve two or more varables. Ths wll be the subject matter of the

More information

CLASS NOTES. for. PBAF 528: Quantitative Methods II SPRING Instructor: Jean Swanson. Daniel J. Evans School of Public Affairs

CLASS NOTES. for. PBAF 528: Quantitative Methods II SPRING Instructor: Jean Swanson. Daniel J. Evans School of Public Affairs CLASS NOTES for PBAF 58: Quattatve Methods II SPRING 005 Istructor: Jea Swaso Dael J. Evas School of Publc Affars Uversty of Washgto Ackowledgemet: The structor wshes to thak Rachel Klet, Assstat Professor,

More information

Continuous Distributions

Continuous Distributions 7//3 Cotuous Dstrbutos Radom Varables of the Cotuous Type Desty Curve Percet Desty fucto, f (x) A smooth curve that ft the dstrbuto 3 4 5 6 7 8 9 Test scores Desty Curve Percet Probablty Desty Fucto, f

More information

Chapter Two. An Introduction to Regression ( )

Chapter Two. An Introduction to Regression ( ) ubject: A Itroducto to Regresso Frst tage Chapter Two A Itroducto to Regresso (018-019) 1 pg. ubject: A Itroducto to Regresso Frst tage A Itroducto to Regresso Regresso aalss s a statstcal tool for the

More information

residual. (Note that usually in descriptions of regression analysis, upper-case

residual. (Note that usually in descriptions of regression analysis, upper-case Regresso Aalyss Regresso aalyss fts or derves a model that descres the varato of a respose (or depedet ) varale as a fucto of oe or more predctor (or depedet ) varales. The geeral regresso model s oe of

More information

Chapter 2 Simple Linear Regression

Chapter 2 Simple Linear Regression Chapter Smple Lear Regresso. Itroducto ad Least Squares Estmates Regresso aalyss s a method for vestgatg the fuctoal relatoshp amog varables. I ths chapter we cosder problems volvg modelg the relatoshp

More information

STA 105-M BASIC STATISTICS (This is a multiple choice paper.)

STA 105-M BASIC STATISTICS (This is a multiple choice paper.) DCDM BUSINESS SCHOOL September Mock Eamatos STA 0-M BASIC STATISTICS (Ths s a multple choce paper.) Tme: hours 0 mutes INSTRUCTIONS TO CANDIDATES Do ot ope ths questo paper utl you have bee told to do

More information

ESS Line Fitting

ESS Line Fitting ESS 5 014 17. Le Fttg A very commo problem data aalyss s lookg for relatoshpetwee dfferet parameters ad fttg les or surfaces to data. The smplest example s fttg a straght le ad we wll dscuss that here

More information

Multiple Linear Regression Analysis

Multiple Linear Regression Analysis LINEA EGESSION ANALYSIS MODULE III Lecture - 4 Multple Lear egresso Aalyss Dr. Shalabh Departmet of Mathematcs ad Statstcs Ida Isttute of Techology Kapur Cofdece terval estmato The cofdece tervals multple

More information

STS 414 ANALYSIS OF VARIANCE (ANOVA) REVIEW OF SIMPLEREGRESSION

STS 414 ANALYSIS OF VARIANCE (ANOVA) REVIEW OF SIMPLEREGRESSION STS 44 ANALSIS OF VARIANCE (ANOVA) REVIEW OF SIMPLEREGRESSION Modelg refer to the developmet of mathematcal expreo thatdecrbe ome ee the behavor of a radom varable of teret. Thvarable ma be the prce of

More information

Multiple Choice Test. Chapter Adequacy of Models for Regression

Multiple Choice Test. Chapter Adequacy of Models for Regression Multple Choce Test Chapter 06.0 Adequac of Models for Regresso. For a lear regresso model to be cosdered adequate, the percetage of scaled resduals that eed to be the rage [-,] s greater tha or equal to

More information

MEASURES OF DISPERSION

MEASURES OF DISPERSION MEASURES OF DISPERSION Measure of Cetral Tedecy: Measures of Cetral Tedecy ad Dsperso ) Mathematcal Average: a) Arthmetc mea (A.M.) b) Geometrc mea (G.M.) c) Harmoc mea (H.M.) ) Averages of Posto: a) Meda

More information

Chapter 8. Inferences about More Than Two Population Central Values

Chapter 8. Inferences about More Than Two Population Central Values Chapter 8. Ifereces about More Tha Two Populato Cetral Values Case tudy: Effect of Tmg of the Treatmet of Port-We tas wth Lasers ) To vestgate whether treatmet at a youg age would yeld better results tha

More information

Linear Regression. Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan

Linear Regression. Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan Lear Regresso Hsao-Lug Cha Dept Electrcal Egeerg Chag Gug Uverst, Tawa chahl@mal.cgu.edu.tw Curve fttg Least-squares regresso Data ehbt a sgfcat degree of error or scatter A curve for the tred of the data

More information

1. a. Houston Chronicle, Des Moines Register, Chicago Tribune, Washington Post

1. a. Houston Chronicle, Des Moines Register, Chicago Tribune, Washington Post Homework Soluto. Houto Chrocle, De Moe Regter, Chcago Trbue, Wahgto Pot b. Captal Oe, Campbell Soup, Merrll Lych, Pultzer c. Bll Japer, Kay Reke, Hele Ford, Davd Meedez d..78,.44, 3.5, 3.04 5. No, the

More information

Parameter, Statistic and Random Samples

Parameter, Statistic and Random Samples Parameter, Statstc ad Radom Samples A parameter s a umber that descrbes the populato. It s a fxed umber, but practce we do ot kow ts value. A statstc s a fucto of the sample data,.e., t s a quatty whose

More information

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions.

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions. Ordary Least Squares egresso. Smple egresso. Algebra ad Assumptos. I ths part of the course we are gog to study a techque for aalysg the lear relatoshp betwee two varables Y ad X. We have pars of observatos

More information

ECON 482 / WH Hong The Simple Regression Model 1. Definition of the Simple Regression Model

ECON 482 / WH Hong The Simple Regression Model 1. Definition of the Simple Regression Model ECON 48 / WH Hog The Smple Regresso Model. Defto of the Smple Regresso Model Smple Regresso Model Expla varable y terms of varable x y = β + β x+ u y : depedet varable, explaed varable, respose varable,

More information

The equation is sometimes presented in form Y = a + b x. This is reasonable, but it s not the notation we use.

The equation is sometimes presented in form Y = a + b x. This is reasonable, but it s not the notation we use. INTRODUCTORY NOTE ON LINEAR REGREION We have data of the form (x y ) (x y ) (x y ) These wll most ofte be preseted to us as two colum of a spreadsheet As the topc develops we wll see both upper case ad

More information

Linear Regression. Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan

Linear Regression. Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan Lear Regresso Hsao-Lug Cha Dept Electrcal Egeerg Chag Gug Uverst, Tawa chahl@mal.cgu.edu.tw Curve fttg Least-squares regresso Data ehbt a sgfcat degree of error or scatter A curve for the tred of the data

More information

Handout #4. Statistical Inference. Probability Theory. Data Generating Process (i.e., Probability distribution) Observed Data (i.e.

Handout #4. Statistical Inference. Probability Theory. Data Generating Process (i.e., Probability distribution) Observed Data (i.e. Hadout #4 Ttle: FAE Coure: Eco 368/01 Sprg/015 Itructor: Dr. I-Mg Chu Th hadout ummarze chapter 3~4 from the referece PE. Relevat readg (detaled oe) ca be foud chapter 6, 13, 14, 19, 3, ad 5 from MPS.

More information

Functions of Random Variables

Functions of Random Variables Fuctos of Radom Varables Chapter Fve Fuctos of Radom Varables 5. Itroducto A geeral egeerg aalyss model s show Fg. 5.. The model output (respose) cotas the performaces of a system or product, such as weght,

More information

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS Exam: ECON430 Statstcs Date of exam: Frday, December 8, 07 Grades are gve: Jauary 4, 08 Tme for exam: 0900 am 00 oo The problem set covers 5 pages Resources allowed:

More information

ENGI 4421 Propagation of Error Page 8-01

ENGI 4421 Propagation of Error Page 8-01 ENGI 441 Propagato of Error Page 8-01 Propagato of Error [Navd Chapter 3; ot Devore] Ay realstc measuremet procedure cotas error. Ay calculatos based o that measuremet wll therefore also cota a error.

More information

Simple Linear Regression and Correlation. Applied Statistics and Probability for Engineers. Chapter 11 Simple Linear Regression and Correlation

Simple Linear Regression and Correlation. Applied Statistics and Probability for Engineers. Chapter 11 Simple Linear Regression and Correlation 4//6 Appled Statstcs ad Probablty for Egeers Sth Edto Douglas C. Motgomery George C. Ruger Chapter Smple Lear Regresso ad Correlato CHAPTER OUTLINE Smple Lear Regresso ad Correlato - Emprcal Models -8

More information

Module 7. Lecture 7: Statistical parameter estimation

Module 7. Lecture 7: Statistical parameter estimation Lecture 7: Statstcal parameter estmato Parameter Estmato Methods of Parameter Estmato 1) Method of Matchg Pots ) Method of Momets 3) Mamum Lkelhood method Populato Parameter Sample Parameter Ubased estmato

More information

Chapter 11 Systematic Sampling

Chapter 11 Systematic Sampling Chapter stematc amplg The sstematc samplg techue s operatoall more coveet tha the smple radom samplg. It also esures at the same tme that each ut has eual probablt of cluso the sample. I ths method of

More information

Francis Galton ( ) The Inventor of Modern Regression Analysis

Francis Galton ( ) The Inventor of Modern Regression Analysis Decrptve Stattc The Cure S Far: Prbablty Thery Prbablty Dtrbut Samplg Dtrbut Smple Radm Samplg Symbl f Caual Aaly: Crcle repreetg theretcal (r latet) varable that may be caue r effect (r bth) ur thery.

More information

{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution:

{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution: Chapter 4 Exercses Samplg Theory Exercse (Smple radom samplg: Let there be two correlated radom varables X ad A sample of sze s draw from a populato by smple radom samplg wthout replacemet The observed

More information

European Journal of Mathematics and Computer Science Vol. 5 No. 2, 2018 ISSN

European Journal of Mathematics and Computer Science Vol. 5 No. 2, 2018 ISSN Europea Joural of Mathematc ad Computer Scece Vol. 5 o., 018 ISS 059-9951 APPLICATIO OF ASYMPTOTIC DISTRIBUTIO OF MA-HITEY STATISTIC TO DETERMIE THE DIFFERECE BETEE THE SYSTOLIC BLOOD PRESSURE OF ME AD

More information

Lecture 3 Probability review (cont d)

Lecture 3 Probability review (cont d) STATS 00: Itroducto to Statstcal Iferece Autum 06 Lecture 3 Probablty revew (cot d) 3. Jot dstrbutos If radom varables X,..., X k are depedet, the ther dstrbuto may be specfed by specfyg the dvdual dstrbuto

More information

The Randomized Block Design

The Randomized Block Design Statstcal Methods I (EXST 75) Page 131 A factoral s a way of eterg two or more treatmets to a aalyss. The descrpto of a factoral usually cludes a measure of sze, a by, 3 by 4, 6 by 3 by 4, by by, etc.

More information

Analyzing Two-Dimensional Data. Analyzing Two-Dimensional Data

Analyzing Two-Dimensional Data. Analyzing Two-Dimensional Data /7/06 Aalzg Two-Dmesoal Data The most commo aaltcal measuremets volve the determato of a ukow cocetrato based o the respose of a aaltcal procedure (usuall strumetal). Such a measuremet requres calbrato,

More information

Lecture Notes Forecasting the process of estimating or predicting unknown situations

Lecture Notes Forecasting the process of estimating or predicting unknown situations Lecture Notes. Ecoomc Forecastg. Forecastg the process of estmatg or predctg ukow stuatos Eample usuall ecoomsts predct future ecoomc varables Forecastg apples to a varet of data () tme seres data predctg

More information

Lecture 1: Introduction to Regression

Lecture 1: Introduction to Regression Lecture : Itroducto to Regresso A Eample: Eplag State Homcde Rates What kds of varables mght we use to epla/predct state homcde rates? Let s cosder just oe predctor for ow: povert Igore omtted varables,

More information

Lecture 2: The Simple Regression Model

Lecture 2: The Simple Regression Model Lectre Notes o Advaced coometrcs Lectre : The Smple Regresso Model Takash Yamao Fall Semester 5 I ths lectre we revew the smple bvarate lear regresso model. We focs o statstcal assmptos to obta based estmators.

More information

Handout #1. Title: Foundations of Econometrics. POPULATION vs. SAMPLE

Handout #1. Title: Foundations of Econometrics. POPULATION vs. SAMPLE Hadout #1 Ttle: Foudatos of Ecoometrcs Course: Eco 367 Fall/015 Istructor: Dr. I-Mg Chu POPULATION vs. SAMPLE From the Bureau of Labor web ste (http://www.bls.gov), we ca fd the uemploymet rate for each

More information

Sum Mean n

Sum Mean n tatstcal Methods I (EXT 75) Page 147 ummary data Itermedate Calculatos X = 83 Y = 8 X = 51 Y = 368 Mea of X = X = 5.1875 Mea of Y = Y = 14.5 XY = 1348 = 16 Correcto factors ad Corrected values (ums of

More information

Chapter 13, Part A Analysis of Variance and Experimental Design. Introduction to Analysis of Variance. Introduction to Analysis of Variance

Chapter 13, Part A Analysis of Variance and Experimental Design. Introduction to Analysis of Variance. Introduction to Analysis of Variance Chapter, Part A Aalyss of Varace ad Epermetal Desg Itroducto to Aalyss of Varace Aalyss of Varace: Testg for the Equalty of Populato Meas Multple Comparso Procedures Itroducto to Aalyss of Varace Aalyss

More information

European Journal of Mathematics and Computer Science Vol. 5 No. 2, 2018 ISSN

European Journal of Mathematics and Computer Science Vol. 5 No. 2, 2018 ISSN Europea Joural of Mathematc ad Computer Scece Vol. 5 o., 018 ISS 059-9951 APPLICATIO OF ASYMPTOTIC DISTRIBUTIO OF MA-HITEY STATISTIC TO DETERMIE THE DIFFERECE BETEE THE SYSTOLIC BLOOD PRESSURE OF ME AD

More information

THE ROYAL STATISTICAL SOCIETY HIGHER CERTIFICATE

THE ROYAL STATISTICAL SOCIETY HIGHER CERTIFICATE THE ROYAL STATISTICAL SOCIETY 00 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE PAPER I STATISTICAL THEORY The Socety provdes these solutos to assst caddates preparg for the examatos future years ad for the

More information

ε. Therefore, the estimate

ε. Therefore, the estimate Suggested Aswers, Problem Set 3 ECON 333 Da Hugerma. Ths s ot a very good dea. We kow from the secod FOC problem b) that ( ) SSE / = y x x = ( ) Whch ca be reduced to read y x x = ε x = ( ) The OLS model

More information

Lecture 1: Introduction to Regression

Lecture 1: Introduction to Regression Lecture : Itroducto to Regresso A Eample: Eplag State Homcde Rates What kds of varables mght we use to epla/predct state homcde rates? Let s cosder just oe predctor for ow: povert Igore omtted varables,

More information

Applied Statistics and Probability for Engineers, 5 th edition February 23, b) y ˆ = (85) =

Applied Statistics and Probability for Engineers, 5 th edition February 23, b) y ˆ = (85) = Appled Statstcs ad Probablty for Egeers, 5 th edto February 3, y.8.7.6.5.4.3.. -5 5 5 x b) y ˆ.3999 +.46(85).6836 c) y ˆ.3999 +.46(9).744 d) ˆ.46-3 a) Regresso Aalyss: Ratg Pots versus Meters per Att The

More information

Contents. Introduction to Bayesian methods. Introduction to Bayesian methods Meta Analysis. Models and Methods. Mantel-Haenzel methods for 2x2 tables

Contents. Introduction to Bayesian methods. Introduction to Bayesian methods Meta Analysis. Models and Methods. Mantel-Haenzel methods for 2x2 tables Cotet Meta-aalye: Modeller og metoder Itroducto to Bayea method Meta Aaly. Model ad Method. Matel-Haezel method for x table Sta Lydere KLMED8006 Avedt med tatt St303 med tatt 8 Aprl 00 3 4 Frequett v Bayea

More information

A Result of Convergence about Weighted Sum for Exchangeable Random Variable Sequence in the Errors-in-Variables Model

A Result of Convergence about Weighted Sum for Exchangeable Random Variable Sequence in the Errors-in-Variables Model AMSE JOURNALS-AMSE IIETA publcato-17-sere: Advace A; Vol. 54; N ; pp 3-33 Submtted Mar. 31, 17; Reved Ju. 11, 17, Accepted Ju. 18, 17 A Reult of Covergece about Weghted Sum for Exchageable Radom Varable

More information

ENGI 4421 Joint Probability Distributions Page Joint Probability Distributions [Navidi sections 2.5 and 2.6; Devore sections

ENGI 4421 Joint Probability Distributions Page Joint Probability Distributions [Navidi sections 2.5 and 2.6; Devore sections ENGI 441 Jot Probablty Dstrbutos Page 7-01 Jot Probablty Dstrbutos [Navd sectos.5 ad.6; Devore sectos 5.1-5.] The jot probablty mass fucto of two dscrete radom quattes, s, P ad p x y x y The margal probablty

More information

Lecture Notes 2. The ability to manipulate matrices is critical in economics.

Lecture Notes 2. The ability to manipulate matrices is critical in economics. Lecture Notes. Revew of Matrces he ablt to mapulate matrces s crtcal ecoomcs.. Matr a rectagular arra of umbers, parameters, or varables placed rows ad colums. Matrces are assocated wth lear equatos. lemets

More information

ANOVA with Summary Statistics: A STATA Macro

ANOVA with Summary Statistics: A STATA Macro ANOVA wth Summary Stattc: A STATA Macro Nadeem Shafque Butt Departmet of Socal ad Prevetve Pedatrc Kg Edward Medcal College, Lahore, Pata Shahd Kamal Ittute of Stattc, Uverty of the Puab Lahore, Pata Muhammad

More information

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS Postpoed exam: ECON430 Statstcs Date of exam: Jauary 0, 0 Tme for exam: 09:00 a.m. :00 oo The problem set covers 5 pages Resources allowed: All wrtte ad prted

More information

STK3100 and STK4100 Autumn 2017

STK3100 and STK4100 Autumn 2017 SK3 ad SK4 Autum 7 Geeralzed lear models Part III Covers the followg materal from chaters 4 ad 5: Sectos 4..5, 4.3.5, 4.3.6, 4.4., 4.4., ad 4.4.3 Sectos 5.., 5.., ad 5.5. Ørulf Borga Deartmet of Mathematcs

More information