Recent

Author Topic: Question about statistics  (Read 1195 times)

MaxCuriosus

  • Jr. Member
  • **
  • Posts: 90
Re: Question about statistics
« Reply #15 on: February 26, 2020, 12:19:52 am »
Bart,
following your clarification here is my suggested formula:

P = ( Pa + Pd ) / 2

where

Pa = A / ( A + B )
Pd = D / ( C + D )

With your numeric example that leads to P = 0.58, meaning that there is a 58% chance the treatement applied to a patient with condition X will result in the desired outcome.

Otto

  • Full Member
  • ***
  • Posts: 224
Re: Question about statistics
« Reply #16 on: March 05, 2020, 12:07:25 pm »
Hello.
Bart, have you solved your statistical correlation problem yet?
Kind regards.

Bart

  • Hero Member
  • *****
  • Posts: 3789
    • Bart en Mariska's Webstek
Re: Question about statistics
« Reply #17 on: March 05, 2020, 06:03:27 pm »
From what I've read I decided to use Fisher exact test.
That in itself presented another problem because I now had to calculate with large factorials, which tend to bomb out if you can't use 80-bit extended type.

Fotunately I rembered (from way back in high school) I could use logarithmics to avoid that.

Bart

Otto

  • Full Member
  • ***
  • Posts: 224
Re: Question about statistics
« Reply #18 on: March 05, 2020, 10:08:16 pm »
Very well Bart, have you implemented everything in Lazarus/FPC?
Kind regards.

Bart

  • Hero Member
  • *****
  • Posts: 3789
    • Bart en Mariska's Webstek
Re: Question about statistics
« Reply #19 on: March 05, 2020, 10:21:28 pm »
Very well Bart, have you implemented everything in Lazarus/FPC?

Of course I have. O:-)

Bart

 

TinyPortal © 2005-2018