Displaying 2 results from an estimated 2 matches for "locationtest".
Did you mean:
locationtests
2006 Mar 17
0
unit_tests and deleting from the database
I get errors when running rake test_units:
test_destroy(LocationTest):
ActiveRecord::StatementInvalid: Mysql::Error: #23000Cannot delete or
update a pa
rent row: a foreign key constraint fails (`overblijf_tst/groups`,
CONSTRAINT `fk
_groups_locations` FOREIGN KEY (`location_id`) REFERENCES `locations`
(`id`)): D
ELETE FROM locations
Any pointers??
--
Posted vi...
2011 Nov 21
2
count ties after rank?
Hello!
I need to use Kruskal-Wallis test and post-hoc test (Dunn's test) for my data. But when I searched around, I only found this function: kruskal.test. But nothing for Dunn's test.
So I started to write one myself. But I do not know how to count ties in the data frame. I can use for loops but it seems long and unnecessary since the rank function actually knows the ties. So