Investors Hangout Stock Message Boards Logo
  • Mailbox
  • Favorites
  • Boards
    • The Hangout
    • NASDAQ
    • NYSE
    • OTC Markets
    • All Boards
  • Whats Hot!
    • Recent Activity
    • Most Viewed Boards
    • Most Viewed Posts
    • Most Posted
    • Most Followed
    • Top Boards
    • Newest Boards
    • Newest Members
  • Blog
    • Recent Blog Posts
    • Recently Updated
    • News
    • Stocks
    • Crypto
    • Investing
    • Business
    • Markets
    • Economy
    • Real Estate
    • Personal Finance
  • Market Movers
  • Interactive Charts
  • Login - Join Now FREE!
  1. Home ›
  2. Stock Message Boards ›
  3. Stock Boards ›
  4. CytoDyn Inc (CYDY) Message Board

CDF havasu78, the problem with your p-value cal

Message Board Public Reply | Private Reply | Keep | Replies (0)                   Post New Msg
Edit Msg () | Previous | Next


Post# of 155138
(Total Views: 604)
Posted On: 06/12/2020 8:29:49 AM
Posted By: Rex Eupseiphos
Re: havasu78 #37502
CDF[BetaBinomialDistribution[7.5, 19.5 , 13], 0]

havasu78, the problem with your p-value calculation is that it assumes that 7/26 is the probability of survival for "placebo patients" in general instead of just being an estimate of the survival based on a (small) sample of patients.

But your idea can be simply turned into a good test if you treat the 7/26 as a sample statistic rather than a population parameter. This sounds technical and hard but it is actually straightforward and easy to calculate in Wolfram Alpha. The theory: If you assume a Jeffreys prior for the binomial p, the posterior is distributed as beta(x + 0.5, n - x + 0.5), where x is the mortality for placebo patients and n is total placebo patients. Then, the p-value would be the probability that mortality in the treated patients would be less than or equal to what was observed give that the binomial p is distributed as beta(x + 0.5, n - x + 0.5).

The practice: Translating that into an easy Wolfram Alpha language, copy and paste the following expression:

CDF[BetaBinomialDistribution[x + 0.5, n - x + 0.5 , m], y]

into Wolfram Alpha after plugging in x = the number of placebo fatalities, n = total placebo patients, m = number of treatment patients, and y = number of treatment fatalities. For non-small values of x and y, this will give you p-values that should match pretty well p-values from the difference of proportions test you were looking at before and from logistic regression or the Mantel Haenszel test, BUT it doesn't fall apart as x gets small, working just fine even when x = 0.


(1)
(0)




CytoDyn Inc (CYDY) Stock Research Links


  1.  
  2.  


  3.  
  4.  
  5.  






Investors Hangout

Home

Mailbox

Message Boards

Favorites

Whats Hot

Blog

Settings

Privacy Policy

Terms and Conditions

Disclaimer

Contact Us

Whats Hot

Recent Activity

Most Viewed Boards

Most Viewed Posts

Most Posted Boards

Most Followed

Top Boards

Newest Boards

Newest Members

Investors Hangout Message Boards

Welcome To Investors Hangout

Stock Message Boards

American Stock Exchange (AMEX)

NASDAQ Stock Exchange (NASDAQ)

New York Stock Exchange (NYSE)

Penny Stocks - (OTC)

User Boards

The Hangout

Private

Global Markets

Australian Securities Exchange (ASX)

Euronext Amsterdam (AMS)

Euronext Brussels (BRU)

Euronext Lisbon (LIS)

Euronext Paris (PAR)

Foreign Exchange (FOREX)

Hong Kong Stock Exchange (HKEX)

London Stock Exchange (LSE)

Milan Stock Exchange (MLSE)

New Zealand Exchange (NZX)

Singapore Stock Exchange (SGX)

Toronto Stock Exchange (TSX)

Contact Investors Hangout

Email Us

Follow Investors Hangout

Twitter

YouTube

Facebook

Market Data powered by QuoteMedia. Copyright © 2025. Data delayed 15 minutes unless otherwise indicated (view delay times for all exchanges).
Analyst Ratings & Earnings by Zacks. RT=Real-Time, EOD=End of Day, PD=Previous Day. Terms of Use.

© 2025 Copyright Investors Hangout, LLC All Rights Reserved.

Privacy Policy |Do Not Sell My Information | Terms & Conditions | Disclaimer | Help | Contact Us