如何计算 R 中的总最小二乘法?(正交回归) [英] How to calculate Total least squares in R? (Orthogonal regression)

查看:76
本文介绍了如何计算 R 中的总最小二乘法?(正交回归)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有找到计算正交回归的函数(TLS - 总最小二乘法).

I didn't find a function to calculate the orthogonal regression (TLS - Total Least Squares).

有这种功能的包吗?

更新:我的意思是对称计算每个点的距离,而不是像 lm() 那样不对称计算.

Update: I mean calculate the distance of each point symmetrically and not asymmetrically as lm() does.

推荐答案

您可能需要考虑 MethComp 包中的 Deming() 函数 [函数信息].该软件包还包含 Deming 回归理论的详细推导.

You might want to consider the Deming() function in package MethComp [function info]. The package also contains a detailed derivation of the theory behind Deming regression.

以下对 R 档案的搜索也提供了很多选项:

The following search of the R Archives also provide plenty of options:

您关于 CrossValidated、here 和 R-Help 的多个问题意味着您需要做更多的工作来准确描述您想要做什么,因为术语总最小二乘法"和正交回归"具有一定程度的对实际所需技术的含糊不清.

Your multiple questions on CrossValidated, here and R-Help imply that you need to do a bit more work to describe exactly what you want to do, as the terms "Total least squares" and "orthogonal regression" carry some degree of ambiguity about the actual technique wanted.

这篇关于如何计算 R 中的总最小二乘法?(正交回归)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆