~l3on/ubuntu/precise/rkward/rebuild1

« back to all changes in this revision

Viewing changes to rkward/plugins/analysis/TESTS/mood_test.js

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Friedrichsmeier
  • Date: 2009-10-26 14:30:00 UTC
  • mfrom: (1.1.13 upstream) (6.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20091026143000-wzwt6cryjnwce23k
Tags: 0.5.2-1
* new upstream release
  closes: #551306 (added support for the new dynamic help system)
* Add "DM-Upload-Allowed: yes" in control
* bump standards version to 3.8.3 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// globals
 
2
 
 
3
 
 
4
function calculate () {
 
5
echo ('result <- mood.test (' + getValue ("x") + ', ' + getValue ("y") + ', alternative = "' + getValue ("alternative") + '")\n');
 
6
}
 
7
 
 
8
function printout () {
 
9
echo ('names <- rk.get.description (' + getValue ("x") + ', ' + getValue ("y") + ')\n');
 
10
echo ('\n');
 
11
echo ('rk.header (result$method,\n');
 
12
echo (' parameters=list ("Alternative Hypothesis", rk.describe.alternative (result)))\n');
 
13
echo ('\n');
 
14
echo ('rk.results (list (\n');
 
15
echo (' \'Variables\'=names,\n');
 
16
echo (' \'Z\'=result$statistic,\n');
 
17
echo (' \'p-value\'=result$p.value))\n');
 
18
}
 
19