From: Yuri C. <yu...@uk...> - 2015-02-01 18:02:13
|
Git commit 832439cd509a296c2941b0f8c2815410b66d4b7f by Yuri Chornoivan. Committed on 01/02/2015 at 18:01. Pushed by yurchor into branch 'master'. Fix various minor typos M +1 -1 rkward/plugins/distributions/dist_help_snippets.xml M +1 -1 rkward/plugins/distributions/negative_binomial.xml M +1 -1 rkward/plugins/distributions/poisson.rkh M +1 -1 rkward/plugins/distributions/poisson.xml M +1 -1 rkward/plugins/distributions/wilcoxon.js http://commits.kde.org/rkward/832439cd509a296c2941b0f8c2815410b66d4b7f diff --git a/rkward/plugins/distributions/dist_help_snippets.xml b/rkward/plugins/distributions/dist_help_snippets.xml index 59e5f8c..b630e3e 100644 --- a/rkward/plugins/distributions/dist_help_snippets.xml +++ b/rkward/plugins/distributions/dist_help_snippets.xml @@ -3,7 +3,7 @@ <caption title="Generic settings"/> <setting id="mode">Specify the quantity to be calculated (probabilities, densities, or quantiles), and the quantity given (probabilities or quantiles)</setting> <setting id="q">When calculating densities or probabilities, specify one or more quantiles. If this setting is left empty, a sequence of evenly spaced quantiles will be used, instead.</setting> - <setting id="p">When calculating quantiles, specify one or more probabilities, optionally logarithmic (see below). If this setting is left empty, a sequence sequence of evenly spaced (log) probabilities will be used, instead.</setting> + <setting id="p">When calculating quantiles, specify one or more probabilities, optionally logarithmic (see below). If this setting is left empty, a sequence of evenly spaced (log) probabilities will be used, instead.</setting> <setting id="logp">When calculating probabilities, return these as log (p). When specifying probabilities, these are supplied as log (p).</setting> <setting id="logd">When calculating densities, return these as log (d).</setting> <setting id="lower">If checked (the default) probabilities are P[X ≤ x]. Otherwise (upper tail) probabilities are P[X > x]</setting> diff --git a/rkward/plugins/distributions/negative_binomial.xml b/rkward/plugins/distributions/negative_binomial.xml index 27c564b..fd98a51 100755 --- a/rkward/plugins/distributions/negative_binomial.xml +++ b/rkward/plugins/distributions/negative_binomial.xml @@ -5,7 +5,7 @@ <logic> <insert snippet="dialog_logic"/> <script><![CDATA[ - gui.setValue ("ui_note.text", i18n (noquote ("Quantiles represents the number of failures in a sequence of Bernoulli trials before the target number of successes is reached."))); + gui.setValue ("ui_note.text", i18n (noquote ("Quantiles represent the number of failures in a sequence of Bernoulli trials before the target number of successes is reached."))); ]]></script> </logic> <snippets> diff --git a/rkward/plugins/distributions/poisson.rkh b/rkward/plugins/distributions/poisson.rkh index 9ebaa33..d969bf7 100644 --- a/rkward/plugins/distributions/poisson.rkh +++ b/rkward/plugins/distributions/poisson.rkh @@ -6,7 +6,7 @@ <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. + Quantiles represent 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> diff --git a/rkward/plugins/distributions/poisson.xml b/rkward/plugins/distributions/poisson.xml index f7e31d1..ded2cc8 100644 --- a/rkward/plugins/distributions/poisson.xml +++ b/rkward/plugins/distributions/poisson.xml @@ -5,7 +5,7 @@ <logic> <insert snippet="dialog_logic"/> <script><![CDATA[ - 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."))); + gui.setValue ("ui_note.text", i18n (noquote ("Quantiles represent 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> diff --git a/rkward/plugins/distributions/wilcoxon.js b/rkward/plugins/distributions/wilcoxon.js index 6dbaba7..0193cd4 100755 --- a/rkward/plugins/distributions/wilcoxon.js +++ b/rkward/plugins/distributions/wilcoxon.js @@ -3,5 +3,5 @@ include ("dist_common.js"); function getDistSpecifics () { var m = Number (getString ("m")); var n = Number (getString ("n")); - return initDistSpecifics (i18n ('Wilcox Rank Sum distribution'), 'wilcox', ["m", "n"], [0, m*n], discrete); + return initDistSpecifics (i18n ('Wilcoxon Rank Sum distribution'), 'wilcox', ["m", "n"], [0, m*n], discrete); } |