![經(jīng)管學(xué)會(huì)網(wǎng)盤光華方向?qū)I(yè)概統(tǒng)lecture_第1頁](http://file4.renrendoc.com/view/9de3a746def66243849533ab1d1a9528/9de3a746def66243849533ab1d1a95281.gif)
![經(jīng)管學(xué)會(huì)網(wǎng)盤光華方向?qū)I(yè)概統(tǒng)lecture_第2頁](http://file4.renrendoc.com/view/9de3a746def66243849533ab1d1a9528/9de3a746def66243849533ab1d1a95282.gif)
![經(jīng)管學(xué)會(huì)網(wǎng)盤光華方向?qū)I(yè)概統(tǒng)lecture_第3頁](http://file4.renrendoc.com/view/9de3a746def66243849533ab1d1a9528/9de3a746def66243849533ab1d1a95283.gif)
![經(jīng)管學(xué)會(huì)網(wǎng)盤光華方向?qū)I(yè)概統(tǒng)lecture_第4頁](http://file4.renrendoc.com/view/9de3a746def66243849533ab1d1a9528/9de3a746def66243849533ab1d1a95284.gif)
![經(jīng)管學(xué)會(huì)網(wǎng)盤光華方向?qū)I(yè)概統(tǒng)lecture_第5頁](http://file4.renrendoc.com/view/9de3a746def66243849533ab1d1a9528/9de3a746def66243849533ab1d1a95285.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、1Lecture 24Method of Least SquaresSimple Linear RegressionThe Method of Least SquaresSuppose that each of 10 patients is treated first with a certain amount of a standard drug A and then with an equal amount of a new drug B, and that the change in blood pressure induced by each drug is observed for
2、each patient. i xi (drug A) yi (drug B)11.90.7 20.8-1.031.1-0.240.1-1.25-0.1-0.164.43.474.60.081.60.895.53.7103.42.0 We might be interested in describing the relationship between the response y of a patient to drug B and his response x to drug A.We might also wish to predict the response y of a futu
3、re patient to the new drug B on the basis of his response x to the standard drug A.We can try to fit a straight line to the points. outlierThe Least Square LineConsider an arbitrary straight line y=b0+b1x. The vertical distance between the point (xi,yi) and the line is |yi-(b0+b1xi)|. Let Q denote t
4、he sum of the squares of the vertical distances at the n points.The method of least squares specifies that the values of b0 and b1 must be chosen to minimize Q.normal equationsThe least square line isFitting a PolynomialSuppose that we wish to fit a polynomial of degree k (k=2) of the following form
5、The method of least squares specifies that the constants b0, bk should be chosen to minimize A set of k+1 normal equations can again be obtained by setting each of the partial derivative equal to 0 for j=1,k+1.ExampleSuppose that we wish to fit a polynomial of the formto the previous 10 observations
6、. The normal equations are found to beThe solution to the equations areSo the least square parabola isFit A Linear Function of Several VariablesSuppose that we wish to represent a patients response to drug B as a linear function involving not only his response to drug A but also some other relevant
7、variables. For each patient i (i=1,n), we measure his response yi to drug B, his response xi1 to drug A, and his values xi2,xik for the other variables. We wish to fit a linear function having the formWe need to minimize The Normal EquationsExampleSuppose for each patient i, xi1 denotes his response
8、 to drug A, xi2 denotes his heart rate, and yi denotes his response to drug B. We wish to fit a linear function having the formi xi1xi2yi11.9660.7 20.862-1.031.164-0.240.161-1.25-0.163-0.164.4703.474.6680.081.6620.895.5683.7103.4662.0 The normal equations areThe solution to the equations areSo the l
9、east squares linear function is RegressionConsider the conditional distribution of some random variable Y for given values of some other variables X1,Xk.Some of the variables X1,Xk might be random variables.Some of the variables X1,Xk might be control variables whose values are to be chosen by the e
10、xperimenter.The conditional expectation of Y for any given values of X1,Xk is called the regression of Y on X1,Xk. Linear RegressionAssume that the regression function is linear:The coefficients b0,bk are called regression coefficients.We can get least square estimators of b0,bk. Simple Linear Regre
11、ssionConsider the regression of Y on just a single variable X. Assume that for any given value X=x, the random variable Y can be represented by Y=b0+b1x+ewhere e is a random variable andThereforen pairs of observations (x1,Y1),(xn,Yn): We condition on the values x1,xn before computing the joint dist
12、ribution of (Y1,Yn)The random variables Y1,Yn are independent. For i=1,n, The M.L.EThe likelihood function of b0, b1 and :The values of b0 and b1 for which the likelihood function is a maximum will be the values that minimizeSo the M.L.E. of b0 and b1 are the least square estimators.The M.L.E. for is Simple Linear Regression AssumptionsLinearity: E(Y|x)=b0+b1x.Normality: each variable Yi has a normal distribution.Independence: the variables Y1,Yn are independent.Homoscedasticity: the variables Y1,Yn have the s
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 通過游戲促進(jìn)幼兒認(rèn)知發(fā)展計(jì)劃
- 團(tuán)隊(duì)文化塑造的重要性計(jì)劃
- 學(xué)校社團(tuán)工作計(jì)劃鼓勵(lì)學(xué)生寫詩
- 2025年羧甲淀粉鈉項(xiàng)目合作計(jì)劃書
- 七年級(jí)下冊(cè)《一元一次不等式的應(yīng)用》課件與練習(xí)
- 制冷空調(diào)培訓(xùn)課件
- 強(qiáng)化廢棄物管理推動(dòng)生物降解
- 構(gòu)建系統(tǒng)耦合度控制與優(yōu)化機(jī)制
- 關(guān)于員工培訓(xùn)的會(huì)議紀(jì)要及培訓(xùn)計(jì)劃
- 功能、使用與維護(hù)指南
- 雙溪漂流可行性報(bào)告
- 采購流程各部門關(guān)系圖
- 力士樂工程機(jī)械液壓培訓(xùn)資料(共7篇)課件
- 英語單詞詞根
- 問題學(xué)生轉(zhuǎn)化策略課件
- GMP附錄計(jì)算機(jī)化系統(tǒng)整體及條款解讀
- 村光伏發(fā)電申請(qǐng)書
- 腰椎間盤突出癥中醫(yī)特色療法課件
- 施工現(xiàn)場(chǎng)專項(xiàng)消防安全檢查表
- 如何當(dāng)好學(xué)校的中層干部
- 2022-2023學(xué)年廣東省佛山市順德區(qū)高三(下)模擬英語試卷
評(píng)論
0/150
提交評(píng)論