SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
We ask you to perform the following calculations to determine the LINE OF BEST FIT (yfit=mx+b )
for this data: 1. Please use the least squares appraoch from class to construct the following
matrices/vectors: - ATA=AA: The square matrix - ATY=Ay: The RHS 1. Now, solve the least
squares equation to find the slope, intercept, SSE, and coefficient of DETERMINATION: -
SLope_LLSQ = - Intercept_LLSQ = - SSE= - R2= 1. Use the relationships provided in the class
slides on linear regression to calculate the following terms: - SSxx = Sum of squares x - SSyy =
Sum of squares y - SSxy = Sum of the products - r= Coefficient of correlation - Slope_regression
=- Slope_regression = - Intercept_regression = 1. Finally, take the difference in slope and intercept
to see how similar they are: - DiffSlope = abs(SLope_LLSQ - Slope_regression) - DiffIntercept =
abs(Intercept_LLSQ - Intercept_regression) What do you notice? MATLAB Documentation 24%
Assign data to the x and y variable% Assign data x=data(:,1) y=data(:,1) % Assign data to the x
and y variable % Calcualate the various terms reques % ATA =AA : The square matrix ATA = %
ATY =Ay : The RHS ATY = % Now, solve the least squares equati Slope_LLSQ = Intercept_LLSQ
= SSE = R2 = % Use the relationships provided in t SS xx= SSyy = SSxy = r= Slope_regression =
Intercept_regression = Finally, take the absolute value of % LLSQ and regression
formula/approac( begin{array}{ll}7 & text { % } 89 & text { Slope_LLSQ }= 0 & text {
Intercept_LLSQ }= 1 & text { SSE }= 2 & text { R2 }= 3 & 4 & % text { Use the relationships
provided in t } 5 & text { SSxx }= 6 & text { SSyy }= 7 & text { SSxy }= 8 & text { r }= 9 & text {
Slope_regression }= 0 & text { Intercept_regression }= 1 & 2 & % text { Finally, take the absolute
value of } 3 & % text { LLSQ and regression formula/approac } 4 & text { DiffSlope }= 5 & text {
Diffintercept }= 6 & 7 & 8 & % text { Plot the results } 9 & text { plot (x,y, 'bo') } 0 & text { hold on } 1
& end{array} )

Contenu connexe

Similaire à We ask you to perform the following calculations to determin.pdf

Rational function representation
Rational function representationRational function representation
Rational function representationrey castro
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regressionMaria Theresa
 
Intro To Formula Project
Intro To Formula ProjectIntro To Formula Project
Intro To Formula ProjectKathy Favazza
 
BASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTSBASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTSjainyshah20
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regressionMaria Theresa
 
Eigenvalues, Eigenvectors and Quadratic Forms.pdf
Eigenvalues, Eigenvectors and Quadratic Forms.pdfEigenvalues, Eigenvectors and Quadratic Forms.pdf
Eigenvalues, Eigenvectors and Quadratic Forms.pdfAugustoMiguel Ramos
 
STA003_WK4_L.pptx
STA003_WK4_L.pptxSTA003_WK4_L.pptx
STA003_WK4_L.pptxMAmir23
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptxMdRokonMia1
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlabsheetslibrary
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equationsZunAib Ali
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlabZunAib Ali
 
Mathematics TAKS Exit Level Review
Mathematics TAKS Exit Level ReviewMathematics TAKS Exit Level Review
Mathematics TAKS Exit Level Reviewguest3f17823
 
TIU CET Review Math Session 6 - part 2 of 2
TIU CET Review Math Session 6 - part 2 of 2TIU CET Review Math Session 6 - part 2 of 2
TIU CET Review Math Session 6 - part 2 of 2youngeinstein
 
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 1.pptx
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 1.pptxAIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 1.pptx
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 1.pptxZawarali786
 

Similaire à We ask you to perform the following calculations to determin.pdf (20)

Rational function representation
Rational function representationRational function representation
Rational function representation
 
Matlab variables
Matlab variablesMatlab variables
Matlab variables
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Ch05 1
Ch05 1Ch05 1
Ch05 1
 
Intro To Formula Project
Intro To Formula ProjectIntro To Formula Project
Intro To Formula Project
 
BASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTSBASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTS
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
PART I.4 - Physical Mathematics
PART I.4 - Physical MathematicsPART I.4 - Physical Mathematics
PART I.4 - Physical Mathematics
 
REGRESSION ANALYSIS
REGRESSION ANALYSISREGRESSION ANALYSIS
REGRESSION ANALYSIS
 
Eigenvalues, Eigenvectors and Quadratic Forms.pdf
Eigenvalues, Eigenvectors and Quadratic Forms.pdfEigenvalues, Eigenvectors and Quadratic Forms.pdf
Eigenvalues, Eigenvectors and Quadratic Forms.pdf
 
PART I.3 - Physical Mathematics
PART I.3 - Physical MathematicsPART I.3 - Physical Mathematics
PART I.3 - Physical Mathematics
 
STA003_WK4_L.pptx
STA003_WK4_L.pptxSTA003_WK4_L.pptx
STA003_WK4_L.pptx
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 
Math
MathMath
Math
 
Mathematics TAKS Exit Level Review
Mathematics TAKS Exit Level ReviewMathematics TAKS Exit Level Review
Mathematics TAKS Exit Level Review
 
TIU CET Review Math Session 6 - part 2 of 2
TIU CET Review Math Session 6 - part 2 of 2TIU CET Review Math Session 6 - part 2 of 2
TIU CET Review Math Session 6 - part 2 of 2
 
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 1.pptx
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 1.pptxAIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 1.pptx
AIOU Code 803 Mathematics for Economists Semester Spring 2022 Assignment 1.pptx
 

Plus de DARSHANACHARYA13

We are going to be discussing the sympathetic and parasympat.pdf
We are going to be discussing the sympathetic and parasympat.pdfWe are going to be discussing the sympathetic and parasympat.pdf
We are going to be discussing the sympathetic and parasympat.pdfDARSHANACHARYA13
 
We estimate n linese trend model for the logarithm of the He.pdf
We estimate n linese trend model for the logarithm of the He.pdfWe estimate n linese trend model for the logarithm of the He.pdf
We estimate n linese trend model for the logarithm of the He.pdfDARSHANACHARYA13
 
Waterway Industries compil la siguiente informacin financi.pdf
Waterway Industries compil la siguiente informacin financi.pdfWaterway Industries compil la siguiente informacin financi.pdf
Waterway Industries compil la siguiente informacin financi.pdfDARSHANACHARYA13
 
Waterways Corporation is a private corporation formed for th.pdf
Waterways Corporation is a private corporation formed for th.pdfWaterways Corporation is a private corporation formed for th.pdf
Waterways Corporation is a private corporation formed for th.pdfDARSHANACHARYA13
 
Wbich of the following includes the taxa to which the domest.pdf
Wbich of the following includes the taxa to which the domest.pdfWbich of the following includes the taxa to which the domest.pdf
Wbich of the following includes the taxa to which the domest.pdfDARSHANACHARYA13
 
We are restricted from importing cv2 numpy stats and other.pdf
We are restricted from importing cv2 numpy stats and other.pdfWe are restricted from importing cv2 numpy stats and other.pdf
We are restricted from importing cv2 numpy stats and other.pdfDARSHANACHARYA13
 
Watch the documentary Stealing Africa why poverty and a.pdf
Watch the documentary Stealing Africa why poverty and a.pdfWatch the documentary Stealing Africa why poverty and a.pdf
Watch the documentary Stealing Africa why poverty and a.pdfDARSHANACHARYA13
 
Waste from the food ingested is eliminated via the colon and.pdf
Waste from the food ingested is eliminated via the colon and.pdfWaste from the food ingested is eliminated via the colon and.pdf
Waste from the food ingested is eliminated via the colon and.pdfDARSHANACHARYA13
 
VvS L MInICases Chapter 4 Small Business Processes and S.pdf
VvS L MInICases Chapter 4  Small Business Processes and S.pdfVvS L MInICases Chapter 4  Small Business Processes and S.pdf
VvS L MInICases Chapter 4 Small Business Processes and S.pdfDARSHANACHARYA13
 
W3 Cumulative Project Assignment Data Types 1 Create at le.pdf
W3 Cumulative Project Assignment Data Types 1 Create at le.pdfW3 Cumulative Project Assignment Data Types 1 Create at le.pdf
W3 Cumulative Project Assignment Data Types 1 Create at le.pdfDARSHANACHARYA13
 
Vulcan Flyovers offers scenic overfights of Mount Saint Hele.pdf
Vulcan Flyovers offers scenic overfights of Mount Saint Hele.pdfVulcan Flyovers offers scenic overfights of Mount Saint Hele.pdf
Vulcan Flyovers offers scenic overfights of Mount Saint Hele.pdfDARSHANACHARYA13
 
Vertic Analysis Bal Sheet Ratios gtO Herrera Inc O H.pdf
Vertic Analysis Bal Sheet Ratios gtO Herrera Inc O H.pdfVertic Analysis Bal Sheet Ratios gtO Herrera Inc O H.pdf
Vertic Analysis Bal Sheet Ratios gtO Herrera Inc O H.pdfDARSHANACHARYA13
 
Vito Brassimo ev ses sistemlerinde uzmanlam bir talyan irke.pdf
Vito Brassimo ev ses sistemlerinde uzmanlam bir talyan irke.pdfVito Brassimo ev ses sistemlerinde uzmanlam bir talyan irke.pdf
Vito Brassimo ev ses sistemlerinde uzmanlam bir talyan irke.pdfDARSHANACHARYA13
 
W them and Interference NOTE The mutant versions of these.pdf
W them and Interference NOTE The mutant versions of these.pdfW them and Interference NOTE The mutant versions of these.pdf
W them and Interference NOTE The mutant versions of these.pdfDARSHANACHARYA13
 
Vulcan Flyovers offers scenic overflights of Mount Saint Hel.pdf
Vulcan Flyovers offers scenic overflights of Mount Saint Hel.pdfVulcan Flyovers offers scenic overflights of Mount Saint Hel.pdf
Vulcan Flyovers offers scenic overflights of Mount Saint Hel.pdfDARSHANACHARYA13
 
Vincentys formulas are two related iterative methods used .pdf
Vincentys formulas are two related iterative methods used .pdfVincentys formulas are two related iterative methods used .pdf
Vincentys formulas are two related iterative methods used .pdfDARSHANACHARYA13
 
Volunteered geographic information is supplied to the commun.pdf
Volunteered geographic information is supplied to the commun.pdfVolunteered geographic information is supplied to the commun.pdf
Volunteered geographic information is supplied to the commun.pdfDARSHANACHARYA13
 
Visita de Wendy Shay a Kufuor Sammy Awuku descontento con l.pdf
Visita de Wendy Shay a Kufuor Sammy Awuku descontento con l.pdfVisita de Wendy Shay a Kufuor Sammy Awuku descontento con l.pdf
Visita de Wendy Shay a Kufuor Sammy Awuku descontento con l.pdfDARSHANACHARYA13
 
Veri kmesindeki her yantlayan iin birden fazla gzlem rapo.pdf
Veri kmesindeki her yantlayan iin birden fazla gzlem rapo.pdfVeri kmesindeki her yantlayan iin birden fazla gzlem rapo.pdf
Veri kmesindeki her yantlayan iin birden fazla gzlem rapo.pdfDARSHANACHARYA13
 
Veriler bireysel satlar anlamak iin yararldr ancak bir i .pdf
Veriler bireysel satlar anlamak iin yararldr ancak bir i .pdfVeriler bireysel satlar anlamak iin yararldr ancak bir i .pdf
Veriler bireysel satlar anlamak iin yararldr ancak bir i .pdfDARSHANACHARYA13
 

Plus de DARSHANACHARYA13 (20)

We are going to be discussing the sympathetic and parasympat.pdf
We are going to be discussing the sympathetic and parasympat.pdfWe are going to be discussing the sympathetic and parasympat.pdf
We are going to be discussing the sympathetic and parasympat.pdf
 
We estimate n linese trend model for the logarithm of the He.pdf
We estimate n linese trend model for the logarithm of the He.pdfWe estimate n linese trend model for the logarithm of the He.pdf
We estimate n linese trend model for the logarithm of the He.pdf
 
Waterway Industries compil la siguiente informacin financi.pdf
Waterway Industries compil la siguiente informacin financi.pdfWaterway Industries compil la siguiente informacin financi.pdf
Waterway Industries compil la siguiente informacin financi.pdf
 
Waterways Corporation is a private corporation formed for th.pdf
Waterways Corporation is a private corporation formed for th.pdfWaterways Corporation is a private corporation formed for th.pdf
Waterways Corporation is a private corporation formed for th.pdf
 
Wbich of the following includes the taxa to which the domest.pdf
Wbich of the following includes the taxa to which the domest.pdfWbich of the following includes the taxa to which the domest.pdf
Wbich of the following includes the taxa to which the domest.pdf
 
We are restricted from importing cv2 numpy stats and other.pdf
We are restricted from importing cv2 numpy stats and other.pdfWe are restricted from importing cv2 numpy stats and other.pdf
We are restricted from importing cv2 numpy stats and other.pdf
 
Watch the documentary Stealing Africa why poverty and a.pdf
Watch the documentary Stealing Africa why poverty and a.pdfWatch the documentary Stealing Africa why poverty and a.pdf
Watch the documentary Stealing Africa why poverty and a.pdf
 
Waste from the food ingested is eliminated via the colon and.pdf
Waste from the food ingested is eliminated via the colon and.pdfWaste from the food ingested is eliminated via the colon and.pdf
Waste from the food ingested is eliminated via the colon and.pdf
 
VvS L MInICases Chapter 4 Small Business Processes and S.pdf
VvS L MInICases Chapter 4  Small Business Processes and S.pdfVvS L MInICases Chapter 4  Small Business Processes and S.pdf
VvS L MInICases Chapter 4 Small Business Processes and S.pdf
 
W3 Cumulative Project Assignment Data Types 1 Create at le.pdf
W3 Cumulative Project Assignment Data Types 1 Create at le.pdfW3 Cumulative Project Assignment Data Types 1 Create at le.pdf
W3 Cumulative Project Assignment Data Types 1 Create at le.pdf
 
Vulcan Flyovers offers scenic overfights of Mount Saint Hele.pdf
Vulcan Flyovers offers scenic overfights of Mount Saint Hele.pdfVulcan Flyovers offers scenic overfights of Mount Saint Hele.pdf
Vulcan Flyovers offers scenic overfights of Mount Saint Hele.pdf
 
Vertic Analysis Bal Sheet Ratios gtO Herrera Inc O H.pdf
Vertic Analysis Bal Sheet Ratios gtO Herrera Inc O H.pdfVertic Analysis Bal Sheet Ratios gtO Herrera Inc O H.pdf
Vertic Analysis Bal Sheet Ratios gtO Herrera Inc O H.pdf
 
Vito Brassimo ev ses sistemlerinde uzmanlam bir talyan irke.pdf
Vito Brassimo ev ses sistemlerinde uzmanlam bir talyan irke.pdfVito Brassimo ev ses sistemlerinde uzmanlam bir talyan irke.pdf
Vito Brassimo ev ses sistemlerinde uzmanlam bir talyan irke.pdf
 
W them and Interference NOTE The mutant versions of these.pdf
W them and Interference NOTE The mutant versions of these.pdfW them and Interference NOTE The mutant versions of these.pdf
W them and Interference NOTE The mutant versions of these.pdf
 
Vulcan Flyovers offers scenic overflights of Mount Saint Hel.pdf
Vulcan Flyovers offers scenic overflights of Mount Saint Hel.pdfVulcan Flyovers offers scenic overflights of Mount Saint Hel.pdf
Vulcan Flyovers offers scenic overflights of Mount Saint Hel.pdf
 
Vincentys formulas are two related iterative methods used .pdf
Vincentys formulas are two related iterative methods used .pdfVincentys formulas are two related iterative methods used .pdf
Vincentys formulas are two related iterative methods used .pdf
 
Volunteered geographic information is supplied to the commun.pdf
Volunteered geographic information is supplied to the commun.pdfVolunteered geographic information is supplied to the commun.pdf
Volunteered geographic information is supplied to the commun.pdf
 
Visita de Wendy Shay a Kufuor Sammy Awuku descontento con l.pdf
Visita de Wendy Shay a Kufuor Sammy Awuku descontento con l.pdfVisita de Wendy Shay a Kufuor Sammy Awuku descontento con l.pdf
Visita de Wendy Shay a Kufuor Sammy Awuku descontento con l.pdf
 
Veri kmesindeki her yantlayan iin birden fazla gzlem rapo.pdf
Veri kmesindeki her yantlayan iin birden fazla gzlem rapo.pdfVeri kmesindeki her yantlayan iin birden fazla gzlem rapo.pdf
Veri kmesindeki her yantlayan iin birden fazla gzlem rapo.pdf
 
Veriler bireysel satlar anlamak iin yararldr ancak bir i .pdf
Veriler bireysel satlar anlamak iin yararldr ancak bir i .pdfVeriler bireysel satlar anlamak iin yararldr ancak bir i .pdf
Veriler bireysel satlar anlamak iin yararldr ancak bir i .pdf
 

Dernier

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 

Dernier (20)

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 

We ask you to perform the following calculations to determin.pdf

  • 1. We ask you to perform the following calculations to determine the LINE OF BEST FIT (yfit=mx+b ) for this data: 1. Please use the least squares appraoch from class to construct the following matrices/vectors: - ATA=AA: The square matrix - ATY=Ay: The RHS 1. Now, solve the least squares equation to find the slope, intercept, SSE, and coefficient of DETERMINATION: - SLope_LLSQ = - Intercept_LLSQ = - SSE= - R2= 1. Use the relationships provided in the class slides on linear regression to calculate the following terms: - SSxx = Sum of squares x - SSyy = Sum of squares y - SSxy = Sum of the products - r= Coefficient of correlation - Slope_regression =- Slope_regression = - Intercept_regression = 1. Finally, take the difference in slope and intercept to see how similar they are: - DiffSlope = abs(SLope_LLSQ - Slope_regression) - DiffIntercept = abs(Intercept_LLSQ - Intercept_regression) What do you notice? MATLAB Documentation 24% Assign data to the x and y variable% Assign data x=data(:,1) y=data(:,1) % Assign data to the x and y variable % Calcualate the various terms reques % ATA =AA : The square matrix ATA = % ATY =Ay : The RHS ATY = % Now, solve the least squares equati Slope_LLSQ = Intercept_LLSQ = SSE = R2 = % Use the relationships provided in t SS xx= SSyy = SSxy = r= Slope_regression = Intercept_regression = Finally, take the absolute value of % LLSQ and regression formula/approac( begin{array}{ll}7 & text { % } 89 & text { Slope_LLSQ }= 0 & text { Intercept_LLSQ }= 1 & text { SSE }= 2 & text { R2 }= 3 & 4 & % text { Use the relationships provided in t } 5 & text { SSxx }= 6 & text { SSyy }= 7 & text { SSxy }= 8 & text { r }= 9 & text { Slope_regression }= 0 & text { Intercept_regression }= 1 & 2 & % text { Finally, take the absolute value of } 3 & % text { LLSQ and regression formula/approac } 4 & text { DiffSlope }= 5 & text { Diffintercept }= 6 & 7 & 8 & % text { Plot the results } 9 & text { plot (x,y, 'bo') } 0 & text { hold on } 1 & end{array} )