Small changes to allow IC to use MixedChiSquare; also a quick hack to…#15
Small changes to allow IC to use MixedChiSquare; also a quick hack to…#15stewartsiu wants to merge 1 commit intoakelleh:masterfrom
Conversation
… ChiSquared test to allow zero contingency entry, so that it can be used for testing.
| self.x = x | ||
| self.y = y | ||
| self.z = z | ||
| print '\nCreating indep test for x, y, z = ',x,y,z |
There was a problem hiding this comment.
Hey @stewartsiu ! We shouldn't have print statements outside of exceptions!
There was a problem hiding this comment.
Also, line 32 needs a variable_types={} kwarg!
There was a problem hiding this comment.
@akelleh, Why line 32 (it is a class definition)? If you meant line 33, then wouldn't additional code be needed to handle variable_types?
There was a problem hiding this comment.
you're right! line 33. No additional code needs to be added to handle it. It's required since the ICs.search() method passes the CIT a variable_types arg by default now
There was a problem hiding this comment.
@stewartsiu (so the modification on line 33 should be all we need!)
|
Hi @akelleh!
|
|
Hey @stewartsiu (2) That's cool. It'll work as a CIT on discrete data, so we need to make sure it's still compatible with ICs, so we need to make sure it accepts the args that ICs passes to it. Let me know if you have any questions! |
… ChiSquared test to allow zero contingency entry, so that it can be used for testing.