Displaying 2 results from an estimated 2 matches for "distribution_test".
2008 Jul 17
2
problems with validation on STI
...ist1''
puts @d1.to_s
assert @d1.valid?
end
The final line "assert @d1.valid?" fails, even though I have a :desc
field that is properly spelled, a numerical :param1, and a unique
:dist_name. The message is:
1) Failure:
test_params_exp(DistributionTest)
[test/unit/distribution_test.rb:35:in `test_params_exp''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/testi
ng/setup_and_teardown.rb:33:in `__send__''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/testi
ng/setup_and_teardown.rb:33:in `run'']:
&l...
2009 Jul 28
4
How to do poisson distribution test like this?
Dear R-listers,
I want to reperfrom a poisson distribution test that presented in a
recent-published biological research paper (Plant Physiology 2008, vol 148,
pp. 1189-1200). That test is about the occurrence number of a kind of gene
in separate chromosomes.
For instance:
The observed gene number in chromosome A is 36.
The expected gene number in chromosome A is 30.
Then, the authors got a