[rkward-cvs] [rkward/work/distributions] rkward/plugins/distributions: Add at least a minimal help page to all distribution plugins. Some minor adjustments.
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Tue Jan 27 20:12:57 UTC 2015
Git commit 42773350585955559129214d5c05b0b777d83ced by Thomas Friedrichsmeier.
Committed on 27/01/2015 at 20:11.
Pushed by tfry into branch 'work/distributions'.
Add at least a minimal help page to all distribution plugins. Some minor adjustments.
Left to do: Testing, and writing automated tests.
M +1 -0 rkward/plugins/distributions/dist_common.js
M +21 -0 rkward/plugins/distributions/gumbel.rkh
M +24 -0 rkward/plugins/distributions/hypergeometric.rkh
M +21 -0 rkward/plugins/distributions/log_normal.rkh
M +21 -0 rkward/plugins/distributions/logistic.rkh
M +23 -0 rkward/plugins/distributions/negative_binomial.rkh
M +2 -2 rkward/plugins/distributions/negative_binomial.xml
M +1 -1 rkward/plugins/distributions/normal.js
M +23 -0 rkward/plugins/distributions/normal.rkh
M +1 -0 rkward/plugins/distributions/plot_binomial_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_cauchy_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_chi_squared_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_exponential_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_f_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_gamma_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_geometric_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_hypergeometric_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_logistic_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_lognormal_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_negbinomial_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_normal_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_poisson_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_t_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_tukey_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_uniform_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_weibull_distribution.rkh
M +1 -0 rkward/plugins/distributions/plot_wilcoxon_distribution.rkh
M +22 -0 rkward/plugins/distributions/poisson.rkh
M +2 -3 rkward/plugins/distributions/poisson.xml
M +21 -0 rkward/plugins/distributions/t.rkh
M +1 -1 rkward/plugins/distributions/tukey.js
M +23 -0 rkward/plugins/distributions/tukey.rkh
M +2 -3 rkward/plugins/distributions/tukey.xml
M +21 -0 rkward/plugins/distributions/uniform.rkh
M +21 -0 rkward/plugins/distributions/weibull.rkh
M +2 -2 rkward/plugins/distributions/weibull.xml
M +23 -0 rkward/plugins/distributions/wilcoxon.rkh
M +3 -2 rkward/plugins/distributions/wilcoxon.xml
http://commits.kde.org/rkward/42773350585955559129214d5c05b0b777d83ced
diff --git a/rkward/plugins/distributions/dist_common.js b/rkward/plugins/distributions/dist_common.js
index de9d69e..fdfef01 100644
--- a/rkward/plugins/distributions/dist_common.js
+++ b/rkward/plugins/distributions/dist_common.js
@@ -67,6 +67,7 @@ function calculate () {
values = 'seq (' + String (dist["min"]) + ', ' + String (dist["max"]) + ', length.out=' + String (max_auto_sequence_length) + ')';
}
} else { // invar == 'p'
+ max_auto_sequence_length += 1; // here, an uneven number is preferrable for divisibility of steps by 2
if (logpd) {
values = '-' + String (max_auto_sequence_length) + ':0';
} else {
diff --git a/rkward/plugins/distributions/gumbel.rkh b/rkward/plugins/distributions/gumbel.rkh
index e69de29..9555fd4 100644
--- a/rkward/plugins/distributions/gumbel.rkh
+++ b/rkward/plugins/distributions/gumbel.rkh
@@ -0,0 +1,21 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Gumbel distribution.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="location">Location parameter.</setting>
+ <setting id="scale">Scale parameter.</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/pgumgel">R help on the gumbel distribution functions from package FAdist</li>
+ <li><link href="rkward://component/rkward/plot_gumbel_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/hypergeometric.rkh b/rkward/plugins/distributions/hypergeometric.rkh
index e69de29..24358c8 100644
--- a/rkward/plugins/distributions/hypergeometric.rkh
+++ b/rkward/plugins/distributions/hypergeometric.rkh
@@ -0,0 +1,24 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Hypergeometric distribution.
+
+ Quantiles represent the number of white balls drawn in k draws without replacement from an urn containing m white and n black balls.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="m">m (Number of white balls in the urn)</setting>
+ <setting id="n">n (Number of black balls in the urn)</setting>
+ <setting id="k">k (Number of draws from the urn)</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/Hypergeometric"/></li>
+ <li><link href="rkward://component/rkward/plot_hypergeom_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/log_normal.rkh b/rkward/plugins/distributions/log_normal.rkh
index e69de29..3b9009a 100644
--- a/rkward/plugins/distributions/log_normal.rkh
+++ b/rkward/plugins/distributions/log_normal.rkh
@@ -0,0 +1,21 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Log-Normal distribution.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="meanlog">meanlog (mean of the distribution on the log scale)</setting>
+ <setting id="sdlog">sdlog (standard deviation of the distribution on the log scale)</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/Lognormal"/></li>
+ <li><link href="rkward://component/rkward/plot_lognormal_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/logistic.rkh b/rkward/plugins/distributions/logistic.rkh
index e69de29..0439336 100644
--- a/rkward/plugins/distributions/logistic.rkh
+++ b/rkward/plugins/distributions/logistic.rkh
@@ -0,0 +1,21 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the logistic distribution.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="location">Location parameter μ (corresponds to the mean).</setting>
+ <setting id="scale">Scale parameter.</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/Logistic"/></li>
+ <li><link href="rkward://component/rkward/plot_logistic_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/negative_binomial.rkh b/rkward/plugins/distributions/negative_binomial.rkh
index e69de29..77856d8 100644
--- a/rkward/plugins/distributions/negative_binomial.rkh
+++ b/rkward/plugins/distributions/negative_binomial.rkh
@@ -0,0 +1,23 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Negative Binomial distribution.
+
+ Note: Quantiles represents the number of failures in a sequence of Bernoulli trials before the target number of successes is reached.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="size">Target number of successes. This need not be an integer.</setting>
+ <setting id="prob">Probability of success in each trial. Note that this setting is <b>not</b> affected by the "log probabilities" setting, i.e. always specify the plain probability.</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/NegBinomial"/></li>
+ <li><link href="rkward://component/rkward/plot_negbinomial_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/negative_binomial.xml b/rkward/plugins/distributions/negative_binomial.xml
index aa8a636..27c564b 100755
--- a/rkward/plugins/distributions/negative_binomial.xml
+++ b/rkward/plugins/distributions/negative_binomial.xml
@@ -10,8 +10,8 @@
</logic>
<snippets>
<snippet id="dist_options">
- <spinbox type="integer" min="0" initial="5" id="size" label="Target for number of successful trials"/>
- <spinbox default_precision="2" type="real" min="0" initial="0.5" max="1" id="prob" label="Probability of success in each trial"/>
+ <spinbox default_precision="0" type="real" min="0" initial="5" id="size" label="Target number of successful trials"/>
+ <spinbox default_precision="1" type="real" min="0" initial="0.5" max="1" id="prob" label="Probability of success in each trial"/>
</snippet>
<include file="dist_snippets.xml"/>
</snippets>
diff --git a/rkward/plugins/distributions/normal.js b/rkward/plugins/distributions/normal.js
index d9e5518..2b8cc80 100644
--- a/rkward/plugins/distributions/normal.js
+++ b/rkward/plugins/distributions/normal.js
@@ -1,5 +1,5 @@
include ("dist_common.js");
function getDistSpecifics () {
- return initDistSpecifics (i18n ('Normal distribution'), 'norm', ["mean", "sd"], [-4, 4], continous);
+ return initDistSpecifics (i18n ('Normal distribution'), 'norm', ["mean", "sd"], [-4, 4], continuous);
}
diff --git a/rkward/plugins/distributions/normal.rkh b/rkward/plugins/distributions/normal.rkh
index e69de29..c41441a 100644
--- a/rkward/plugins/distributions/normal.rkh
+++ b/rkward/plugins/distributions/normal.rkh
@@ -0,0 +1,23 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Normal distribution.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="mean">Mean.</setting>
+ <setting id="prob">Standard deviation.</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/Normal"/></li>
+ <li><link href="rkward://component/rkward/plot_normal_distribution"/></li>
+ </ul>
+
+ Various tests for normality of observed measures are available, for instance <link href="rkward://component/rkward/jb_test"/>.
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/plot_binomial_distribution.rkh b/rkward/plugins/distributions/plot_binomial_distribution.rkh
index 4e28fac..2a3212a 100644
--- a/rkward/plugins/distributions/plot_binomial_distribution.rkh
+++ b/rkward/plugins/distributions/plot_binomial_distribution.rkh
@@ -20,6 +20,7 @@ Density and distribution function plots for the Binomial distribution.
<related>
<ul>
+ <li><link href="rkward://component/binomial_probabilities"/></li>
<li><link href="rkward://rhelp/Binomial"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_cauchy_distribution.rkh b/rkward/plugins/distributions/plot_cauchy_distribution.rkh
index 2c9a82c..d7a3837 100644
--- a/rkward/plugins/distributions/plot_cauchy_distribution.rkh
+++ b/rkward/plugins/distributions/plot_cauchy_distribution.rkh
@@ -19,6 +19,7 @@ Density and distribution function plots for the Cauchy distribution.
</settings>
<related>
<ul>
+ <li><link href="rkward://component/cauchy_probabilities"/></li>
<li><link href="rkward://rhelp/Cauchy"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_chi_squared_distribution.rkh b/rkward/plugins/distributions/plot_chi_squared_distribution.rkh
index af2190e..c45a9d7 100644
--- a/rkward/plugins/distributions/plot_chi_squared_distribution.rkh
+++ b/rkward/plugins/distributions/plot_chi_squared_distribution.rkh
@@ -20,6 +20,7 @@ Density and distribution function plots for the Chi-squared distribution.
<related>
<ul>
+ <li><link href="rkward://component/chi_squared_probabilities"/></li>
<li><link href="rkward://rhelp/Chisquare"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_exponential_distribution.rkh b/rkward/plugins/distributions/plot_exponential_distribution.rkh
index 1372ac6..a2deb73 100644
--- a/rkward/plugins/distributions/plot_exponential_distribution.rkh
+++ b/rkward/plugins/distributions/plot_exponential_distribution.rkh
@@ -18,6 +18,7 @@ Density and distribution function plots for the Exponential distribution.
</settings>
<related>
<ul>
+ <li><link href="rkward://component/exponential_probabilities"/></li>
<li><link href="rkward://rhelp/Exponential"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_f_distribution.rkh b/rkward/plugins/distributions/plot_f_distribution.rkh
index ab90b0f..8d6ce0c 100644
--- a/rkward/plugins/distributions/plot_f_distribution.rkh
+++ b/rkward/plugins/distributions/plot_f_distribution.rkh
@@ -21,6 +21,7 @@ Density and distribution function plots for the F distribution.
<related>
<ul>
+ <li><link href="rkward://component/f_probabilities"/></li>
<li><link href="rkward://rhelp/FDist"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_gamma_distribution.rkh b/rkward/plugins/distributions/plot_gamma_distribution.rkh
index 0fc8467..680c158 100644
--- a/rkward/plugins/distributions/plot_gamma_distribution.rkh
+++ b/rkward/plugins/distributions/plot_gamma_distribution.rkh
@@ -20,6 +20,7 @@ Density and distribution function plots for the Gamma distribution.
<related>
<ul>
+ <li><link href="rkward://component/gamma_probabilities"/></li>
<li><link href="rkward://rhelp/GammaDist"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_geometric_distribution.rkh b/rkward/plugins/distributions/plot_geometric_distribution.rkh
index f504683..eb40014 100644
--- a/rkward/plugins/distributions/plot_geometric_distribution.rkh
+++ b/rkward/plugins/distributions/plot_geometric_distribution.rkh
@@ -19,6 +19,7 @@ Density and distribution function plots for the Geometric distribution.
<related>
<ul>
+ <li><link href="rkward://component/geometric_probabilities"/></li>
<li><link href="rkward://rhelp/Geometric"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_hypergeometric_distribution.rkh b/rkward/plugins/distributions/plot_hypergeometric_distribution.rkh
index b7532bb..cca9783 100644
--- a/rkward/plugins/distributions/plot_hypergeometric_distribution.rkh
+++ b/rkward/plugins/distributions/plot_hypergeometric_distribution.rkh
@@ -21,6 +21,7 @@ Density and distribution function plots for the Hypergeometric distribution.
<related>
<ul>
+ <li><link href="rkward://component/hypergeometric_probabilities"/></li>
<li><link href="rkward://rhelp/Hypergeometric"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_logistic_distribution.rkh b/rkward/plugins/distributions/plot_logistic_distribution.rkh
index db70b8f..b03c032 100644
--- a/rkward/plugins/distributions/plot_logistic_distribution.rkh
+++ b/rkward/plugins/distributions/plot_logistic_distribution.rkh
@@ -20,6 +20,7 @@ Density and distribution function plots for the Logistic distribution.
<related>
<ul>
+ <li><link href="rkward://component/logistic_probabilities"/></li>
<li><link href="rkward://rhelp/Logistic"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_lognormal_distribution.rkh b/rkward/plugins/distributions/plot_lognormal_distribution.rkh
index a594a2a..97ea5d4 100644
--- a/rkward/plugins/distributions/plot_lognormal_distribution.rkh
+++ b/rkward/plugins/distributions/plot_lognormal_distribution.rkh
@@ -20,6 +20,7 @@ Density and distribution function plots for the Lognormal distribution.
<related>
<ul>
+ <li><link href="rkward://component/lognormal_probabilities"/></li>
<li><link href="rkward://rhelp/Lognormal"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_negbinomial_distribution.rkh b/rkward/plugins/distributions/plot_negbinomial_distribution.rkh
index 1af8eec..5a2542c 100644
--- a/rkward/plugins/distributions/plot_negbinomial_distribution.rkh
+++ b/rkward/plugins/distributions/plot_negbinomial_distribution.rkh
@@ -23,6 +23,7 @@ Density and distribution function plots for the Negative Binomial distribution.
<related>
<ul>
+ <li><link href="rkward://component/negative_binomial_probabilities"/></li>
<li><link href="rkward://rhelp/NegBinomial"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_normal_distribution.rkh b/rkward/plugins/distributions/plot_normal_distribution.rkh
index 7be81f8..13584ac 100644
--- a/rkward/plugins/distributions/plot_normal_distribution.rkh
+++ b/rkward/plugins/distributions/plot_normal_distribution.rkh
@@ -20,6 +20,7 @@ Density and distribution function plots for the Normal distribution.
<related>
<ul>
+ <li><link href="rkward://component/normal_probabilities"/></li>
<li><link href="rkward://rhelp/Normal"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_poisson_distribution.rkh b/rkward/plugins/distributions/plot_poisson_distribution.rkh
index 5e6456c..ef570af 100644
--- a/rkward/plugins/distributions/plot_poisson_distribution.rkh
+++ b/rkward/plugins/distributions/plot_poisson_distribution.rkh
@@ -19,6 +19,7 @@ Density and distribution function plots for the Poisson distribution.
<related>
<ul>
+ <li><link href="rkward://component/poisson_probabilities"/></li>
<li><link href="rkward://rhelp/Poisson"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_t_distribution.rkh b/rkward/plugins/distributions/plot_t_distribution.rkh
index b4f448f..9b3810c 100644
--- a/rkward/plugins/distributions/plot_t_distribution.rkh
+++ b/rkward/plugins/distributions/plot_t_distribution.rkh
@@ -19,6 +19,7 @@ Density and distribution function plots for the t distribution.
</settings>
<related>
<ul>
+ <li><link href="rkward://component/t_probabilities"/></li>
<li><link href="rkward://rhelp/TDist"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_tukey_distribution.rkh b/rkward/plugins/distributions/plot_tukey_distribution.rkh
index a492f34..6c58dbd 100644
--- a/rkward/plugins/distributions/plot_tukey_distribution.rkh
+++ b/rkward/plugins/distributions/plot_tukey_distribution.rkh
@@ -21,6 +21,7 @@ Distribution function plot for the Studentized Range (Tukey) distribution.
<related>
<ul>
+ <li><link href="rkward://component/tukey_probabilities"/></li>
<li><link href="rkward://rhelp/Tukey"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_uniform_distribution.rkh b/rkward/plugins/distributions/plot_uniform_distribution.rkh
index aaff4e9..d397c73 100644
--- a/rkward/plugins/distributions/plot_uniform_distribution.rkh
+++ b/rkward/plugins/distributions/plot_uniform_distribution.rkh
@@ -20,6 +20,7 @@ Density and distribution function plots for the Uniform distribution.
<related>
<ul>
+ <li><link href="rkward://component/uniform_probabilities"/></li>
<li><link href="rkward://rhelp/Uniform"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_weibull_distribution.rkh b/rkward/plugins/distributions/plot_weibull_distribution.rkh
index 556c5ab..99492e4 100644
--- a/rkward/plugins/distributions/plot_weibull_distribution.rkh
+++ b/rkward/plugins/distributions/plot_weibull_distribution.rkh
@@ -20,6 +20,7 @@ Density and distribution function plots for the Weibull distribution.
<related>
<ul>
+ <li><link href="rkward://component/weibull_probabilities"/></li>
<li><link href="rkward://rhelp/Weibull"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/plot_wilcoxon_distribution.rkh b/rkward/plugins/distributions/plot_wilcoxon_distribution.rkh
index 879b1f4..bc6a4fb 100644
--- a/rkward/plugins/distributions/plot_wilcoxon_distribution.rkh
+++ b/rkward/plugins/distributions/plot_wilcoxon_distribution.rkh
@@ -20,6 +20,7 @@ Density and distribution function plots for the Wilcoxon distribution.
<related>
<ul>
+ <li><link href="rkward://component/wilcoxon_probabilities"/></li>
<li><link href="rkward://rhelp/Wilcoxon"/></li>
<li><link href="rkward://component/plot_options"/></li>
<li><link href="rkward://rhelp/curve"/></li>
diff --git a/rkward/plugins/distributions/poisson.rkh b/rkward/plugins/distributions/poisson.rkh
index e69de29..9ebaa33 100644
--- a/rkward/plugins/distributions/poisson.rkh
+++ b/rkward/plugins/distributions/poisson.rkh
@@ -0,0 +1,22 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Poisson distribution.
+
+ Quantiles represents the number of events observed in a specified region (e.g. a fixed number of trials, or a fixed period of time), where λ (lambda) is the expected (mean) number of such events.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="lambda">The expected (mean) number of events in the region of interest.</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/Poisson"/></li>
+ <li><link href="rkward://component/rkward/plot_poisson_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/poisson.xml b/rkward/plugins/distributions/poisson.xml
index 683b553..f7e31d1 100644
--- a/rkward/plugins/distributions/poisson.xml
+++ b/rkward/plugins/distributions/poisson.xml
@@ -5,13 +5,12 @@
<logic>
<insert snippet="dialog_logic"/>
<script><![CDATA[
- gui.setValue ("ui_note.text", i18n (noquote ("Quantiles represents the number of events observed in a fixed number of trials (or a fixed period of time), where lamda is the expected (mean) number of such events.")));
+ gui.setValue ("ui_note.text", i18n (noquote ("Quantiles represents the number of events observed in a specified region (e.g. a fixed number of trials, or a fixed period of time), where λ (lambda) is the expected (mean) number of such events.")));
]]></script>
-
</logic>
<snippets>
<snippet id="dist_options">
- <spinbox default_precision="1" type="real" min="0" initial="1" id="lambda" label="Lambda"/>
+ <spinbox default_precision="1" type="real" min="0" initial="1" id="lambda" label="λ (Lambda)"/>
</snippet>
<include file="dist_snippets.xml"/>
</snippets>
diff --git a/rkward/plugins/distributions/t.rkh b/rkward/plugins/distributions/t.rkh
index e69de29..61a5ac2 100644
--- a/rkward/plugins/distributions/t.rkh
+++ b/rkward/plugins/distributions/t.rkh
@@ -0,0 +1,21 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Studentized Range (Tukey) distribution.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="df">Degrees of freedom.</setting>
+ <setting id="ncp">Non-centrality parameter.</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/TDist"/></li>
+ <li><link href="rkward://component/rkward/plot_t_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/tukey.js b/rkward/plugins/distributions/tukey.js
index 32db2a0..c23560d 100644
--- a/rkward/plugins/distributions/tukey.js
+++ b/rkward/plugins/distributions/tukey.js
@@ -1,5 +1,5 @@
include ("dist_common.js");
function getDistSpecifics () {
- return initDistSpecifics (i18n ('Studentized Range (Tukey) distribution'), 'tukey', ["nmeans", "df", "nranges"], [0, undefined], continuous);
+ return initDistSpecifics (i18n ('Studentized Range (Tukey) distribution'), 'tukey', ["nmeans", "df"], [0, undefined], continuous);
}
diff --git a/rkward/plugins/distributions/tukey.rkh b/rkward/plugins/distributions/tukey.rkh
index e69de29..459b524 100644
--- a/rkward/plugins/distributions/tukey.rkh
+++ b/rkward/plugins/distributions/tukey.rkh
@@ -0,0 +1,23 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Standardized Range (Tukey) distribution.
+
+ Quantiles are the ratio between the observed range in the given number of observations, and the standard deviation estimate (based on given number of degrees of freedom) of an independent sample.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="nmeans">Number of independent observations whose range to consider.</setting>
+ <setting id="df">Degrees of freedom for the (independent sample) estimate of standard deviation.</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/Tukey"/></li>
+ <li><link href="rkward://component/rkward/plot_tukey_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/tukey.xml b/rkward/plugins/distributions/tukey.xml
index 32236ea..b82c52b 100644
--- a/rkward/plugins/distributions/tukey.xml
+++ b/rkward/plugins/distributions/tukey.xml
@@ -7,9 +7,8 @@
</logic>
<snippets>
<snippet id="dist_options">
- <spinbox min="1" type="integer" initial="2" id="nmeans" label="Sample size for range"/>
- <spinbox default_precision="1" initial="5" id="df" label="Degrees of freedom for s"/>
- <spinbox type="integer" initial="1" min="0" id="nranges" label="Number of groups whose maximum range is considered"/>
+ <spinbox min="2" type="integer" initial="5" id="nmeans" label="Number of observations"/>
+ <spinbox default_precision="1" initial="5" id="df" label="Degrees of freedom for standard deviation estimate"/>
</snippet>
<include file="dist_snippets.xml"/>
</snippets>
diff --git a/rkward/plugins/distributions/uniform.rkh b/rkward/plugins/distributions/uniform.rkh
index e69de29..257031f 100644
--- a/rkward/plugins/distributions/uniform.rkh
+++ b/rkward/plugins/distributions/uniform.rkh
@@ -0,0 +1,21 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Uniform distribution.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="min">Lower limit.</setting>
+ <setting id="max">Upper limit.</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/Uniform"/></li>
+ <li><link href="rkward://component/rkward/plot_uniform_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/weibull.rkh b/rkward/plugins/distributions/weibull.rkh
index e69de29..1014aea 100644
--- a/rkward/plugins/distributions/weibull.rkh
+++ b/rkward/plugins/distributions/weibull.rkh
@@ -0,0 +1,21 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Weibull distribution.
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="shape">Shape parameter (k).</setting>
+ <setting id="scale">Scale parameter (λ).</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/Weibull"/></li>
+ <li><link href="rkward://component/rkward/plot_weibull_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/weibull.xml b/rkward/plugins/distributions/weibull.xml
index b5c6a39..e778ff0 100755
--- a/rkward/plugins/distributions/weibull.xml
+++ b/rkward/plugins/distributions/weibull.xml
@@ -7,8 +7,8 @@
</logic>
<snippets>
<snippet id="dist_options">
- <spinbox default_precision="2" type="real" min="0" initial="1" id="shape" label="Shape"/>
- <spinbox default_precision="2" type="real" min="0.000001" initial="1" id="scale" label="Scale"/>
+ <spinbox default_precision="1" type="real" min="0" initial="1" id="shape" label="Shape"/>
+ <spinbox default_precision="1" type="real" min="0.000001" initial="1" id="scale" label="Scale"/>
</snippet>
<include file="dist_snippets.xml"/>
</snippets>
diff --git a/rkward/plugins/distributions/wilcoxon.rkh b/rkward/plugins/distributions/wilcoxon.rkh
index e69de29..f39919d 100644
--- a/rkward/plugins/distributions/wilcoxon.rkh
+++ b/rkward/plugins/distributions/wilcoxon.rkh
@@ -0,0 +1,23 @@
+<!DOCTYPE rkhelp>
+<document>
+ <snippets>
+ <include file="dist_help_snippets.xml"/>
+ </snippets>
+ <summary>
+ Provides a calculator for probabilities, quantiles, and densities in the Wilcoxon distribution.
+
+ Quantiles correspond to the value of the Wilcoxon Rank Sum statistic, i.e. the number of pairs from sample x and y, for which y[j] is not greater than x[i].
+ </summary>
+ <insert snippet="dialog_usage"/>
+ <settings>
+ <insert snippet="dialog_settings"/>
+ <setting id="m">m (Numbers of observations in the first sample)</setting>
+ <setting id="n">n (Numbers of observations in the second sample)</setting>
+ </settings>
+ <related>
+ <ul>
+ <li><link href="rkward://rhelp/Wilcoxon"/></li>
+ <li><link href="rkward://component/rkward/plot_wilcoxon_distribution"/></li>
+ </ul>
+ </related>
+</document>
diff --git a/rkward/plugins/distributions/wilcoxon.xml b/rkward/plugins/distributions/wilcoxon.xml
index d4c59b0..f45a16c 100755
--- a/rkward/plugins/distributions/wilcoxon.xml
+++ b/rkward/plugins/distributions/wilcoxon.xml
@@ -4,8 +4,9 @@
<help file="wilcoxon.rkh" />
<logic>
<insert snippet="dialog_logic"/>
- <set id="ui_note.visible" to="true"/>
- <set id="ui_note.text" to="Quantiles correspond to the value of the Wilcoxon Rank Sum statistic, i.e. the number of pairs from sample x and y, for which y[j] is not greater than x[i]."/>
+ <script><![CDATA[
+ gui.setValue ("ui_note.text", i18n (noquote ("Quantiles correspond to the value of the Wilcoxon Rank Sum statistic, i.e. the number of pairs from sample x and y, for which y[j] is not greater than x[i].")));
+ ]]></script>
</logic>
<snippets>
<snippet id="dist_options">
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rkward-cvs mailing list
rkward-cvs at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-cvs
More information about the rkward-tracker
mailing list