Ph.D. Candidate Example Exam - MSBD 720: Survival Analysis and Regression Study Guide
Part 1: Multiple Choice - Survival Analysis Fundamentals
Question 1: Identification of Survival Analysis Characteristics
Option a: "In a survival analysis, the outcome variable is dichotomous."
Status: Incorrect. While the event status is dichotomous ( or ), the outcome variable in survival analysis is the time until that event occurs, which is a continuous or discrete time-to-event variable.
Option b: "In a survival analysis, the event is usually described by a (0, 1) variable."
Status: Correct. This binary indicator denotes whether the event occurred () or the observation was censored ().
Option c: "If the study ends before an individual has gotten the event, then his or her survival time is censored."
Status: Correct. This describes administrative censoring, where the observation period terminates before the event of interest is observed.
Option d: "If, for a given individual, the event occurs before the person is lost to follow-up or withdraws from the study, then this person’s survival time is censored."
Status: Incorrect. If the event occurs while the participant is under observation, the survival time is considered a "complete" or "uncensored" observation.
Part 2: Practical Example – Linear Regression (Supermarket Scanner Data)
Context and Data Collection:
Supermarkets utilize checkout scanners to evaluate the impact of pricing and promotional activities on product sales.
Promotional Types:
Flyers: Distributed outside the store or in newspapers; may or may not feature specific products.
In-store Displays: Located at the end of aisles to capture customer attention.
Variables Collected Weekly:
Sales: Number of units sold.
Price: Cost in dollars ().\n * **Flyer:** Binary variable (10 otherwise).\n * **Display:** Binary variable (10 otherwise).\n\n* **Fitted Model Analysis:**\n * A quadratic regression was applied to the data. Use the following structure for requirements:\n * **Model Equation:** The fitted model for sales should include linear and quadratic terms for price, plus terms for flyers and displays: \text{Sales} = \beta_0 + \beta_1 \cdot \text{Price} + \beta_2 \cdot \text{Price}^2 + \beta_3 \cdot \text{Flyer} + \beta_4 \cdot \text{Display} + \epsilon\n * **Coefficient of Determination (R^2):** This value represents the proportion of variance in Sales explained by the independent variables (Price, Price squared, Flyer, and Display).\n * **Test Statistic for Quadratic Term:** To determine if the quadratic term (\text{Price}^2t = \frac{\hat{\beta}k}{SE(\hat{\beta}_k)}0.05), the quadratic term is significant.\n * **Prediction Calculation:** To find the average units sold when the price is \$1.10\text{Price} = 1.10\text{Price}^2 = 1.21 into the fitted regression equation along with the means or specific values for Flyer and Display.\n * **Analysis of Variance (ANOVA):** The ANOVA table provides information regarding the overall significance of the model (F-test), comparing the variance explained by the regression model against the residual (error) variance.\n\n# Part 3: Practical Example – Logistic Regression (Framingham Heart Study)\n\n* **Study Overview:**\n * **Focus:** Sudden death as a lethal cardiovascular endpoint in women.\n * **Data Source:** Framingham Heart Study.\n * **Response Variable:** 2-year incidence of sudden death in females without prior coronary heart disease (CHD).\n * **Controlled Risk Factors:** Age, blood pressure (BP), cigarette smoking, and vital capacity.\n\n* **Statistical Model and Testing:**\n * **Equation:** \text{logit}(P) = \ln\left(\frac{P}{1-P}\right) = \alpha + \beta_1 \cdot \text{Age} + \beta_2 \cdot \text{BP} + \beta_3 \cdot \text{Smoking} + \beta_4 \cdot \text{Vital Capacity}\n * **Z-Statistic Calculation for Blood Pressure:**\n * Coefficient (b_10.0019\n * Standard Error (SE(b_1)0.0070\n * Test Statistic: Z = \frac{b_1 - 0}{SE(b_1)} = \frac{0.0019}{0.0070} = 0.27\n * **Significance Decision:** At \alpha = 0.05Z{0.025} = 1.960.27 < 1.96, BP is not a significant predictor in the presence of other variables.\n * **p-value:** 2P(Z \geq 0.27) = 0.7871.\n\n* **Interpretations and Odds Ratios (OR):**\n * **Age Coefficient:** Represents the change in the log-odds of sudden death for a one-year increase in age, adjusting for other factors.\n * **Vital Capacity Coefficient:** Represents the change in the log-odds of sudden death for each unit increase in vital capacity.\n * **OR for 1-year Age Increase:** OR = e^{\beta_{\text{age}}}.\n * **OR for 100-cl Decrease in Vital Capacity:** If the coefficient \beta_{\text{vc}}100e^{-100 \cdot \beta_{\text{vc}}}.\n * **95% Confidence Intervals for OR:** Calculated as e^{\hat{\beta} \pm 1.96 \cdot SE(\hat{\beta})}.\n\n# Part 4: Interpret Coefficients and Model Outputs (Loan Data)\n\n* **Model Specification:**\n * The model predicts the probability of a "good" loan based on FICO score and loan amount.\n * **Formula:** \text{logit(good)} = \beta_0 + \beta_1 \cdot \text{fico} + \beta_2 \cdot \text{loan_amnt}\n\n* **Model Coefficients Table:**\n | Term | Estimate (\betaPr(>|z|) |\n | :--- | :--- | :--- | :--- | :--- |\n | (Intercept) | -7.367 \times 10^{0}3.007 \times 10^{-1}-24.50< 2 \times 10^{-16} |\n | fico | 1.319 \times 10^{-2}4.306 \times 10^{-4}30.62< 2 \times 10^{-16} |\n | loan_amnt | -2.229 \times 10^{-5}1.815 \times 10^{-6}-12.28< 2 \times 10^{-16} |\n\n* **Interpretations:**\n * **FICO:** For every one-unit increase in FICO score, the log-odds of the loan being "good" increase by 0.01319, assuming the loan amount remains constant. This indicates a positive relationship between credit score and loan quality.\n * **Loan Amount:** For every one-dollar increase in the loan amount, the log-odds of the loan being "good" decrease by 0.00002229. This suggests larger loans are slightly less likely to be categorized as "good."\n\n* **Model Performance Metrics:**\n * **Null Deviance:** 3592842534 degrees of freedom. This represents how well the response is predicted by a model that includes only the intercept.\n * **Residual Deviance:** 3483842532 degrees of freedom. This measures the lack of fit of the model after including FICO and loan amount.\n * **Model Decision:** To determine if the model is a significant improvement over the null model, compute the difference in deviance: \Delta D = 35928 - 34838 = 1090\Delta df = 42534 - 42532 = 210902p < 0.05), we reject the null model in favor of the fitted model.\n\n# Part 5: Practical Example – Survival Analysis Calculations\n\n* **Requirements:**\n * Calculate survival probability for each group at every unique failure time.\n * Construct survival curves (Kaplan-Meier estimator) for Group 1 and Group 2.\n * **Kaplan-Meier Formula:** \hat{S}(t) = \prod_{t_i \le t} \left( 1 - \frac{d_i}{n_i} \right)d_it_in_i is the number of individuals at risk.\n\n# Part 6: Optional – Evans County Study (1967–1980)\n\n* **Dataset Description:**\n * Survival times (in years) for two groups, n = 25 each.\n * **Group 1 (CHR = 0):** No history of chronic disease.\n * **Group 2 (CHR = 1):** Positive history of chronic disease.\n\n* **Raw Data (Survival Times in Years):**\n * **Group 1:** 1.82.22.52.63.03.53.85.35.45.76.68.28.79.29.29.810.010.210.711.011.111.712.1+12.2+12.3+ (censored).\n * **Group 2:** 1.41.61.82.42.82.93.13.53.63.94.14.24.74.95.25.85.96.57.88.38.48.89.19.911.4.\n\n* **Quantitative Metrics for Comparison:**\n * **Average Survival Time:** The arithmetic mean of the survival times (treating censored values as the time at which censoring occurred).\n * **Average Hazard Rate:** Calculated as the ratio of total observed events (DT\text{Average Hazard} = \frac{\sum d_i}{\sum t_i}.\n * **Survival Prognosis Comparison:**\n 1. Determine which group has a higher survival probability before a specific time threshold (t^).\n 2. Determine which group has a better prognosis after t^ (potential crossing of curves).\n 3. **Median Survival Time:** The time point at which \hat{S}(t) = 0.5$$. Compare the two groups' medians to see which has a longer typical survival duration.