[rkward-cvs] rkward/rkward/plugins/distributions binomial_probabilities.xml,1.1,1.2 binomial_quantiles.xml,1.2,1.3 binomial_tail_probabilities.php,1.2,1.3 binomial_tail_probabilities.xml,1.1,1.2 chi_squared_probabilities.php,1.2,1.3 chi_squared_probabilities.xml,1.1,1.2 chi_squared_quantiles.xml,1.1,1.2 f_probabilities.php,1.2,1.3 f_probabilities.xml,1.1,1.2 f_quantiles.xml,1.1,1.2 normal_probabilities.php,1.2,1.3 normal_probabilities.xml,1.1,1.2 normal_quantiles.xml,1.2,1.3 plot_binomial_distribution.xml,1.2,1.3 plot_chi_squared_distribution.xml,1.2,1.3 plot_f_distribution.xml,1.3,1.4 plot_normal_distribution.xml,1.2,1.3 plot_poisson_distribution.xml,1.2,1.3 plot_t_distribution.xml,1.3,1.4 poisson_probabilities.xml,1.2,1.3 t_probabilities.php,1.2,1.3 t_probabilities.xml,1.1,1.2 t_quantiles.xml,1.1,1.2
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Sun Apr 23 13:36:17 UTC 2006
Update of /cvsroot/rkward/rkward/rkward/plugins/distributions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19658
Modified Files:
binomial_probabilities.xml binomial_quantiles.xml
binomial_tail_probabilities.php
binomial_tail_probabilities.xml chi_squared_probabilities.php
chi_squared_probabilities.xml chi_squared_quantiles.xml
f_probabilities.php f_probabilities.xml f_quantiles.xml
normal_probabilities.php normal_probabilities.xml
normal_quantiles.xml plot_binomial_distribution.xml
plot_chi_squared_distribution.xml plot_f_distribution.xml
plot_normal_distribution.xml plot_poisson_distribution.xml
plot_t_distribution.xml poisson_probabilities.xml
t_probabilities.php t_probabilities.xml t_quantiles.xml
Log Message:
Many small fixes to distribution plugins by Stefan Roediger
Index: t_probabilities.php
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/t_probabilities.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** t_probabilities.php 5 Apr 2006 10:10:03 -0000 1.2
--- t_probabilities.php 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 5,9 ****
function calculate () {
?>
! rk.temp = (pt (q = <? getRK ("val"); ?>, df = <? getRK ("df"); ?>, <? getRK ("tail"); ?>))
<?
}
--- 5,9 ----
function calculate () {
?>
! rk.temp = (pt (q = <? getRK ("q"); ?>, df = <? getRK ("df"); ?>, <? getRK ("tail"); ?>))
<?
}
***************
*** 13,17 ****
//produce the output
?>
! rk.header ("r probability", list ("Variable value", "<? getRK ("val"); ?>", "Degrees of Freedom", "<? getRK ("df"); ?>", "Tail", "<? getRK ("tail"); ?>"));
cat ("<h3>t probability: ", rk.temp, "</h3>")
<?
--- 13,17 ----
//produce the output
?>
! rk.header ("t probability", list ("Variable value", "<? getRK ("q"); ?>", "Degrees of Freedom", "<? getRK ("df"); ?>", "Tail", "<? getRK ("tail"); ?>"));
cat ("<h3>t probability: ", rk.temp, "</h3>")
<?
Index: f_probabilities.php
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/f_probabilities.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** f_probabilities.php 5 Apr 2006 10:10:03 -0000 1.2
--- f_probabilities.php 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 5,9 ****
function calculate () {
?>
! rk.temp <- (pf (q = <? getRK ("val"); ?>, df1 = <? getRK ("df1"); ?>, df2 = <? getRK ("df2"); ?>, ncp = <? getRK ("ncp"); ?>, <? getRK ("tail"); ?>))
<?
}
--- 5,9 ----
function calculate () {
?>
! rk.temp <- (pf (q = <? getRK ("q"); ?>, df1 = <? getRK ("df1"); ?>, df2 = <? getRK ("df2"); ?>, ncp = <? getRK ("ncp"); ?>, <? getRK ("tail"); ?>))
<?
}
***************
*** 13,17 ****
//produce the output
?>
! rk.header ("F probability", list ("Variable value", "<? getRK ("val"); ?>", "Numerator degrees of freedom", "<? getRK ("df1"); ?>", "Denominator degrees of freedom", "<? getRK ("df2"); ?>", "non-centrality parameter", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>"));
cat ("<h3>F probability: ", rk.temp, "</h3>")
<?
--- 13,17 ----
//produce the output
?>
! rk.header ("F probability", list ("Variable value", "<? getRK ("q"); ?>", "Numerator degrees of freedom", "<? getRK ("df1"); ?>", "Denominator degrees of freedom", "<? getRK ("df2"); ?>", "non-centrality parameter", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>"));
cat ("<h3>F probability: ", rk.temp, "</h3>")
<?
Index: normal_probabilities.php
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/normal_probabilities.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** normal_probabilities.php 5 Apr 2006 10:10:03 -0000 1.2
--- normal_probabilities.php 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 5,9 ****
function calculate () {
?>
! rk.temp = (pnorm (q = <? getRK ("val"); ?>, mean = <? getRK ("mean"); ?>, sd = <? getRK ("sd"); ?>, <? getRK ("tail"); ?>))
<?
}
--- 5,9 ----
function calculate () {
?>
! rk.temp = (pnorm (q = <? getRK ("q"); ?>, mean = <? getRK ("mean"); ?>, sd = <? getRK ("sd"); ?>, <? getRK ("tail"); ?>))
<?
}
***************
*** 13,17 ****
//produce the output
?>
! rk.header ("Normal probabilities", list ("Variable value(s)", "<? getRK ("val"); ?>", "mu", "<? getRK ("mean"); ?>", "sigma", "<? getRK ("sd"); ?>", "Tail", "<? getRK ("tail"); ?>"));
cat ("<h3>Normal quantile: ", rk.temp, "</h3>")
<?
--- 13,17 ----
//produce the output
?>
! rk.header ("Normal probabilities", list ("Variable value(s)", "<? getRK ("q"); ?>", "mu", "<? getRK ("mean"); ?>", "sigma", "<? getRK ("sd"); ?>", "Tail", "<? getRK ("tail"); ?>"));
cat ("<h3>Normal quantile: ", rk.temp, "</h3>")
<?
Index: plot_f_distribution.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/plot_f_distribution.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** plot_f_distribution.xml 5 Apr 2006 10:10:03 -0000 1.3
--- plot_f_distribution.xml 23 Apr 2006 13:36:15 -0000 1.4
***************
*** 5,9 ****
<tabbook>
<tab label="Plot F probabilities" >
- <frame>
<row>
<column>
--- 5,8 ----
***************
*** 30,34 ****
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 29,32 ----
Index: plot_chi_squared_distribution.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/plot_chi_squared_distribution.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** plot_chi_squared_distribution.xml 5 Apr 2006 10:10:03 -0000 1.2
--- plot_chi_squared_distribution.xml 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 5,9 ****
<tabbook>
<tab label="Plot Chi-squared probabilities" >
- <frame>
<row>
<column>
--- 5,8 ----
***************
*** 29,33 ****
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 28,31 ----
Index: t_probabilities.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/t_probabilities.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** t_probabilities.xml 12 Mar 2006 18:09:12 -0000 1.1
--- t_probabilities.xml 23 Apr 2006 13:36:15 -0000 1.2
***************
*** 6,14 ****
<tabbook>
<tab label="t probability" >
- <frame>
<row>
<column>
! <spinbox max_precision="2" default_precision="2" type="real" initial="" id="val" min="0" max="1" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="df" min="0" max="10" label="Degree of Freedom"/>
</column>
<column>
--- 6,13 ----
<tabbook>
<tab label="t probability" >
<row>
<column>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="q" min="0" max="1" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="df" min="0" label="Degree of Freedom"/>
</column>
<column>
***************
*** 17,23 ****
<option value="lower.tail=FALSE" label="upper tail" />
</radio>
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 16,22 ----
<option value="lower.tail=FALSE" label="upper tail" />
</radio>
+ <stretch/>
</column>
</row>
</tab>
</tabbook>
Index: normal_quantiles.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/normal_quantiles.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** normal_quantiles.xml 5 Apr 2006 10:10:03 -0000 1.2
--- normal_quantiles.xml 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 6,10 ****
<tabbook>
<tab label="Normal quantile" >
- <frame>
<row>
<column>
--- 6,9 ----
***************
*** 20,24 ****
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 19,22 ----
Index: f_probabilities.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/f_probabilities.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** f_probabilities.xml 12 Mar 2006 18:09:11 -0000 1.1
--- f_probabilities.xml 23 Apr 2006 13:36:15 -0000 1.2
***************
*** 5,24 ****
<tabbook>
<tab label="F probability" >
- <frame>
<row>
<column>
! <spinbox max_precision="2" default_precision="2" type="real" initial="" id="val" min="-1000000" max="1000000" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="df1" min="0" max="10" label="Numerator degree of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="df2" min="0" max="10" label="Denominator degree of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="ncp" min="0" max="1417" label="non-centrality parameter"/>
</column>
<column>
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="upper.tail=TRUE" label="upper tail" />
</radio>
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 5,23 ----
<tabbook>
<tab label="F probability" >
<row>
<column>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="q" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="df1" min="0" label="Numerator degree of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="df2" min="0" label="Denominator degree of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>
</column>
<column>
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="lower.tail=FALSE" label="upper tail" />
</radio>
+ <stretch/>
</column>
</row>
</tab>
</tabbook>
Index: binomial_quantiles.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/binomial_quantiles.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** binomial_quantiles.xml 5 Apr 2006 10:10:03 -0000 1.2
--- binomial_quantiles.xml 23 Apr 2006 13:36:14 -0000 1.3
***************
*** 7,15 ****
<tabbook>
<tab label="Binomial quantile" >
- <frame>
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="p" min="0" max="1" label="Probability"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="size" min="0" max="10" label="Binomial trials"/>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.5" id="prob" min="0" max="1" label="Probability of success"/>
</column>
--- 7,14 ----
<tabbook>
<tab label="Binomial quantile" >
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="p" min="0" max="1" label="Probability"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="size" min="1" label="Binomial trials"/>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.5" id="prob" min="0" max="1" label="Probability of success"/>
</column>
***************
*** 17,26 ****
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="upper.tail=TRUE" label="upper tail" />
</radio>
<stretch/>
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 16,24 ----
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="lower.tail=FALSE" label="upper tail" />
</radio>
<stretch/>
</column>
</row>
</tab>
</tabbook>
Index: binomial_tail_probabilities.php
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/binomial_tail_probabilities.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** binomial_tail_probabilities.php 5 Apr 2006 10:10:03 -0000 1.2
--- binomial_tail_probabilities.php 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 14,18 ****
?>
rk.header ("Binomial tail probability", list ("Variable value", "<? getRK ("q"); ?>", "Binomial trials", "<? getRK ("size"); ?>", "Probability of success", "<? getRK ("prob"); ?>", "Tail", "<? getRK ("tail"); ?>"));
! cat ("<h3>t probability: ", rk.temp, "</h3>")
<?
}
--- 14,18 ----
?>
rk.header ("Binomial tail probability", list ("Variable value", "<? getRK ("q"); ?>", "Binomial trials", "<? getRK ("size"); ?>", "Probability of success", "<? getRK ("prob"); ?>", "Tail", "<? getRK ("tail"); ?>"));
! cat ("<h3>Binomial tail probability: ", rk.temp, "</h3>")
<?
}
Index: poisson_probabilities.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/poisson_probabilities.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** poisson_probabilities.xml 5 Apr 2006 10:10:03 -0000 1.2
--- poisson_probabilities.xml 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 32,37 ****
<checkbox value_unchecked="FALSE" checked="true" value="TRUE" id="narm" label="Remove Missing Values" />
</column>
! <!-- <spinbox type="integer" id="precision" min="1" initial="5" max="10" label="Precision" /> -->
! </row>
</frame>
<radio id="samplequantile" label="Sample Quantile Types" >
--- 32,36 ----
<checkbox value_unchecked="FALSE" checked="true" value="TRUE" id="narm" label="Remove Missing Values" />
</column>
! </row>
</frame>
<radio id="samplequantile" label="Sample Quantile Types" >
Index: plot_binomial_distribution.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/plot_binomial_distribution.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** plot_binomial_distribution.xml 5 Apr 2006 10:10:03 -0000 1.2
--- plot_binomial_distribution.xml 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 5,9 ****
<tabbook>
<tab label="Plot normal probabilities" >
- <frame>
<row>
<column>
--- 5,8 ----
***************
*** 30,34 ****
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 29,32 ----
Index: chi_squared_quantiles.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/chi_squared_quantiles.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** chi_squared_quantiles.xml 12 Mar 2006 18:09:11 -0000 1.1
--- chi_squared_quantiles.xml 23 Apr 2006 13:36:15 -0000 1.2
***************
*** 5,23 ****
<tabbook>
<tab label="Chi-squared quantile" >
- <frame>
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="p" min="0" max="1" label="Probability"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="df" min="0" max="10" label="Degree of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="ncp" min="0" max="1417" label="non-centrality parameter"/>
</column>
<column>
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="upper.tail=TRUE" label="upper tail" />
</radio>
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 5,22 ----
<tabbook>
<tab label="Chi-squared quantile" >
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="p" min="0" max="1" label="Probability"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="df" min="0" label="Degrees of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>
</column>
<column>
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="lower.tail=FALSE" label="upper tail" />
</radio>
+ <stretch/>
</column>
</row>
</tab>
</tabbook>
Index: plot_poisson_distribution.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/plot_poisson_distribution.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** plot_poisson_distribution.xml 5 Apr 2006 10:10:03 -0000 1.2
--- plot_poisson_distribution.xml 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 5,9 ****
<tabbook>
<tab label="Plot Poisson probabilities" >
- <frame>
<row>
<column>
--- 5,8 ----
***************
*** 26,30 ****
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 25,28 ----
Index: chi_squared_probabilities.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/chi_squared_probabilities.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** chi_squared_probabilities.xml 12 Mar 2006 18:09:11 -0000 1.1
--- chi_squared_probabilities.xml 23 Apr 2006 13:36:15 -0000 1.2
***************
*** 6,24 ****
<tabbook>
<tab label="Chi-squared probability" >
- <frame>
<row>
! <column>
! <spinbox max_precision="2" default_precision="2" type="real" initial="" id="val" min="0" max="1" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="df" min="0" max="10" label="Degree of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="ncp" min="0" max="1417" label="non-centrality parameter"/>
! </column>
! <column>
! <radio id="tail" label="Choose type of probability" >
! <option value="lower.tail=TRUE" label="lower tail" />
! <option value="lower.tail=FALSE" label="upper tail" />
! </radio>
! </column>
</row>
- </frame>
</tab>
</tabbook>
--- 6,23 ----
<tabbook>
<tab label="Chi-squared probability" >
<row>
! <column>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="q" min="0" max="1" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="df" min="0" label="Degrees of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="ncp" min="0" label="non-centrality parameter"/>
! </column>
! <column>
! <radio id="tail" label="Choose type of probability" >
! <option value="lower.tail=TRUE" label="lower tail" />
! <option value="lower.tail=FALSE" label="upper tail" />
! </radio>
! <stretch/>
! </column>
</row>
</tab>
</tabbook>
Index: binomial_probabilities.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/binomial_probabilities.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** binomial_probabilities.xml 12 Mar 2006 18:09:11 -0000 1.1
--- binomial_probabilities.xml 23 Apr 2006 13:36:13 -0000 1.2
***************
*** 7,15 ****
<tabbook>
<tab label="Binomial tail probability" >
- <frame>
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="q" min="0" max="1" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="size" min="0" max="10" label="Binomial trials"/>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.5" id="prob" min="0" max="1" label="Probability of success"/>
</column>
--- 7,14 ----
<tabbook>
<tab label="Binomial tail probability" >
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="q" min="0" max="1" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="size" min="0" label="Binomial trials"/>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.5" id="prob" min="0" max="1" label="Probability of success"/>
</column>
***************
*** 17,25 ****
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="upper.tail=TRUE" label="upper tail" />
</radio>
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 16,24 ----
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="lower.tail=FALSE" label="upper tail" />
</radio>
+ <stretch/>
</column>
</row>
</tab>
</tabbook>
Index: f_quantiles.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/f_quantiles.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** f_quantiles.xml 12 Mar 2006 18:09:11 -0000 1.1
--- f_quantiles.xml 23 Apr 2006 13:36:15 -0000 1.2
***************
*** 5,23 ****
<tabbook>
<tab label="F quantile" >
- <frame>
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="p" min="0" max="1" label="Probability"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="df1" min="0" max="10" label="Numerator degree of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="df2" min="0" max="10" label="Denominator degree of Freedom"/>
</column>
<column>
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="upper.tail=TRUE" label="upper tail" />
</radio>
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 5,22 ----
<tabbook>
<tab label="F quantile" >
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="p" min="0" max="1" label="Probability"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="df1" min="0" label="Numerator degree of Freedom"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="df2" min="0" label="Denominator degree of Freedom"/>
</column>
<column>
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="lower.tail=FALSE" label="upper tail" />
</radio>
+ <stretch/>
</column>
</row>
</tab>
</tabbook>
Index: plot_normal_distribution.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/plot_normal_distribution.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** plot_normal_distribution.xml 5 Apr 2006 10:10:03 -0000 1.2
--- plot_normal_distribution.xml 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 5,9 ****
<tabbook>
<tab label="Plot normal probabilities" >
- <frame>
<row>
<column>
--- 5,8 ----
***************
*** 30,34 ****
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 29,32 ----
Index: normal_probabilities.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/normal_probabilities.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** normal_probabilities.xml 12 Mar 2006 18:09:11 -0000 1.1
--- normal_probabilities.xml 23 Apr 2006 13:36:15 -0000 1.2
***************
*** 6,15 ****
<tabbook>
<tab label="Normal probabilities" >
- <frame>
<row>
<column>
! <spinbox max_precision="2" default_precision="2" type="real" initial="" id="val" min="-10000000" max="10000000" label="Variable value(s)"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="mean" min="-10000000" max="10000000" label="mu (mean)"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="sd" min="-10000000" max="10000000" label="sigma (standard deviation)"/>
</column>
<column>
--- 6,14 ----
<tabbook>
<tab label="Normal probabilities" >
<row>
<column>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="q" label="Variable value(s)"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="mean" label="mu (mean)"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="sd" label="sigma (standard deviation)"/>
</column>
<column>
***************
*** 20,24 ****
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 19,22 ----
Index: chi_squared_probabilities.php
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/chi_squared_probabilities.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** chi_squared_probabilities.php 5 Apr 2006 10:10:03 -0000 1.2
--- chi_squared_probabilities.php 23 Apr 2006 13:36:15 -0000 1.3
***************
*** 5,9 ****
function calculate () {
?>
! rk.temp <- (pchisq (q = <? getRK ("val"); ?>, df = <? getRK ("df"); ?>, ncp = <? getRK ("ncp"); ?>, <? getRK ("tail"); ?>))
<?
}
--- 5,9 ----
function calculate () {
?>
! rk.temp <- (pchisq (q = <? getRK ("q"); ?>, df = <? getRK ("df"); ?>, ncp = <? getRK ("ncp"); ?>, <? getRK ("tail"); ?>))
<?
}
***************
*** 13,17 ****
//produce the output
?>
! rk.header ("Chi-squared probability", list ("Variable value", "<? getRK ("val"); ?>", "Degrees of Freedom", "<? getRK ("df"); ?>", "non-centrality parameter", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>"));
cat ("<h3>Chi-squared probaility: ", rk.temp, "</h3>")
<?
--- 13,17 ----
//produce the output
?>
! rk.header ("Chi-squared probability", list ("Variable value", "<? getRK ("q"); ?>", "Degrees of Freedom", "<? getRK ("df"); ?>", "non-centrality parameter", "<? getRK ("ncp"); ?>", "Tail", "<? getRK ("tail"); ?>"));
cat ("<h3>Chi-squared probaility: ", rk.temp, "</h3>")
<?
Index: t_quantiles.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/t_quantiles.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** t_quantiles.xml 12 Mar 2006 18:09:12 -0000 1.1
--- t_quantiles.xml 23 Apr 2006 13:36:15 -0000 1.2
***************
*** 6,23 ****
<tabbook>
<tab label="t quantile" >
- <frame>
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="p" min="0" max="1" label="Probability"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="df" min="0" max="10" label="Degree of Freedom"/>
</column>
<column>
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="upper.tail=TRUE" label="upper tail" />
</radio>
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 6,21 ----
<tabbook>
<tab label="t quantile" >
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="p" min="0" max="1" label="Probability"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="df" min="0" label="Degrees of Freedom"/>
</column>
<column>
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="lower.tail=FALSE" label="upper tail" />
</radio>
</column>
</row>
</tab>
</tabbook>
Index: binomial_tail_probabilities.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/binomial_tail_probabilities.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** binomial_tail_probabilities.xml 12 Mar 2006 18:09:11 -0000 1.1
--- binomial_tail_probabilities.xml 23 Apr 2006 13:36:15 -0000 1.2
***************
*** 7,15 ****
<tabbook>
<tab label="Binomial tail probability" >
- <frame>
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="q" min="0" max="1" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="0" id="size" min="0" max="10" label="Binomial trials"/>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.5" id="prob" min="0" max="1" label="Probability of success"/>
</column>
--- 7,14 ----
<tabbook>
<tab label="Binomial tail probability" >
<row>
<column>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.95" id="q" min="0" max="1" label="Variable value"/>
! <spinbox max_precision="2" default_precision="2" type="real" initial="1" id="size" min="0" label="Binomial trials"/>
<spinbox max_precision="2" default_precision="2" type="real" initial="0.5" id="prob" min="0" max="1" label="Probability of success"/>
</column>
***************
*** 17,25 ****
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="upper.tail=TRUE" label="upper tail" />
</radio>
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 16,24 ----
<radio id="tail" label="Choose type of probability" >
<option value="lower.tail=TRUE" label="lower tail" />
! <option value="lower.tail=FALSE" label="upper tail" />
</radio>
+ <stretch/>
</column>
</row>
</tab>
</tabbook>
Index: plot_t_distribution.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/distributions/plot_t_distribution.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** plot_t_distribution.xml 5 Apr 2006 10:10:03 -0000 1.3
--- plot_t_distribution.xml 23 Apr 2006 13:36:15 -0000 1.4
***************
*** 7,11 ****
<tabbook>
<tab label="Plot t probabilities" >
- <frame>
<row>
<column>
--- 7,10 ----
***************
*** 31,35 ****
</column>
</row>
- </frame>
</tab>
</tabbook>
--- 30,33 ----
More information about the rkward-tracker
mailing list