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

R语言 spc包 xewma.ad()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:33:22 | 显示全部楼层 |阅读模式
xewma.ad(spc)
xewma.ad()所属R语言包:spc

                                        Compute steady-state ARLs of EWMA control charts
                                         计算稳态连串长度的EWMA控制图

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

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

Computation of the steady-state Average Run Length (ARL)
计算的稳态平均运行长度(ARL)


用法----------Usage----------


xewma.ad(l,c,mu1,mu0=0,zr=0,sided="one",limits="fix",r=40)



参数----------Arguments----------

参数:l
smoothing parameter lambda of the EWMA control chart.
平滑的EWMA控制图参数的lambda。


参数:c
critical value (similar to alarm limit) of the EWMA control chart.
临界值(报警限值)的EWMA控制图。


参数:mu1
in-control mean.
在控制的意思。


参数:mu0
out-of-control mean.
控制的意思。


参数:zr
reflection border for the one-sided chart.
反射边界的片面的图表。


参数:sided
distinguish between one- and two-sided two-sided EWMA control chart by choosing "one" and "two", respectively.
和双面双面EWMA控制图的"one"和"two",分别区分。


参数:limits
distinguish between different control limits behavior.
区分不同的控制限制行为。


参数:r
number of quadrature nodes, dimension of the resulting linear equation system is equal to r+1 (one-sided) or r (two-sided).
正交的节点的数量,所得的线性方程系统的维数是等于r+1(单面)或r(两面)。


Details

详细信息----------Details----------

xewma.ad determines the steady-state Average Run Length (ARL) by numerically solving the related ARL integral equation by means of the Nystroem method based on Gauss-Legendre quadrature and using the power method for deriving the largest in magnitude eigenvalue and the related left eigenfunction.
xewma.ad决定稳态平均运行长度(ARL),通过求解相关的ARL积分方程的Nystroem方法基于高斯 - 勒让德正交和使用电源的方法,推导幅度最大的特征值和相关左边的本征函数。


值----------Value----------

Returns a single value which resembles the steady-state ARL.
类似的稳态ARL返回单个值。


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


Sven Knoth



参考文献----------References----------

S. V. Crowder (1987), A simple method for studying run-length distributions of exponentially weighted moving average charts, Technometrics 29, 401-407.
J. M. Lucas, M. S. Saccucci (1990), Exponentially weighted moving average control schemes: Properties and enhancements, Technometrics 32, 1-12.

参见----------See Also----------

xewma.arl for zero-state ARL computation and xcusum.ad for the steady-state ARL of CUSUM control charts.
xewma.arl的零状态ARL计算和xcusum.ad稳态的CUSUM控制图的ARL。


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


## comparison of zero-state (= worst case ) and steady-state performance[#零状态(=最差情况下比较)和稳态性能]
## for two-sided EWMA control charts[#双面EWMA控制图]

l <- .1
c <- xewma.crit(l,500,sided="two")
mu <- c(0,.5,1,1.5,2)
arl <- sapply(mu,l=l,c=c,sided="two",xewma.arl)
ad <- sapply(mu,l=l,c=c,sided="two",xewma.ad)
round(cbind(mu,arl,ad),digits=2)

## Lucas/Saccucci (1990)[#卢卡斯/ Saccucci的(1990)]
## Lucas/Saccucci (1990)[#卢卡斯/ Saccucci的(1990)]
## two-sided EWMA[#双面EWMA]

## with fixed limits[#固定的限制]
l1 <- .5
l2 <- .03
c1 <- 3.071
c2 <- 2.437
mu <- c(0,.25,.5,.75,1,1.5,2,2.5,3,3.5,4,5)
ad1 <- sapply(mu,l=l1,c=c1,sided="two",xewma.ad)
ad2 <- sapply(mu,l=l2,c=c2,sided="two",xewma.ad)
round(cbind(mu,ad1,ad2),digits=2)

## original results are (in Table 3)[#原来的结果(表3)]
## 0.00 499.   480.  [#0.00 499。 480。]
## 0.25 254.    74.1[#0.25 254。 74.1]
## 0.50  88.4   28.6[#0.50 88.4 28.6]
## 0.75  35.7   17.3[#0.75 35.7 17.3]
## 1.00  17.3   12.5[#1.00 17.3 12.5]
## 1.50   6.44   8.00[#1.50 6.44 8.00]
## 2.00   3.58   5.95[#2.00 3.58 5.95]
## 2.50   2.47   4.78[#2.50 2.47 4.78]
## 3.00   1.91   4.02[#3.00 1.91 4.02]
## 3.50   1.58   3.49[#3.50 1.58 3.49]
## 4.00   1.36   3.09[#4.00 1.36 3.09]
## 5.00   1.10   2.55.[#5.00 1.10 2.55。]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 18:52 , Processed in 0.026672 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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