Method: Statsample::Test::UMannWhitney#probability_z
- Defined in:
- lib/statsample/test/umannwhitney.rb
#probability_z ⇒ Object
Assuming H_0, the proportion of cdf with values of U lower than the sample, using normal approximation. Use with more than 30 cases per group.
202 203 204 |
# File 'lib/statsample/test/umannwhitney.rb', line 202 def probability_z (1-Distribution::Normal.cdf(z.abs()))*2 end |