comparison scripts/statistics/tests/sign_test.m @ 3457:e031284eea27

[project @ 2000-01-19 08:49:56 by jwe]
author jwe
date Wed, 19 Jan 2000 08:50:14 +0000
parents 434790acb067
children 38c61cbf086c
comparison
equal deleted inserted replaced
3456:434790acb067 3457:e031284eea27
25 ## With the optional argument @code{alt}, the alternative of interest 25 ## With the optional argument @code{alt}, the alternative of interest
26 ## can be selected. If @var{alt} is @code{"!="} or @code{"<>"}, the 26 ## can be selected. If @var{alt} is @code{"!="} or @code{"<>"}, the
27 ## null hypothesis is tested against the two-sided alternative PROB 27 ## null hypothesis is tested against the two-sided alternative PROB
28 ## (@var{x} < @var{y}) != 1/2. If @var{alt} is @code{">"}, the 28 ## (@var{x} < @var{y}) != 1/2. If @var{alt} is @code{">"}, the
29 ## one-sided alternative PROB (@var{x} > @var{y}) > 1/2 ("x is 29 ## one-sided alternative PROB (@var{x} > @var{y}) > 1/2 ("x is
30 ## stochastically greater than y") is considered, similarly for @code{"<"}. 30 ## stochastically greater than y") is considered. Similarly for
31 ## The default is the two-sided case. 31 ## @code{"<"}, the one-sided alternative PROB (@var{x} > @var{y}) < 1/2
32 ## ("x is stochastically less than y") is considered. The default is
33 ## the two-sided case.
32 ## 34 ##
33 ## The p-value of the test is returned in @var{pval}. 35 ## The p-value of the test is returned in @var{pval}.
34 ## 36 ##
35 ## If no output argument is given, the p-value of the test is displayed. 37 ## If no output argument is given, the p-value of the test is displayed.
36 ## @end deftypefn 38 ## @end deftypefn