7 Pages

handout3.26

Course: BUSINESS 101, Spring 2012
School: UCLA
Rating:
 
 
 
 
 

Word Count: 905

Document Preview

Lecture ECO391 Handout Over 15.3 Spring 2003, G. Hoyt I. What is The Method of Least Squares(Ordinary Least Squares) A. Theory B. Formula C. Application II. Standard Error of the Estimate I. Ordinary Least Squares (OLS) (also called The Method of Least Squares) A. The Theory Ordinary least squares is a statistical technique that uses sample data to estimate the true population relationship between two variables....

Register Now

Unformatted Document Excerpt

Coursehero >> California >> UCLA >> BUSINESS 101

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Lecture ECO391 Handout Over 15.3 Spring 2003, G. Hoyt I. What is The Method of Least Squares(Ordinary Least Squares) A. Theory B. Formula C. Application II. Standard Error of the Estimate I. Ordinary Least Squares (OLS) (also called The Method of Least Squares) A. The Theory Ordinary least squares is a statistical technique that uses sample data to estimate the true population relationship between two variables. Recall that : 1) E(YiXi) = o + 1Xi is the population regression line 2) Yi(hat) = bo + b1Xi is the sample regression equation OLS allows us to find = bo and b1. Consider the following scatter plot diagram the shows the actual, observed data points in a sample: Y X Many lines could fit through these data points. We want to determine the line with the "best fit." What does it mean to say a line fits the data the best? Recall that ei(hat), the residual, represents the distance between the sample regression line and the observed data point, (Xi,Yi). The line that minimizes the sum of these distances is the one that gives us the best fit. However, some of the values of the residuals are negative in sign while others are positive. If we sum the residuals, positive values will cancel out negative values so the sum will not accurately reflect the total amount of error. To solve this problem we square the residuals before we add them together. The Method of least squares: (OLS) produces a line that minimizes the sum of the squared vertical distances from the line to the observed data points. i.e. it minimizes ei2 = e12 + e22 + e32 +.........+ en2 , where n is the sample size (hats over all of the e's) The sum of the residuals (unsquared) is exactly zero. (Later, you can use this bit of information to check your work.) B. Formulas - How does OLS get estimates of the coefficients? ei2 is also called the residual sum of squares (SSE). This is the amount that we want to minimize. SSE = ei(hat)2 = (Yi - Y(i(hat))2 = (Yi - bo - b1Xi)2 (1) (2) (3) Now consider equation (3). I am going to ask you to try to remember a little calculus. We can consider (3) as a mathematical function of bo and b1, f(bo, b1) We want to minimize the sum of the squared error terms so we want to minimize equation (3). In terms of calculus this means we want to find the critical points of a function. We want to find the values of b o and b1 that minimize the function. To do this we take a first derivative of function (3) with respect to bo and set it equal zero to and solve for bo. When we do this we get the function: Yi - b1X i n bo = (4) (4) If we take the first derivative of (3) with respect to b 1 and set it equal to zero and then solve for b 1 we get the following equation: nX i Yi - X i Yi nX i2 - ( X i )2 b1 = (5) (5) Equations (4) and (5) give us the formulas that we need to find the values of bo and b1 that estimate the true population relationship between X and Y. If we plug (5), the formula for b 1, into (4), the formula for bo, we may also write bo as follows: (Note that X2 (X)2) Equations (4) (6) (6) give us bo and b1 solely in terms or X and Y (sample data.) bo = X i2 Yi - X i X i Yi nX i2 - ( X i )2 C. EXAMPLE: Let's try an example. Consider the following dependent and independent variables: Xi = the number of children in a family Yi = the number of loaves of bread consumed by a family in a given three week period Family #, n=5 1 2 3 4 5 n=5 1) Find bo: XI 2 3 1 5 9 Xi = Yi 4 7 3 9 17 Yi = XiYi Xi2 Yi(hat) ei(hat) ei(hat)2 XiYi = Xi2 = ei(hat) = ei(hat)2 = 2)Find b1: 3) Write out the full sample regression line? Interpret the coefficients, bo and b1. 4) Prediction: Given that Xi = 6, predict the value that we expect Yi to take given our sample regression line. (i.e. find Yi(hat).) Complete the sixth column of the table. 5) Calculate the residuals: Recall ei(hat) = Yi - Yi(hat) (Fill in the seventh column of the table.) Check: The sum of the residuals should be approximately zero, ei(hat) = 0. 6) Find ei(hat)2 or SSE: (Complete the eighth column of the table.) Alternative Formulas: The formulas for the estimated coefficients can be manipulated and written in a variety of ways. Here are a few other alternatives. One set of alternatives are the formulas given in the text. b1 = [ ( X i X ) (Yi Y ) ] ( X i X ) 2 b1 = X i Yi nXY X i , andX = 2 2 n X nX Yi n bo = Y b1 X , andY = 15.3 The Standard Error of the Estimate (Se) Se = ei2 n2 This measure approximates the average distance of the real data points from the estimated regression line. i) ii) iii) Se is measured in the same unit of measure as the Y variable . So if the Y variable is measured in dollars and S e = $9.23, on average, our actual data points vary from their estimated values by about $9.23. Se can be used as a measure of the quality of fit of the sample regression line. The smaller the S e, the better the fit. An alternative formula for Se: Se = Yi 2 bo Yi b1X i Yi n2
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

UCLA - BUSINESS - 101
InventoriesandCGSRCJChapter9KeyIssues1.2.3.4.5.6.7.8.9.10.EffectofLIFOonfinancialstatementsLIFOlayersLIFOreserveChangeinLIFOreservePricevs.quantityeffectsLIFOandearningsmanagementLIFOfootnoteLIFOtaxsavingsLIFOFIFOswitchDollarValueLIF
UCLA - BUSINESS - 101
Accounting 316: Spring 2011Intermediate Accounting for Non-Accounting Majors IIProfessor Steve GrossmanOffice 460Q Telephone 845-4507 email s-grossman@tamu.eduWeb site: acct.tamu.edu/grossmanOffice hours Monday and Wednesday 11:00-12:00Book:Interme
UCLA - BUSINESS - 101
Occupancy Cost ProjectionWestfield West Covina MallHolica (Cielo Jeans USA, Inc.)assumption: percentage rate currently at 8%AnnuallyCurrent minimum break point = 122000/0.08 =MonthlyDaily1525000 127083.333333 4236.11111Additional rent paidDaily
UCLA - BUSINESS - 101
Occupancy Cost ProjectionWestfield West Covina MallHolica (Cielo Jeans USA, Inc.)assumption: percentage rate currently at 8%AnnuallyCurrent minimum break point = 122000/0.08 =MonthlyDaily1525000 127083.333333 4236.11111Additional rent paidDaily
UCLA - BUSINESS - 101
ReceivablesRCJChapter8(except405412)keyIssues1.2.3.4.HowreceivablesareusedtoraisecashRecoursevs.nonrecoursesalesConsequencesofdifferentmethodsonfinancialstatementsRoleofreceivablesinearningsmanagementPaul Zarowin2AllowanceMethod1.SalesDRA/
UCLA - BUSINESS - 101
September 4, 2011UCLA ExtensionFIN 432FINAL Chapters 1, 7, 8, 9 & 10STUDY NOTES:a. There are a total of 40 questions. All the questions will be answered using ascantron.True/FalseTheoryProblems54Chapter 832Chapter 95b.Chapter 7Chapter 1
UCLA - BUSINESS - 101
UCLA EXTENSIONDEPARTMENT OF BUSINESS & MANAGEMENTSYLLABUSCourse Title:Analysis of Financial StatementsCourse Number: X432.3Credit: 4 UnitsQuarter:Summer 2011Instructor:Derek DSaSession:August 1, 2011 September 7, 2011Location:UCLA, 220 Haine
UCLA - BUSINESS - 101
UCLA EXTENSIONTest # 1 (Chapters 1, 2 & 3)STUDY NOTES1.The test will cover chapters 1, 2 & 32.There will be a total of 20 questions, distributed over the threechapters3.You are allowed one page (two sides)of handwritten notes and acalculator4.
UCLA - BUSINESS - 101
UCLA ExtensionChapter 5 HW SolutionsProblem 5-1a. Investments Reported on the Balance Sheet:Able Corp. bonds .$ 330Bryan Co. bonds . 825Caltran, Inc. bonds .515Available-for-sale equity securities1,600Trading equity securities . . 950Total. $4,
UCLA - BUSINESS - 101
Occupancy Cost ProjectionWestfield West Covina MallHolica (Cielo Jeans USA, Inc.)Landlord's initial proposal of 9/23/114,056Sq. Ft.Per S.F.Per Year Per MonthMin. Rent$30.08$2.51CAM24.122.01R.E. Tax6.000.50Marketing2.100.18Fire Detec.0
UCLA - BUSINESS - 101
!%&'!!"# #$$("")$!!$!*!!!$.'0 '$N.'0=1$i =1'+ -","!N""$(n)s=%(x i )2%$$2!)..0./0i =1(xix!$0/.0)2n 1$ &'$$$)4$(262 )!"5-$!!" 7"!#".'03$$(.x084($-"x5 79$"x:"-)x
North Texas - CSCE - 3510
Name: _CHEM 1411Dr. McAdamsChapter #44.15 Specify what ions are present in solution upon dissolving each of thefollowing substances in water:(a) ZnCl2(b) HNO3(c) (NH4)2SO4(d) Ca(OH)24.16 Specify what ions are present upon dissolving each of the
North Texas - CSCE - 3510
Chemis try 100Clark CollegeChapter 8 Homework SOLUTION1. The reaction bet ween hydrazine, N2H4, and hy drogen peroxide, H2O2, has been used as arocket fuel, given as the following balanced equation:N2H4 + 7 H2O2 2 HNO3 + 8 H2OAccording to this equat
North Texas - CSCE - 3510
Chapter 4: Aqueous Reactionsand Solution StoichiometryChem 1411Dr. McAdamsSpring 2009Solutions: Homogeneousmixtures of two ormore puresubstances. The solvent ispresent in greatestabundance. All other substancesare solutes.Dissociation When
North Texas - CSCE - 3510
Dr. McAdams SupertasticOxidation Number andCompound Name ReviewRevised 10/4/07Naming ReviewOxidation States:-3 +1NH4+-3 +4Name:ammonium ionTotal Charge= +1Naming ReviewOxidation States:+3 -2PO33+3 -6Name:phosphite ionTotal Charge= -3N
North Texas - CSCE - 3510
Chapter 4: Aqueous Reactionsand Solution StoichiometryChem 1411Dr. McAdamsSpring 2009Solutions: Homogeneousmixtures of two ormore puresubstances. The solvent ispresent in greatestabundance. All other substancesare solutes.Dissociation When
North Texas - CSCE - 3510
Balancing Equations PracticeDr. McAdamsSymbols for Chemical Equations+: Separates one substance from another:Reacts to form products:The reactants are heated.(s):Solid(l):Liquid(g):Gas(aq):AqueousBalancing Chemical Equations1. Use correct
North Texas - CSCE - 3510
Chapter 3Stoichiometry:Calculations with ChemicalFormulas and EquationsCHEM 1411Dr. McAdamsSpring 2008Law of Conservation of MassPortrait of Monsieur Lavoisier andHis Wife,by Jacques-Louis David (1788)In all the operations of artand nature, no
North Texas - CSCE - 3510
Polyatomic Ions to Know and LoveCarbon:CO32HCO3HCO2C2O42C2H3O2written as CH3COO-)Oxygen:H3O+OHO22-carbonatebicarbonateformateoxalateacetate (sometimeshydroniumhydroxideperoxideSulfur:SO42HSO4S2O72SO32HSO3S22S2O32-sulfatebisulfatedisulfat
North Texas - CSCE - 3510
Chapter 3Stoichiometry:Calculations with ChemicalFormulas and EquationsCHEM 1411Dr. McAdamsSpring 2008Law of Conservation of MassPortrait of Monsieur Lavoisier andHis Wife,by Jacques-Louis David (1788)In all the operations of artand nature, no
North Texas - CSCE - 3510
Chapter3MassRelationshipsinChemicalReactionsDr.Pahlavan1.Balancethefollowingequations:a)C5H10O2+O2CO2+H2Ob)PCl5+H2OH3PO4+HClc)Al(OH)3+H2SO4_+_d)Na+_NaOH+H22.Writebalancedchemicalequationstocorrespondtoeachofthefollowingdescriptions:a)Heptane,C7H1
North Texas - CSCE - 3510
Principles of Chemistry OnlineLecture NotesIntroductory Chemistry, 2nd ed, by Nivaldo TroChapter 5: Molecules and CompoundsIn this chapter we will learn how compounds are formed, the types of chemical bonds in the compounds,how to write correct formu
North Texas - CSCE - 3510
Chapter 4: Aqueous Reactionsand Solution StoichiometryChem 1411Dr. McAdamsSpring 2009Solutions: Homogeneousmixtures of two ormore puresubstances. The solvent ispresent in greatestabundance. All other substancesare solutes.Dissociation When
North Texas - CSCE - 3510
Name: _CHEM 1411Dr. McAdamsChapter #44.15 Specify what ions are present in solution upon dissolving each of thefollowing substances in water:(a) ZnCl2(b) HNO3(c) (NH4)2SO4(d) Ca(OH)24.16 Specify what ions are present upon dissolving each of the
North Texas - CSCE - 3510
Polyatomic Ions to Know and LoveCarbon:CO32HCO3HCO2C2O42C2H3O2written as CH3COO-)Oxygen:H3O+OHO22-carbonatebicarbonateformateoxalateacetate (sometimeshydroniumhydroxideperoxideSulfur:SO42HSO4S2O72SO32HSO3S22S2O32-sulfatebisulfatedisulfat
North Texas - CSCE - 3510
35IONIC REACTIONS in AQUEOUS SOLUTIONS: NET IONIC EQUATIONSDouble replacements are among the most common of the simple chemical reactions. Consider the hypotheticalreaction:AB + CD AD + CBwhere AB exists as A+ and B- ions in solution and CD exists as
North Texas - CSCE - 3510
Chapter 4 Reactions in Aqueous SolutionsDr. Pahlavan1.Specifyhoweachofthefollowingstrongelectrolytesionizesordissociatesintoionsupondissolvinginwater.a)KNO3b)FeSO4c)(NH4)2CO3d)NaHCO32.Usingsolubilitytable,predictwhethereachofthefollowingcompoundsi
North Texas - CSCE - 3510
Molar Mass and Percentage Composition from Chemical FormulasShow your work for every calculation. Round your answer to the correct number of significant figures and record yourfinal answer with correct units on the line provided.1. Determine the molecu
North Texas - CSCE - 3510
Chemical Equations andStoichiometryChemical EquationsMethane reacts with oxygen to form carbon dioxide and waterIndicate the physical states of the matterBalancing Chemical EquationsSO2(g) +P2O5(s) +Fe(OH)3(s) +Mg3N2(s) +CCl4(l) +H2O(l) C4H10O
North Texas - CSCE - 3510
North Texas - CSCE - 3510
Review: Formulas and Mole Conversions1.2.3.What is a cation? Give an example.Where are the nonmetals located on the periodic table?Fill in the chart.SymbolName# of p+ # of no # of e- atomic #atomicmassaluminum ionO -2274.5.6.7.8.9.10.
North Texas - CSCE - 3510
4Chemical ReactionsBeakers with precipitatesof lead(II) iodide andmercury(II) iodide.Chemical reactions are the heart of chemistry. Some reactions, such as thoseaccompanying a forest re or the explosion of dynamite, are quite dramatic.Others are m
North Texas - CSCE - 3510
Ajay JoshiHw-31. 1. Assume a wafer size of 16inches, a die size of 3.4cm2, 1.5defects/cm2, and =3.Determine the die yield of this CMOS process runDie yield = Wafer Yield x (1 + (Defects per unit area x Die Area)/a)-a=16 * (1 + ( 1.5 * 3.4 )/3) )^-3=
North Texas - CSCE - 3510
UniversityofNorthTexasCollegeofEngineeringDepartmentofComputerEngineeringCSCE4915spring2012TestPlanPrepared by Van Buren GuysTABLE OF CONTENTS1. INTRODUCTIONObjectivesTesting StrategyScope2. TEST ITEMSProgram ModulesJob Control ProceduresUse
North Texas - CSCE - 3510
Cache Memory hierarchy is our solution for unlimited fast accesses at least 1 instruction fetch and maybe 1 data access per cycle more for a superscalar Each level of the hierarchy is based (at least in part) on Principleof Locality of Reference as
North Texas - CSCE - 3510
CSCI 504Computer OrganizationLecture 4Caches and Memory SystemsDr. Yuan-Shun DaiComputer Science 504Fall 2004Adapted from D.A. Patterson, Copyright 2003 UCB1Review: Reducing Misses Classifying Misses: 3 Cs CompulsoryMisses in even an Infinite C
North Texas - CSCE - 3510
CSE243:IntroductiontoComputerArchitectureandHardware/SoftwareInterfaceTopicscovered:CourseoutlineandscheduleIntroductionGeneralinformationCSE243 :IntroductiontoComputerArchitectureandHardware/SoftwareInterface.Instructor :SwapnaS.GokhalePhone:62
North Texas - CSCE - 3510
CMOS Design With Delay Constraints:Design for PerformanceThe propagation delay equations on chart 4-5 can be rearranged to solve for W/L, asshown below, where we substituted Coxn(Wn/Ln) for kn and similarly for kpThese equations can then be used to si
North Texas - CSCE - 3510
Additional end-of-chapter problems for Chapter 1 Introduction to CMOS DesignCMOS: Circuit Design, Layout, and SimulationA1.1Using a SPICE operating point anaysis (.op) simulate the operation of the circuit seen below.Compare your hand calculated value
North Texas - CSCE - 3510
CEG3420 Computer Design Lecture 6: Cost and Design Processceg3420 L6 Cost.1Fa 1998 UCBAdministrative Matters Review complete Read Chapter 4: ALU, Multiply, Divide, FP Mult Load balance of discussion sectionsceg3420 L6 Cost.2Fa 1998 UCBReview: Perfor
North Texas - CSCE - 3510
#Homework #5 - (Memory Hierarchy)Name: Ajay JoshiCourse: CSCE 2610 section 021Instructor: Michael MohlerDue:08-09-2011#-1. (15 points - 5 points each)Describe each of these types of cache miss:a) Compulsory miss: a program references a given cac
North Texas - CSCE - 3510
CSCE 2610Memory Hierarchy:Improving Cache PerformanceCaching EffectsAlgorithm choice may needto consider the behavior of acache.Radix sort is betterasymptotically (according toBig-Oh).However, Quicksort makesbetter use of locality.Cache Perfor
North Texas - CSCE - 3510
CSCE 2610Exploiting Memory Hierarchy:Memory/CachingBottleneckIn our previous discussion on the pipeline, weassumed that memory access could be handled ina single cycle.Overly simplistic.As it turns out, memory access is THE bottleneckof modern co
North Texas - CSCE - 3510
CSCE 2610The Processor:PipeliningMIPS in the PipelineAs mentioned last time, MIPS separatesexecution into five stages:IF: Instruction fetch (from memory)ID: Instruction decode (and registeraccess)EX: Execute instruction (calculate address)MEM: A
North Texas - CSCE - 3510
COMP541PipelinedMIPSMontekSinghMar30,20101Topics PipeliningCanthinkofas Awaytoparallelize,or Awaytomakebetterutilizationofthehardware.Goal:useallhardwareeverycycle Section7.5oftext2ParallelismParallelism Twotypesofparallelism: Spatialparal
North Texas - CSCE - 3510
CSCE 2610The Processor:ALUs and the DatapathPost MortemMidterms: Everyone passed (Only one A without the 10 extra points) 6 A's 5 B's 3 C'sPitfallsMidtermHomeworksProgramsGradesRecap from earlierA processor is made of the following compone
North Texas - CSCE - 3510
CSCE 2610Final ReviewParts of the finalTotal (110%)Short Answers (40%) more later16 questions, in 3 groups4% eachAnswer 10 of them.Instruction Execution Analysis (20%)4 questions, 5% eachYou're given an instruction, what controlsignals are affe
North Texas - CSCE - 3510
CSCE 2610Assembly Language&Computer OrganizationInstructor: Mr. Michael Mohler not yet a Dr. or Prof.Contact: F221, MichaelMohler@my.unt.eduOffice Hours: TR 12:00PM-1:00PM, or by appointmentClass Meeting: TR 10:00-11:50AM, B192Website: http:/webct
North Texas - CSCE - 3510
TheMIPSstack:recap Thestackgrowsdownwardintermsofmemoryaddresses. Theaddressofthetopelementofthestackisstored(byconvention)inthestackpointerregister,$sp.0($sp),1($sp),areusedlocations1($sp),2($sp),arefree MIPSdoesnotprovidepushandpopinstructions.
North Texas - CSCE - 3510
CDA3101DiscussionSection10DatapathandControl1Questions5.3 Describe the effect that a single stuckat1 fault (thesignalisalways1)wouldhaveforthesignalsshownbelow,inthesinglecycledatapathinFigure5.17onpage 307. Which instructions, if any will not work
North Texas - CSCE - 3510
Midterm Questions OverviewFour questions from the following: Performance Evaluation: Given MIPS code, estimate performance on a given CPU. Compare performance of different CPU/compiler changes for agiven program. May involve computing execution time,
North Texas - CSCE - 3510
CSE 378 Machine Architecture and Assembly Language PRACTICE QUESTIONS: 1) Programming in SPIM. Write a program in MIPS assembly language that finds (i)the number of elements strictly greater than the last element,(ii) the minimum element,(iii) the maximum
North Texas - CSCE - 3510
Midterm Questions OverviewFour questions from the following: Performance Evaluation: Given MIPS code, estimate performance on a given CPU. Compare performance of different CPU/compiler changes for agiven program. May involve computing execution time,
North Texas - CSCE - 3510
ECE8405 Class Notes CHAPTER 5 - CPU IMPLEMENTATIONThe CPU consists of the datapath, control, cache, and I/O peripheralsand interfaces. This week, we will consider the first two, which form thebackbone of the CPU. Today we will consider a non-pipelined
North Texas - CSCE - 3510
Part IVData Path and ControlFeb. 2011 Computer Architecture, Data Path Slide 1About This PresentationThis presentation is intended to support the use of the textbookComputer Architecture: From Microprocessors to Supercomputers,Oxford University Pres
North Texas - CSCE - 3510
KING FAHD UNIVERSITY OF PETROLEUM & MINERALS COLLEGE OF COMPUTER SCIENCES & ENGINEERING ICS 233 Computer Architecture & Assembly Language Course Project -Term 081Pipelined Processor Design Due date: Friday, Jan. 30, 2009Project Objectives: Designing a P
University of Texas - BIO - 325
ReviewProblemsReviewProblemsUnitIQ.1 Inhumans,brown(B)eyesaredominantoverblue(b).Abrowneyedmanmarriesablueeyedwomanandtheyhavethreechildren.Twoofthemarebrowneyedandthethirdoneisblueeyed.Whatarethegenotypesoftheparentsandchildren?Q.2 Indogs,ther
University of Texas - BIO - 325
Test II (Genetics)Griffith, Avery and Messelson-Stahl experimentsDNA packaging (organization) stepsNucleosome structure and compositionEnzymes involved in replication and their functionDiagram to show replication fork, different components, leading a
University of Texas - BIO - 325
Unit Test II Ans keyMCQ:1) C2) D3) D4) C5) A6) B7) D8) C9) C10) D11) C12) C13) C14) C15) C16) A17) A18) C19) B20) AT/F:1) T2) F3) F4) T5) F6) T7) F8) T9) T10) FMatch A and B:1)2)3)4)5)6)ejhfgi7) b8) c9) a10
University of Texas - PHY - 316
Sheet1000.833333333 0.5189797941.266666666 0.7342661081.666666667 0.921370631.866666667 1.003082102000.9 0.503527711.36666666 0.7298086851.733333333 0.9037377712 0.996718368002.066666667 0.527134433.3 0.7704544264.2 0.9267223094.66666666
University of Texas - PHY - 316
Sheet1The experimental results for g included results of 8.1959m/s^2, 9.895m/s^2, and 11.479m/s^2.At the beginning, due to errors in calculations of the angle of the incline, the value of g was skewed.However, with the correct data, the experimental va