由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Mathematics版 - 如何同时fit两条相近的lines?
相关主题
请教一个origin问题能否用采样值来估计函数斜率?
Please help with a probability problem请问如何求过原点并与坐标上某二点的距离和最近的直线斜率?
恳请高手赐教,或给些提示继续讨论 3/0=?
斜率英文怎么说?请问如何随机产生一个正定或者半正定矩阵呢?
EM 算法随机数生成?
急问非线性拟合RA positions available in ASU E.E. department
请问一个优化的题目(Introduction to linear optimization Q1.3)向各位数学大师致敬并求助!
做题了, 问大家一个概率问题 (转载)请问怎样求两条直线交点的不确定度?
相关话题的讨论汇总
话题: segmented话题: lines话题: 相近话题: 两线话题: mixture
进入Mathematics版参与讨论
1 (共1页)
l*****0
发帖数: 299
1
如何同时fit两条相近的lines?
数据模型 y=px+a+rand, y=qx+b+rand, rand遵循高斯分布(zero mean,sigma相同)
p,q,a,b,sigma未知
两条线斜率p,q相近(但又都 >0),两线在data points附近部不交叉
data points的noise较大,很多夹在两线中间的数据点不知是属于哪条线的。
请问高如何做fitting?
谢谢!
B****n
发帖数: 11290
2
I am not sure I totally understand your question. It seems that you need to
find a change point between these two lines and estimate the coefficients p,
q, a,b.
If this is what you want, there are bunch of methods dealing with it. For
example, you can use the segmented regression package to do it; below is the
link for the segmented package using free software R.
http://cran.r-project.org/web/packages/segmented/segmented.pdf

【在 l*****0 的大作中提到】
: 如何同时fit两条相近的lines?
: 数据模型 y=px+a+rand, y=qx+b+rand, rand遵循高斯分布(zero mean,sigma相同)
: p,q,a,b,sigma未知
: 两条线斜率p,q相近(但又都 >0),两线在data points附近部不交叉
: data points的noise较大,很多夹在两线中间的数据点不知是属于哪条线的。
: 请问高如何做fitting?
: 谢谢!

N******t
发帖数: 11
3
Robust statistics
Hough transform
l*****0
发帖数: 299
4
非常谢谢您的答复!大概是我没把问题说清。不是segmented regression。
例如:
数据由两个隐藏模型同时产生y1=2x+1+rand1, y2=2.1x+1.1+rand2,
其中rand1和rand2的mean为0,sigma相同但大小未知。
所有数据位于0 的,如何做fitting?
谢谢。

to
p,
the

【在 B****n 的大作中提到】
: I am not sure I totally understand your question. It seems that you need to
: find a change point between these two lines and estimate the coefficients p,
: q, a,b.
: If this is what you want, there are bunch of methods dealing with it. For
: example, you can use the segmented regression package to do it; below is the
: link for the segmented package using free software R.
: http://cran.r-project.org/web/packages/segmented/segmented.pdf

l*****0
发帖数: 299
5
Thanks a lot for your reply. 数据的噪音较大Hough transform does not work
well.

【在 N******t 的大作中提到】
: Robust statistics
: Hough transform

B****n
发帖数: 11290
6
This is a mixture normal model and the parameters can be estimated using
EM algorithm.
The following video introduces the mixture model (very similar to yours) and
how to estimate its parameters.
http://www.youtube.com/watch?v=LBtuYU-HfUg

【在 l*****0 的大作中提到】
: 非常谢谢您的答复!大概是我没把问题说清。不是segmented regression。
: 例如:
: 数据由两个隐藏模型同时产生y1=2x+1+rand1, y2=2.1x+1.1+rand2,
: 其中rand1和rand2的mean为0,sigma相同但大小未知。
: 所有数据位于0: 的,如何做fitting?
: 谢谢。
:
: to
: p,

N******t
发帖数: 11
7
How much noise? More than 50%?
http://arxiv.org/abs/1208.1810
f*****e
发帖数: 2992
8
PRML neural networks那一章, mixture density networks,那个可真是优美。

【在 l*****0 的大作中提到】
: 如何同时fit两条相近的lines?
: 数据模型 y=px+a+rand, y=qx+b+rand, rand遵循高斯分布(zero mean,sigma相同)
: p,q,a,b,sigma未知
: 两条线斜率p,q相近(但又都 >0),两线在data points附近部不交叉
: data points的noise较大,很多夹在两线中间的数据点不知是属于哪条线的。
: 请问高如何做fitting?
: 谢谢!

1 (共1页)
进入Mathematics版参与讨论
相关主题
请问怎样求两条直线交点的不确定度?EM 算法
求问:一张纸上的1/4圆,把纸围成圆柱后圆弧的方程急问非线性拟合
问个方程求解的问题请问一个优化的题目(Introduction to linear optimization Q1.3)
求披萨上的腊肠片被切开的几率 (转载)做题了, 问大家一个概率问题 (转载)
请教一个origin问题能否用采样值来估计函数斜率?
Please help with a probability problem请问如何求过原点并与坐标上某二点的距离和最近的直线斜率?
恳请高手赐教,或给些提示继续讨论 3/0=?
斜率英文怎么说?请问如何随机产生一个正定或者半正定矩阵呢?
相关话题的讨论汇总
话题: segmented话题: lines话题: 相近话题: 两线话题: mixture