Desired Outcome | Not Desired Outcome | |
Has X | A | B |
Does not have X | C | D |
If you don't use a database, you can still create an array of your own Type to store HasX, Desiredoutcome and NotDesiredOutcome. it would not affect the result of A+B+C+D...
In my opinion there is no test because (most likely for logical or ethical reasons) you cannot "inverse" ( does not mean stop) a treatement and see how many from A or B would have the characteristic X or not X. So there is no correlation between the two sets, thus no meaningful test.
No metastatis present | Metastasis present | |
Has BRCA | 100 | 12 |
Does not have BRC | 250 | 96 |
If you can read German maybe this scriptum is useful for you: http://www.math.uni-duesseldorf.de/~braun/bio1112/printout1318.pdf ...I'll certainly have a look at it.
Note that fcl's NumLib has functions to calculate the t statistics, tdist(), and its inverse, invtdist.
The numlib library needs to be rewritten, so that all functions have a self-explanatory name.Yes, but it must be rewritten from zero because - believe it or not - there is some software out there which uses it. And writing a full math package is a huge task... To avoid this I wrote the NumLib wiki article (https://wiki.lazarus.freepascal.org/NumLib_Documentation) - at least something.
The only trivial conclusion is that the treatement is more effective when the desease is caused by one condition vs. the other.
there isn't any between the two sets of clinical trials
Very well Bart, have you implemented everything in Lazarus/FPC?