楼主: linfujian
4112 1

[其他] 求问生物统计中wilcoxon rank-sign test [推广有奖]

  • 0关注
  • 0粉丝

学前班

50%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
170 点
帖子
2
精华
0
在线时间
0 小时
注册时间
2015-9-27
最后登录
2015-12-12

楼主
linfujian 发表于 2015-12-12 21:34:11 来自手机 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
求问生物统计中wilcoxon rank-sign test中若已知95% confidence interval,查table知depth d,如何转换成置信区间的二个端点L1 L2
二维码

扫码加我 拉你入群

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

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

关键词:wilcoxon wilcox Rank test sign 置信区间 统计 如何

本帖被以下文库推荐

沙发
yijiaobani 发表于 2016-1-12 21:01:10
介绍:代码再后面
WILCOXON procedure

Performs a Wilcoxon Matched-Pairs (Signed-Rank) test (S.J. Welham, N.M. Maclaren & H.R. Simpson).




Option


PRINT = string tokensOutput required (test, ranks): test gives the relevant test statistics, ranks prints out the signed ranks for the vector of differences; default test




Parameters


DATA = variatesVariates holding the differences between each pair of samples


RANKS = variatesSaves the signed ranks


STATISTIC = scalarsSaves each test statistic


PROBABILITY = scalarsSaves the probability for each test statistic


SIGN = scalarsScalar to indicate the sign of the total sum of each set of signed ranks: 1 if the sum is positive, 0 otherwise




Description

WILCOXON performs a Wilcoxon Matched-Pairs test on a variate holding differences between two paired samples. This is specified using the DATA parameter. The test statistic can be saved using the STATISTIC parameter. The probability can be saved using the PROBABILITY parameter; this is for a two-sided test i.e. no assumption is made about whether the differences should be positive or negative. The SIGN parameter can save an indicator of whether the total sum of signed ranks is positive (SIGN=1) or negative (SIGN=0), and the RANKS parameter can save a variate of the signed ranks of the differences (i.e. of DATA).

   Output from the procedure is controlled by the PRINT option: test produces the relevant test statistics, and ranks prints the vector of signed ranks for the data.



Option: PRINT. Parameters: DATA, RANKS, STATISTIC, PROBABILITY, SIGN.




Method

The Wilcoxon Matched-Pairs test (often also called the Wilcoxon Signed-Ranks test) is a nonparametric test of location in the case of two related samples (e.g. a before-and-after study). The null hypothesis is that two samples arise from exactly the same distribution, with the alternative that the two underlying distributions differ only in location.

   The test statistic WS is formed from the signed ranks of the differences between each pair of observations and is the smaller in absolute value out of:

1) the sum of positive signed-ranks of the sample, and

2) the sum of the negative signed-ranks.

In this procedure the method used for calculating the test statistic is:

WS = N×(N+1)/4 - modulus(total sum of signed ranks)/2

where N is the number of observations. The probability is calculated using the PRWILCOXON procedure.

   For further information, see Siegel (1956) pages 75-83.




Action with RESTRICT

If the DATA variate is restricted, the test is calculated only using the units not excluded by the restriction.




Reference

Siegel, S. (1956). Nonparametric Statistics for the Behavioural Sciences. McGraw-Hill, New York.




See also

Procedure: PRWILCOXON, MANNWHITNEY, SIGNTEST, TTEST.

Commands for: Basic and nonparametric statistics.

  1. CAPTION  'WILCOXON example',!t( \
  2.   '1) Data from Siegel (1956), Nonparametric Statistics, p. 79.',\
  3.   'Social perceptiveness of nursery school and home children.');\
  4.   STYLE=meta,plain
  5. VARIATE  [VALUES=82,69,73,43,58,56,76,85] School
  6. &        [VALUES=63,42,74,37,51,43,80,82] Home
  7. CAPTION  !T('A Wilcoxon Signed-Ranks test is used to try', \
  8.             'and detect any differences in the effects of school & home.')
  9. WILCOXON [PRINT=test,ranks] School-Home
  10. CAPTION  !t(\
  11.   '2) Data from Siegel (1956), Nonparametric Statistics, p. 82.', \
  12.   'A set of prisoners take decisions which are predicted by the', \
  13.   'experimenter, who wishes to compare the time taken in coming to', \
  14.   'correctly predicted decisions as opposed to unpredicted decisions.', \
  15.   'He has the differences between average times for each type of', \
  16.   'decision for each prisoner.')
  17. VARIATE  [VALUE=-2, 0, 0, 1, 0, 0, 4, 4, 1, 1, 5, 3, 5, 3,-1, 1,-1, 5, 8, 2,\
  18.                  2, 2,-3,-2, 1, 4, 8, 2, 3,-1] Diffs
  19. PRINT    [ORIENTATION=across] Diffs; FIELD=6; DECIMALS=0
  20. CAPTION  !T('A Wilcoxon Signed-Ranks test is used to try', \
  21.          'and detect any differences in times.')
  22. WILCOXON [PRINT=test,ranks] Diffs; RANKS=Ranks; STATISTIC=Ws;\
  23.          PROBABILITY=Probability; SIGN=Sign
  24. PRINT    Ws,Probability,Sign
  25. &        [ORIENTATION=across] Ranks; FIELD=6; DECIMALS=1
复制代码

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-29 13:42