<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PMean &#187; Measuring benefit and risk</title>
	<atom:link href="http://blog.pmean.com/tag/measuring-benefit-and-risk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pmean.com</link>
	<description>A blog about statistics, evidence-based medicine, and research ethics</description>
	<lastBuildDate>Sat, 22 Jun 2024 17:10:26 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.7.41</generator>
	<item>
		<title>PMean: Is my odds ratio zero or infinity?</title>
		<link>http://blog.pmean.com/zero-or-infinity/</link>
		<comments>http://blog.pmean.com/zero-or-infinity/#comments</comments>
		<pubDate>Wed, 30 Mar 2016 18:49:39 +0000</pubDate>
		<dc:creator><![CDATA[pmean]]></dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Measuring benefit and risk]]></category>

		<guid isPermaLink="false">http://blog.pmean.com/?p=719</guid>
		<description><![CDATA[Dear Professor Mean, I know you told me that when one of the row probabilities in a two by two table is 0% or if one of the row probabilities is 100%, then the odds ratio is either 0 or infinity? But how do I tell which? It depends on how you define odds and [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><em>Dear Professor Mean, I know you told me that when one of the row probabilities in a two by two table is 0% or if one of the row probabilities is 100%, then the odds ratio is either 0 or infinity? But how do I tell which?</em><span id="more-719"></span></p>
<p>It depends on how you define odds and what you place in the numerator versus the denominator. Here&#8217;s a simple example to orient yourself.  On the Titanic, there were 851 male passengers and 462 female passengers. This ship sailed in an era when people actually believed in the concept &#8220;women and children first&#8221;. So the death rate was very high among the men. 709 men died and only 142 lived. Among the men, there were almost five deaths for every one survivor. This means almost a 5 to 1 odds in favor of death among males (4.993 to 1 if you want to be precise).</p>
<p>A lot of women died also, 154 to be exact, but more women (308) survived. Among the women there were exactly 2 survivors for every death. This means exactly a 2 to 1 odds in favor of survival among women.</p>
<p>Now how you compute the odds ratio depends on two factors:</p>
<ol>
<li>whether you consider the odds in favor of death or the odds in favor of survival, and</li>
<li>which odds you put in the numerator of the odds ratio.</li>
</ol>
<p>Let&#8217;s look at one possible case: odds in favor of death and the odds for men in the numerator.</p>
<p>Odds ratio = (5 to 1) / (1 to 2) = 5/0.5 = 10 (actually 9.986 without rounding).</p>
<p>But you could look at odds in favor of survival and odds for men in the numerator.</p>
<p>Odds ratio = (1 to 5) / (2 to 1) = 0.2/2 = 0.1 (or 0.1001 without rounding).</p>
<p>There are two more cases. One is odds in favor of death and odds for women in the numerator.</p>
<p>Odds ratio = (1 to 2) / (5 to 1) = 0.5/5 = 0.1</p>
<p>The last case is odds in favor of survival and odds for women in the numerator.</p>
<p>Odds ratio = (2 to 1)/(1 to 5) = 2/0.2 = 10.</p>
<p>Now this is something that you&#8217;ll have to get used to. The odds ratio of 10 and the odds ratio of 0.1 are the flip sides of the same coin. These are complementary ratios. Get used to it. Half of the software packages out there will compute an odds ratio of 10 and the other half will compute an odds ratio of 0.1.</p>
<p>Some people try to standardize the notation for odds ratios. The Cochrane Collaboration defines an odds ratio in such a way that for any efficacy measure, if the new treatment is superior, it is associated with an odds ratio less than 1. But not everyone does it the Cochrane way.</p>
<p>So the answer to your question, &#8220;Is my odds ratio zero or infinite?&#8221; is &#8220;yes!&#8221;</p>
<p>Let&#8217;s be more specific, though. If you are looking at the odds of death in a group where everyone dies (compared to a group where there&#8217;s a mix of deaths and survivors), AND the odds for that group is placed in the numerator for all your other odds ratios, then you have an odds ratio with an infinite odds in the numerator and a finite odds in the denominator. That creates an infinite odds ratio.</p>
<p>BUT, if you are looking at the odds of survival instead then your odds ratio has a zero odds in the numerator and a finite (non-zero) odds in the denominator, which makes your odds ratio zero.</p>
<p>If you have an infinite odds in the denominator, then your odds ratio is zero. Finally, if you have a zero odds in the denominator, then your odds ratio is infinite.</p>
<p>The only case you can&#8217;t handle is when both groups have 100% survival or 0% survival. This forces you to divide infinity by infinity or zero by zero. Either way, your result is indeterminate.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pmean.com/zero-or-infinity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PMean: Odds ratio with a zero in the table</title>
		<link>http://blog.pmean.com/zero-in-table/</link>
		<comments>http://blog.pmean.com/zero-in-table/#comments</comments>
		<pubDate>Tue, 19 Jan 2016 16:41:53 +0000</pubDate>
		<dc:creator><![CDATA[pmean]]></dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Measuring benefit and risk]]></category>

		<guid isPermaLink="false">http://blog.pmean.com/?p=602</guid>
		<description><![CDATA[Dear Professor Mean, I have a data set where 94 out of 100 patients with cancer have activation of a gene, while 0 out of 50 of the controls have activation. When I compute the odds ratio, I get (94*50) / (6*0) = 4700 / 0 = ???. What should I do? Whatever you do, [&#8230;]]]></description>
				<content:encoded><![CDATA[<blockquote><p>Dear Professor Mean, I have a data set where 94 out of 100 patients with cancer have activation of a gene, while 0 out of 50 of the controls have activation. When I compute the odds ratio, I get (94*50) / (6*0) = 4700 / 0 = ???. What should I do?<span id="more-602"></span></p></blockquote>
<p>Whatever you do, don&#8217;t run that last calculation. Your computer will explode, it will take down the entire Internet with it, and we&#8217;ll all end up living in caves. Either that or you&#8217;ll get a brief error message.</p>
<p>Seriously, this happens all the time. Any positive number divided by zero is infinite. So simply state that the odds ratio is infinity. Go ahead and use the word, infinity, an abbreviation like Inf, or that sideways 8 symbol. Then use Fisher&#8217;s Exact test to calculate the statistical significance. Looking at your data, I think that a p-value is overkill here, but calculate it anyway to make things official. Here&#8217;s an example of what you might write:</p>
<blockquote><p>There was a strong association between gene activation and cancer (OR=Infinity, P&lt;0.0001).</p></blockquote>
<p>There are also ways that you can place a confidence limit around this odds ratio, but it typically requires specialized software. Some people recommend that you add a small value to each cell (usually 0.5) before calculating the odds ratio. I can&#8217;t recommend that approach (too ad hoc), but will note that some people think it is a good solution.</p>
<p>This page has moved to <a href="http://new.pmean.com/zero-in-table/">a new website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pmean.com/zero-in-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
