- 1、本文档共23页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
3chapter3-3
3.3 Applying the Least-squares Criterion Fitting a Straight Line Suppose a model of the form y = Ax + B is expected and it has been decided to use the m data points (xi, yi), i = 1, 2,…, m, to estimate A and B. Denote the lease-squares estimate of y = Ax + B by y = ax + b. Applying the least-squares criterion to this situation requires the minimization of A necessary condition for optimality yields the equations These equations can be rewritten to give Fitting a Power Curve Now lets use the least-squares criterion to fit a curve of the form y = Axn, where n is fixed, to a given collection of data points. Call the least-squares estimate of the model f(x) = axn. Application of the criterion then requires minimization of A necessary condition for optimality gives the equation For example, lets fit y = Ax2 to the data shown in the table and predict the value of y when x = 2.25. Transformed Least-Squares Fit Although the least-squares criterion appears easy to apply in theory, in practice it may be difficult. For example, consider fitting the model y = AeBx using the least-squares criterion. It will yields a nonlinear equations not easy to solve. Many simple models result in derivatives that are very complex or in system of equations that are difficult to solve. For this reason, we use transformation to approximate the least-squares model. Suppose we wish to fit the power curve y = AxN to a collection of data points. Lets denote the estimate of A by a and the estimate of N by n. Taking the logarithm of both sides of the equation y = axn yields Solving for the slope n and intercept lna with the transformed variables and given m data points, we have Suppose we still wish to fit a quadratic y = Ax2 to the collection of data. Denote the estimate of A by a and taking the logarithm of both sides of the equation y = ax2 yields lny = lna + 2lnx. By minimizing we obtain that lna = 1.1432, a = 3.1368, so the model is y = 3.1368x2. The model predic
文档评论(0)