由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Science版 - Re: 问个最小二乘法的问题
相关主题
Re: who have program for solving PB equation?Re: Problem again
Re: how to solve this equation?a limit question
problem on nonlinear differential equationRe: 大爆炸理论成立吗?
出两道数学分析题目给大家做做Re: 计算方法请教
Re: [转载] ?问题:应用数学/数学物理Re: nonlinear + regression fit in Mathematica 4.0
Re: How to solve this equation?Re: 土问--关于attractor, strange attractor的参考文献
Re: Help on finding max value of Math equation淋雨的概率
linear or nonlinear?我的答案Re: 淋雨的概率
相关话题的讨论汇总
话题: df话题: xi话题: sum话题: yi话题: cos
进入Science版参与讨论
1 (共1页)
r****y
发帖数: 1437
1

三个方程显然不可能一样,定义
f(a, b, c) = sum[(y*-a-bcos(x*-c))^2], where y* is observed value,
x* is self-variable.
use d to represent partial derivative,
df/da = 0
df/db = 0
df/dc = 0
Then to get a, b, c, of course, whether you can solve this set of
equation is another problem, but df/da, df/db, df/dc obviously are different.
I***e
发帖数: 1136
2
Let the ls function be
Sum( Yi - a - b cos( Xi-c ))^2...
Then, the three equations are:
Sum( Yi - a - b cos( Xi-c ) ) = 0
Sum( cos( Xi-c ) ( Yi - a - b cos( Xi-c ) ) = 0
Sum( b sin( Xi-c ) ( Yi - a - b cos( Xi-c ) ) = 0
Sure they are different.
You can use SAS to solve this kind of nonlinear least square fitting
problems. The procedure is called NLIN. Check out the following webpage
for detailed info:
http://sasdocs.ats.ucla.edu/
Good luck.
icare
1 (共1页)
进入Science版参与讨论
相关主题
我的答案Re: 淋雨的概率Re: [转载] ?问题:应用数学/数学物理
IsoMap .vs. EOFRe: How to solve this equation?
一个极限问题Re: Help on finding max value of Math equation
Re: 学过信号处理,光电,物理的帮我看看这句话是啥意思linear or nonlinear?
Re: who have program for solving PB equation?Re: Problem again
Re: how to solve this equation?a limit question
problem on nonlinear differential equationRe: 大爆炸理论成立吗?
出两道数学分析题目给大家做做Re: 计算方法请教
相关话题的讨论汇总
话题: df话题: xi话题: sum话题: yi话题: cos