全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
2039 1
2011-11-28
s <- prelim.mix(hep3,3) # do preliminary manipulations
margins <- c(1,2,3) # saturated contingency table model
design <- diag(rep(1,12)) # identity matrix D=no of cells
thetahat <- ecm.mix(s,margins,design) # find ML estimate
rngseed(1234567) # random generator seed
newtheta <- dabipf.mix(s,margins,design,thetahat,steps=200)
ximp <- imp.mix(s,newtheta,hep3) # impute under newtheta
语句中得 margin 代表什么?
算到ecm那总是出现
Steps of ECM:
1...2...错误: 外接函数调用时不能有NA/NaN/Inf(arg5)
二维码

扫码加我 拉你入群

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

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

全部回复
2011-12-11 19:43:45
帮顶,这个真看不懂


呵呵
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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