全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1612 1
2013-12-14
1.JPG 关于这个作业 我用proc nlin做出A和B,也得到了variance分段大约在t=340,第二部分变成了2个variance,和做weighted least square. 求助code怎么写?谢谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-12-20 11:25:41
The second one IS indeed weighted least square.

Two weights namely (sigma1, sigma2)**2 are from first step.

There are 2 rough assumptions here,
1) the boundary of two region(time period) is known or determined very subjective. You can argue it is a period problems, etc.
2) within each period the variance is constant.

If you want to estimate all parameters(A, B, sigma1, sigma2) together. I do think proc nlin will do it. You have to write it in other packages, Such as, proc IML, or optmodel.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群