1 / 57

Dichotomous and survival outcomes

Dichotomous and survival outcomes. Brian Healy, PhD. Comments from previous class. Book suggestion/practice problems Fundamentals of Biostatistics by Bernard Rosner Available in Countway How do I know when I need help? When you think your project is more complicated than we have discussed

abiba
Download Presentation

Dichotomous and survival outcomes

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Dichotomous and survival outcomes Brian Healy, PhD

  2. Comments from previous class • Book suggestion/practice problems • Fundamentals of Biostatistics by Bernard Rosner • Available in Countway • How do I know when I need help? • When you think your project is more complicated than we have discussed • Correlated observations • Skewed data • This class designed to help you do basic analysis, but also help you communicate with a statistician

  3. Objectives • Dichotomous outcome • Chi-square test • Logistic regression • Survival analysis • Log-rank test

  4. Quick aside • What is the most common proportion to see in the news? • Political polling • Most polls look like this: • 50% of people support Scott Brown • 45% of people support Martha Coakley • Margin of error +/- 3%

  5. Margin of error • What does the margin of error tell us? • The plausible values for the true proportion accounting for sampling variability (chance) • What does the margin of error not tell us? • Sample design • Who was sampled? • How was sampling done? • Was there any missing data? • Were all people treated the same?

  6. Statement regarding accuracy • For confidence interval: • We are 95% confident that the true parameter value lies within our confidence bounds • For polling (from http://www.pollingreport.com/sampling.htm) • “In theory, with a sample of this size, one can say with 95 percent certainty that the results have a statistical precision of plus or minus __ percentage points of what they would be if the entire adult population had been polled with complete accuracy. Unfortunately, there are several other possible sources of error in all polls or surveys that are probably more serious than theoretical calculations of sampling error. They include refusals to be interviewed (non-response), question wording and question order, interviewer bias, weighting by demographic control data, and screening (e.g., for likely voters). It is difficult or impossible to quantify the errors that may result from these factors.”

  7. Review • Steps for hypothesis test • How do we set up a null hypothesis? • Choosing the right test • Continuous outcome/dichotomous predictor: Two sample t-test • Continuous outcome/categorical predictor: ANOVA • Continuous outcome/continuous predictor: Correlation or regression

  8. Types of analysis-independent samples

  9. Dichotomous outcome • Sustained disease progression in MS is often defined as a one-unit increase on EDSS that lasts for at least six months • This is a common outcome in clinical trials and observational studies • Patients are often classified as progressed or not progressed, which is a dichotomous outcome

  10. Example • MS is known to have a genetic component • Several single nucleotide polymorphisms have been associated with susceptibility to MS • Question: Do patients with susceptibility SNPs experience more sustained progression than patients without susceptibility SNPs?

  11. Data • Initially, we will focus on presence vs. absence of SNPs • Among our 190 treated patients, 74 had the SNP and 116 did not • 12 patients with the SNP experienced sustained progression • 13 patients without the SNP experienced sustained progression

  12. Contingency table • A common way to look at this data is a 2x2 table • Does the SNP have an effect on whether or not patients progress?

  13. Question • In our analysis, we assume that the margins are set • Under the null hypothesis of no relationship between the two variables, what would we expect the values in the table be?

  14. Example • As an example, use this table 150*100/200=75 50*100/200=25 50*100/200=25 150*100/200=75

  15. Expected table • Expected table for our analysis 25*74/190=9.73 25*116/190=15.3 165*74/190=64.3 116*165/ 190=100.7 How different is our observed data compared to the expected table?

  16. Does our data show an effect? • To test for an association between the outcome and the predictor, we would like to know if our observed table was different from the expected table under the null hypothesis • How could we investigate if our table was different? This quantity has a chi-square distribution If it is large, it implies a large difference from the expected

  17. Critical information for c2 • For 1 degree of freedom, cut-off for a=0.05 is 3.84 • For normal distribution, this is 1.96 • Note 1.962=3.84 • Inherently, two-sided since it is squared • Has problems with small cell counts • Fix: Fisher’s exact test

  18. Chi-square distribution Area=0.05 X2=3.84

  19. Hypothesis test with c2 • H0: No association between SNP and progression • Dichotomous outcome, dichotomous predictor • c2 test • Summary statistic: c2=0.99 • p-value=0.32 • Since the p-value is greater than 0.05, we fail to reject the null hypothesis • We conclude that there is no significant association between SNP and progression

  20. p-value c2 statistic

  21. Question: Why 1 degree of freedom? • We used a c2 distribution with 1 degree of freedom, but there are 4 numbers. Why? • For our analysis, we assume that the margins are fixed. • If we pick one number in the table, the rest of the numbers are known 3 22 71 94

  22. Estimated effect • When you compare two groups with a dichotomous outcome, there are three common ways to show the difference between the groups • Risk difference • Prob of diseaseGroup 1-Prob of diseaseGroup 2 • Relative risk/risk ratio • Prob of diseaseGroup 1/Prob of diseaseGroup 2 • Odds ratio

  23. Odds ratio • Odds: • Odds ratio: • Under the null, what is the OR?

  24. This is the estimate of the odds ratio from a cohort study

  25. This is the estimate of the odds ratio from a case-control study

  26. Amazing!! • Estimated odds ratio from each kind of study ends up being the same thing!!! • Therefore, we can complete a case control study and get an estimate that we really care about, which is the effect of the exposure on the disease • This relationship is one reason why the odds ratio is so commonly reported

  27. Logistic regression

  28. Types of analysis-independent samples

  29. Linear regression • When we fit linear regression, we used indicator variables to represent dichotomous predictors • Ex. Effect of gender • Gender=0 if Female • Gender=1 if Male • What is the interpretation of b1?

  30. Outcome • What if the outcome is dichotomous? • Progression • Y=0 if no progression • Y=1 if progression • Can we just use linear regression with 0/1 as the outcome?

  31. Can we fit a line to this data? Is there another measure?

  32. Better outcome • Rather than investigating the 0/1 value, we focus our attention on the probability of the event • Therefore, we could use the following regression equation • Is there anything wrong with this function?

  33. Technical aside-Probabilities • Probabilities are required to be between 0 and 1 • Does the present equation impose this restriction? • No • We would like a similar equation, but with the restriction that 0<=p<=1 • One option

  34. Logistic regression • The previous function is quite complex to deal with, but we can transform the equation • Note that the right side of the equation looks EXACTLY like our normal regression

  35. Parameter interpretation-review • Let’s think about the following linear regression model for the effect of age on BPF • In linear regression, the meaning of b1 in this model is that for a one unit increase in age the mean BPF goes up by b1. • The meaning of b0 is the mean value of BPF when age=0

  36. Parameter interpretation • How does this change for our logistic model? • Not at all!!! • Logistic model: • The meaning of b1 in this model is that for a one unit increase in age, the ln(Odds) goes up by b1 • The meaning of b0 is the value of ln(Odds) when age=0

  37. Results • When we fit our data, the parameter estimates were • For a one unit increase in age, the estimated log(Odds) increases by 0.086 • Is this a statistically significant increase?

  38. Hypothesis test • If there was no effect of age on the probability of progression, what would the value of b1 equal? • How could we test the hypothesis that there is no effect? • H0: b1=0 • Need an estimate of the variance of the estimated b1, but this is provided by STATA • Assume approximate normality

  39. Hypothesis test • H0: b1=0 • Dichotomous outcome with continuous predictor • Logistic regression • Summary statistic: z=1.99 • p-value=0.047 • Since the p-value is less than 0.05, we reject the null hypothesis • We conclude that there is a significant effect of age at symptom onset on probability of progression

  40. Estimated coefficient for age p-value for H0: b1=0 Estimated intercept coefficient p-value for H0: b0=0

  41. Conclusions • Logistic regression allows us to investigate the relationship between a continuous predictor and a dichotomous outcome • Interpretation of coefficients is the same as linear regression, but on the log(odds) scale • We can calculate the predicted probability just like we could calculate the predicted mean value

  42. Survival analysis

  43. Types of analysis-independent samples

  44. Example • An important marker of disease activity in MS is the occurrence of a relapse • This is the presence of new symptoms that lasts for at least 24 hours • Many clinical trials in MS have demonstrated that treatments increase the time until the next relapse • How does the time to next relapse look in the clinic? • What is the distribution of survival times?

  45. Kaplan-Meier curve Each drop in the curve represents an event

  46. Survival data • To create this curve, patients placed on treatment were followed and the time of the first relapse on treatment was recorded • Survival time • If everyone had an event, some of the methods we have already learned could be applied • Often, not everyone has event • Loss to follow-up • End of study

  47. Censoring • The patients who did not have the event are considered censored • We know that they survived a specific amount of time, but do not know the exact time of the event • We believe that the event would have happened if we observed them long enough • These patients provide some information, but not complete information

  48. Censoring • How could we account for censoring? • Ignore it and say event occurred at time of censoring • Incorrect because this is almost certainly not true • Remove patient from analysis • Potential bias and loss of power • Survival analysis • Our objective is to estimate the survival distribution for patients in the presence of censoring

More Related