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

R语言 sensR包 triangle()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:08:45 | 显示全部楼层 |阅读模式
triangle(sensR)
triangle()所属R语言包:sensR

                                        Create triangle binomial family
                                         创建三角形二项式族

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

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

Creates af copy of the binomial family with the inverse link function changed to equal the triangle psychometric function and correspondingly changed link function and derivative of the
创建AF副本的二项式家庭的逆联接函数改为等于三角形的心理功能,并相应地改变了链接功能及衍生工具的,


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


triangle()



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

A binomial family object for models. Among other things it inludes the psychometric function as linkinv and the inverse psychometric function (for direct dprime computation) as linkfun.
一个的二项式家庭对象的模型。除其他事项外里包括linkinv和的逆心理测量的功能(的直接dprime计算)linkfun的心理功能。


注意----------Note----------

Several functions in this package makes use of the function, but it may also be used on its own—see the example below.
在此包中的几个功能,使用该功能,但它也可以用来在其自己的例子下面。


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


Rune Haubo B Christensen and Per Bruun Brockhoff



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

models for sensory discrimination tests as generalized linear models.

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

duotrio, twoAFC, threeAFC, discrim, discrimPwr, discrimSim, AnotA, discrimSS,
duotrio,twoAFC,threeAFC,discrim,discrimPwr,discrimSim,AnotA,discrimSS,


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


xt <- matrix(c(10, 5), ncol = 2) ## data: 10 correct answers, 5 incorrect[#数据:10个正确答案,5不正确]
res <- glm(xt ~ 1, family = triangle)
summary(res)

## Extended example plotting the profile likelihood[#扩展的例子策划的档案可能性]
## data: 10 correct answers, 9 incorrect[#数据:10个正确答案,9不正确]
xt <- matrix(c(10, 9), ncol = 2)
summary(res <- glm(xt ~ 1, family = triangle))
N <- 100
dev <- double(N)
delta <- seq(1e-4, 3, length = N)
for(i in 1:N)
  dev[i] <- glm(xt ~ -1 + offset(delta[i]),
                family = triangle)$deviance
plot(delta, exp(-dev/2), type = "l",
     xlab = expression(delta),
     ylab = "Normalized Profile Likelihood")
## Add Normal approximation:[#添加师范大学近似:]
lines(delta, exp(-(delta - coef(res))^2 /
                 (2 * vcov(res))), lty = 2)
## Add confidence limits:[#添加的置信区间:]
level <- c(0.95, 0.99)
lim <- sapply(level, function(x) exp(-qchisq(x, df=1)/2) )
abline(h = lim, col = "grey")


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-19 23:33 , Processed in 0.021292 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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