全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
2028 1
2010-08-03
Hi all,

I have some difficulties in finding the max s(x). I'm using the code:

fit1=gam(y~treat+SEX+s(x,by=treat),data=dat,
     random=list(SUBJID=~1),correlation=corAR1(form=~1|SUBJID),
     optimizer=c("outer","newton"),method="GCV.Cp")

The bold part, s(x,by=treat) gives us 4 smoothing functions (4 levels in treatments). I would like to find out the maximum value of s(x) in each level.

Anybody could give me some hints??

  Please~  Thanks!!!
二维码

扫码加我 拉你入群

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

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

全部回复
2010-8-5 03:25:08
upppppppppppppppppppp

can't anyone help  me??  
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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