[rkward-cvs] SF.net SVN: rkward: [2331] trunk/rkward/rkward/plugins/analysis/variances

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Jan 21 19:01:43 UTC 2008


Revision: 2331
          http://rkward.svn.sourceforge.net/rkward/?rev=2331&view=rev
Author:   tfry
Date:     2008-01-21 11:01:43 -0800 (Mon, 21 Jan 2008)

Log Message:
-----------
Apparently I forgot to add these files in trunk

Added Paths:
-----------
    trunk/rkward/rkward/plugins/analysis/variances/levene_test.php
    trunk/rkward/rkward/plugins/analysis/variances/levene_test.rkh
    trunk/rkward/rkward/plugins/analysis/variances/levene_test.xml

Added: trunk/rkward/rkward/plugins/analysis/variances/levene_test.php
===================================================================
--- trunk/rkward/rkward/plugins/analysis/variances/levene_test.php	                        (rev 0)
+++ trunk/rkward/rkward/plugins/analysis/variances/levene_test.php	2008-01-21 19:01:43 UTC (rev 2331)
@@ -0,0 +1,22 @@
+<?
+function preprocess () { ?>
+require(car)
+<?}
+
+function calculate () {
+
+?>
+result <- levene.test (<? getRK ("y"); ?>, <? getRK ("group"); ?>)
+<?
+}
+
+function printout () {
+?>
+names <- rk.get.description (<? getRK ("y"); ?>, <? getRK ("group"); ?>)
+
+rk.header ("Levene's Test",names)
+
+rk.print (result)
+<?
+}
+?>

Added: trunk/rkward/rkward/plugins/analysis/variances/levene_test.rkh
===================================================================
--- trunk/rkward/rkward/plugins/analysis/variances/levene_test.rkh	                        (rev 0)
+++ trunk/rkward/rkward/plugins/analysis/variances/levene_test.rkh	2008-01-21 19:01:43 UTC (rev 2331)
@@ -0,0 +1,23 @@
+<!DOCTYPE rkhelp>
+<document>
+	<summary>
+		This test performs the Levene's test for homeogeneity of variance across groups.
+	</summary>
+
+	<usage>
+		Select the response variable and the factor defining groups to test for homeogeneity of variance across groups.
+	</usage>
+
+	<settings>
+		<setting id="y">response variable (numeric vector).</setting>
+		<setting id="group">factor defining groups (factor).</setting>
+	</settings>
+	<related>
+		<ul>
+			<li><link href="rkward://rhelp/levene.test"/></li>
+			<li><link href="rkward://rhelp/bartlett.test"/></li>
+			<li>Levene, H. (1960). In Contributions to Probability and Statistics: Essays in Honor of Harold Hotelling, I. Olkin et al. eds., Stanford University Press, pp. 278-292.</li>
+		</ul>
+
+	</related>
+</document>

Added: trunk/rkward/rkward/plugins/analysis/variances/levene_test.xml
===================================================================
--- trunk/rkward/rkward/plugins/analysis/variances/levene_test.xml	                        (rev 0)
+++ trunk/rkward/rkward/plugins/analysis/variances/levene_test.xml	2008-01-21 19:01:43 UTC (rev 2331)
@@ -0,0 +1,17 @@
+<!DOCTYPE rkplugin>
+
+<document>
+	<code file="levene_test.php"/>
+	<help file="levene_test.rkh"/>
+	
+	<dialog label="Levene's Test">
+		<row>
+			<varselector id="vars"/>
+				<column>
+					<varslot type="numeric" id="y" source="vars" required="true" label="response variable"/>
+					<varslot type="factor" id="group" source="vars" required="true" label="groups"/>
+				</column>
+		</row>
+	</dialog>
+	
+</document>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list