找回密码
 注册
查看: 337|回复: 0

R语言 spcadjust包 SPCCUSUMlogreg-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:27:00 | 显示全部楼层 |阅读模式
SPCCUSUMlogreg-class(spcadjust)
SPCCUSUMlogreg-class()所属R语言包:spcadjust

                                        Class "SPCCUSUMlogreg"
                                         类“SPCCUSUMlogreg”

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Risk-adjusted CUSUM chart for binary responses based on a logistic regression model.
风险调整后的CUSUM图logistic回归模型的基础上的二进制响应。


类对象----------Objects from the Class----------

Objects can be created by calls of the form new("SPCCUSUMlogreg", ...).
可以创建对象通过调用的形式new("SPCCUSUMlogreg", ...)。


插槽----------Slots----------




Delta: Object of class "numeric"  
Delta:对象类"numeric"的




formula: Object of class "character"  
formula:对象类"character"的


扩展----------Extends----------

Class "SPCCUSUMNonpar", directly. Class "SPCCUSUM", by class "SPCCUSUMNonpar", distance 2. Class "SPCchart", by class "SPCCUSUMNonpar", distance 3.
类"SPCCUSUMNonpar",直接。类"SPCCUSUM",类的“SPCCUSUMNonpar”,距离2。类"SPCchart",类的“SPCCUSUMNonpar”,距离3。


方法----------Methods----------




updates signature(chart = "SPCCUSUMlogreg"): ...
更新signature(chart = "SPCCUSUMlogreg"):...




xiofP signature(chart = "SPCCUSUMlogreg"): ...
xiofP signature(chart = "SPCCUSUMlogreg")...


(作者)----------Author(s)----------



Axel Gandy




实例----------Examples----------


n <- 1000
Xlogreg <- data.frame(x1=rbinom(n,1,0.4), x2=runif(n,0,1), x3=rnorm(n))
xbeta <- -1+Xlogreg$x1*100+Xlogreg$x2+Xlogreg$x3
Xlogreg$y <- rbinom(n,1,exp(xbeta)/(1+exp(xbeta)))
chartlogreg <- new("SPCCUSUMlogreg",Delta= 1, formula="y~x1+x2+x3")
SPCproperty(data=Xlogreg,
            nrep=10,
            property=new("calARLCUSUM",chart=chartlogreg,target=100))
#increase nrep for real applications.[实际应用中增加NREP。]

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-17 14:32 , Processed in 0.030395 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表