fisher_p()

Description:

Calculate p-value for Fisher’s exact test.

Syntax:

fisher_p (A, B)

Note:

The external library function (See External Library Guide) calculates p-value for Fisher’s exact test on multi-value A and numeric variable B.

Parameter:

A

A sequence, which is a multi-value target

B

A sequence, which is a numeric variable

Return value:

A double-precision number

Example:

 

A

 

1

[q,d,a,a,d,q,d,f,g,s]

A multi-value target.

2

[1,2,3,4,5,6,7,8,9,10]

A numeric variable.

3

=fisher_p(A1,A2)