Biostatistics Quiz: Indicator Variables
20 questions · exam conditions
0:00
Indicator VariablesQuestion 1 of 20

A biostatistician is modeling the relationship between age and cholesterol level, with gender as an additional predictor. The model includes an interaction term: Cholesterol=β0+β1Age+β2IMale+β3AgeIMale\text{Cholesterol} = \beta_0 + \beta_1 \cdot \text{Age} + \beta_2 \cdot I_{\text{Male}} + \beta_3 \cdot \text{Age} \cdot I_{\text{Male}}. If β1=2.5\beta_1 = 2.5, β2=15\beta_2 = 15, and β3=0.8\beta_3 = -0.8, what is the slope of the age-cholesterol relationship for males?

The slope for males is 1.7 mg/dL per year of age increase
The slope for males is 2.5 mg/dL per year of age increase
The slope for males is 3.3 mg/dL per year of age increase
The slope for males is 15 mg/dL per year of age increase
← Back to quizzes

Biostatistics Quiz

Biostatistics Quiz: Indicator Variables

Practice Indicator Variables in Biostatistics with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Indicator Variables, giving you a quick way to practice the rules, question types, and explanations that matter most for Biostatistics.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

A biostatistician is modeling the relationship between age and cholesterol level, with gender as an additional predictor. The model includes an interaction term: Cholesterol=β0+β1Age+β2IMale+β3AgeIMale\text{Cholesterol} = \beta_0 + \beta_1 \cdot \text{Age} + \beta_2 \cdot I_{\text{Male}} + \beta_3 \cdot \text{Age} \cdot I_{\text{Male}}. If β1=2.5\beta_1 = 2.5, β2=15\beta_2 = 15, and β3=0.8\beta_3 = -0.8, what is the slope of the age-cholesterol relationship for males?

  1. The slope for males is 1.7 mg/dL per year of age increase (correct answer)
  2. The slope for males is 2.5 mg/dL per year of age increase
  3. The slope for males is 3.3 mg/dL per year of age increase
  4. The slope for males is 15 mg/dL per year of age increase
Explanation: For males, IMale=1I_{\text{Male}} = 1, so the model becomes: Cholesterol = β0+β1Age+β2+β3Age=β0+β2+(β1+β3)Age\beta_0 + \beta_1 \cdot \text{Age} + \beta_2 + \beta_3 \cdot \text{Age} = \beta_0 + \beta_2 + (\beta_1 + \beta_3) \cdot \text{Age}. The slope is β1+β3=2.5+(0.8)=1.7\beta_1 + \beta_3 = 2.5 + (-0.8) = 1.7. Choice B gives the slope for females only. Choice C incorrectly adds β1+β3\beta_1 + |\beta_3|. Choice D confuses the intercept adjustment with the slope.

Question 2

A clinical trial compares three treatment groups: placebo, low-dose drug, and high-dose drug. To include treatment in a regression model predicting pain scores, a researcher creates two indicator variables: X1X_1 (1 if low-dose, 0 otherwise) and X2X_2 (1 if high-dose, 0 otherwise). In the fitted model Pain=7.21.8X13.1X2Pain = 7.2 - 1.8X_1 - 3.1X_2, what is the predicted pain score for the placebo group?

  1. 2.3 points on the pain scale
  2. 5.4 points on the pain scale
  3. 7.2 points on the pain scale (correct answer)
  4. 9.0 points on the pain scale
  5. 4.1 points on the pain scale
Explanation: When analyzing regression models with categorical variables, you need to understand how indicator (dummy) variables work. The key insight is identifying which group serves as the reference category - the baseline against which all other groups are compared. In this model, you have three treatment groups but only two indicator variables: X1X_1 for low-dose and X2X_2 for high-dose. The placebo group isn't explicitly represented by an indicator variable, making it the reference category. For placebo patients, both X1=0X_1 = 0 and X2=0X_2 = 0. Substituting these values into the equation: Pain=7.21.8(0)3.1(0)=7.2Pain = 7.2 - 1.8(0) - 3.1(0) = 7.2. The predicted pain score for the placebo group is 7.2 points, making C correct. Looking at the wrong answers: A (2.3) represents a common error where students subtract both coefficients from the intercept (7.2 - 1.8 - 3.1 = 2.3), incorrectly assuming all terms apply to placebo. B (5.4) results from subtracting only one coefficient (either 7.2 - 1.8 = 5.4), suggesting confusion about which treatment the placebo represents. D (9.0) comes from adding one coefficient (7.2 + 1.8 = 9.0), reflecting a sign error or misunderstanding of how the model works. Remember this pattern: in regression with categorical variables, the reference category's predicted value always equals the intercept alone. All other coefficients represent differences from this baseline, so they drop out when the indicator variables equal zero.

Question 3

In analyzing hospital length of stay, a researcher includes patient type as a predictor with three categories: Emergency (E), Elective Surgery (S), and Routine (R). Using Routine as the reference category, the model is: Stay=3.5+2.1×Emergency+1.6×SurgeryStay = 3.5 + 2.1 \times Emergency + 1.6 \times Surgery. A patient in the Emergency category is expected to stay how many days longer than a Routine patient?

  1. 1.6 days longer than Routine patients
  2. 2.1 days longer than Routine patients (correct answer)
  3. 3.7 days longer than Routine patients
  4. 5.6 days longer than Routine patients
  5. 0.5 days longer than Routine patients
Explanation: When you encounter regression models with categorical predictors, you're seeing dummy variable encoding in action. The key insight is understanding what the coefficients represent when you have a reference category. In this model, "Routine" is the reference category, meaning it serves as the baseline for comparison. The equation Stay=3.5+2.1×Emergency+1.6×SurgeryStay = 3.5 + 2.1 \times Emergency + 1.6 \times Surgery uses dummy variables where Emergency = 1 for emergency patients (0 otherwise) and Surgery = 1 for elective surgery patients (0 otherwise). For a Routine patient: Emergency = 0 and Surgery = 0, so predicted stay = 3.5 + 2.1(0) + 1.6(0) = 3.5 days. For an Emergency patient: Emergency = 1 and Surgery = 0, so predicted stay = 3.5 + 2.1(1) + 1.6(0) = 5.6 days. The difference is 5.6 - 3.5 = 2.1 days longer for Emergency patients compared to Routine patients. This matches the coefficient directly—each coefficient in dummy variable regression represents the expected difference from the reference category. Answer A (1.6 days) confuses the Surgery coefficient with the Emergency coefficient. Answer C (3.7 days) incorrectly adds the intercept to the Emergency coefficient. Answer D (5.6 days) gives the absolute predicted stay for Emergency patients rather than the difference from Routine patients. Remember: in dummy variable regression, each coefficient tells you the expected difference from the reference category. You don't need to calculate both predicted values—the coefficient IS the difference you're looking for.

Question 4

A pharmaceutical company models drug efficacy using: Efficacy=65+12×DoseHigh+8×FemaleEfficacy = 65 + 12 \times DoseHigh + 8 \times Female, where DoseHigh = 1 for high dose (0 for standard dose) and Female = 1 for female patients (0 for male patients). For which patient group is the predicted efficacy exactly 77?

  1. Male patients receiving standard dose medication
  2. Female patients receiving standard dose medication
  3. Male patients receiving high dose medication (correct answer)
  4. Female patients receiving high dose medication
  5. No patient group has a predicted efficacy of exactly 77
Explanation: When you encounter a multiple regression equation in biostatistics, you're looking at a model that predicts an outcome based on multiple variables. This equation shows how drug efficacy changes based on dose level and patient gender, with each coefficient representing the additional effect of that variable. To find which group has an efficacy of exactly 77, you need to substitute the appropriate values into the equation for each patient type. Let's work through each option: For option A (male, standard dose): Efficacy=65+12(0)+8(0)=65Efficacy = 65 + 12(0) + 8(0) = 65. Males are coded as 0 for the Female variable, and standard dose means DoseHigh = 0. For option B (female, standard dose): Efficacy=65+12(0)+8(1)=73Efficacy = 65 + 12(0) + 8(1) = 73. Females get the +8 bonus, but no dose effect. For option C (male, high dose): Efficacy=65+12(1)+8(0)=77Efficacy = 65 + 12(1) + 8(0) = 77. Males get no gender effect, but the high dose adds 12 points to the baseline of 65. For option D (female, high dose): Efficacy=65+12(1)+8(1)=85Efficacy = 65 + 12(1) + 8(1) = 85. This group gets both the dose effect (+12) and gender effect (+8). Only option C yields exactly 77, making it correct. Study tip: In regression problems, always identify what each dummy variable represents (0 vs 1) and systematically substitute values. Don't try to solve these mentally—write out each calculation to avoid errors with the binary coding.

Question 5

A study of employee satisfaction uses job category as a predictor with four levels: Manager, Supervisor, Technician, and Clerk. Using 'Clerk' as the reference, three indicator variables are created. If the model is: Satisfaction=6.2+2.1×Manager+1.4×Supervisor+0.8×TechnicianSatisfaction = 6.2 + 2.1 \times Manager + 1.4 \times Supervisor + 0.8 \times Technician, what is the predicted satisfaction score for a Supervisor?

  1. 7.6 points on the satisfaction scale (correct answer)
  2. 1.4 points on the satisfaction scale
  3. 6.2 points on the satisfaction scale
  4. 9.9 points on the satisfaction scale
  5. 8.0 points on the satisfaction scale
Explanation: When you encounter categorical variables with multiple levels in regression, the key concept is dummy coding (also called indicator variables). Since regression requires numerical inputs, categorical variables like job titles must be converted into a series of binary (0/1) indicator variables, with one category serving as the reference group. In this model, 'Clerk' is the reference category, meaning when all three indicator variables (Manager, Supervisor, Technician) equal 0, you're predicting satisfaction for a Clerk. The intercept (6.2) represents the baseline satisfaction score for Clerks. For a Supervisor, the Manager and Technician indicators are 0, but the Supervisor indicator is 1. Substituting into the equation: Satisfaction=6.2+2.1(0)+1.4(1)+0.8(0)=6.2+1.4=7.6Satisfaction = 6.2 + 2.1(0) + 1.4(1) + 0.8(0) = 6.2 + 1.4 = 7.6 Looking at the wrong answers: B) 1.4 represents only the coefficient for Supervisor, ignoring the intercept entirely—this is the difference from the reference group, not the actual predicted value. C) 6.2 is just the intercept, which would be the prediction if you forgot to add the Supervisor effect. D) 9.9 would result from incorrectly adding all coefficients together, misunderstanding that only one job category applies to each person. Study tip: In dummy coding problems, always identify the reference group first, then "turn on" only the indicator variable that matches your case. The predicted value always includes the intercept plus the relevant coefficient(s)—never just the coefficient alone.

Question 6

A researcher studying income uses education level with four categories: High School, Bachelor's, Master's, and PhD. The reference category is High School. In the regression Income=35000+15000×Bachelor+28000×Master+45000×PhDIncome = 35000 + 15000 \times Bachelor + 28000 \times Master + 45000 \times PhD, what is the predicted income difference between someone with a Master's degree and someone with a Bachelor's degree?

  1. Master's degree holders earn $13,000 more than Bachelor's degree holders (correct answer)
  2. Master's degree holders earn $28,000 more than Bachelor's degree holders
  3. Bachelor's degree holders earn $15,000 more than Master's degree holders
  4. Master's degree holders earn $43,000 more than Bachelor's degree holders
  5. Master's degree holders earn $17,000 more than Bachelor's degree holders
Explanation: When you encounter a categorical regression with dummy variables, remember that each coefficient represents the difference from the reference category, not the absolute income level. Here, High School is the reference, so each coefficient shows how much more that education level earns compared to High School graduates. To find the difference between Master's and Bachelor's degree holders, you need to calculate the difference between their respective coefficients. A Master's degree holder earns 35000+28000=6300035000 + 28000 = 63000 while a Bachelor's degree holder earns 35000+15000=5000035000 + 15000 = 50000. The difference is 6300050000=1300063000 - 50000 = 13000, meaning Master's degree holders earn $13,000 more than Bachelor's degree holders. Looking at the wrong answers: Answer B (28,000)incorrectlyusestheMasterscoefficientdirectly,forgettingthatthisrepresentsthedifferencefromHighSchool,notfromBachelors.AnswerCreversestherelationshipentirely,claimingBachelorsholdersearnmorethanMastersholders,whichcontradictsthepositivecoefficientsshowingincomeincreaseswitheducationlevel.AnswerD(28,000) incorrectly uses the Master's coefficient directly, forgetting that this represents the difference from High School, not from Bachelor's. Answer C reverses the relationship entirely, claiming Bachelor's holders earn more than Master's holders, which contradicts the positive coefficients showing income increases with education level. Answer D (43,000) appears to add the Bachelor's and Master's coefficients together, which has no meaningful interpretation in this context. The key insight is that dummy variable coefficients are always relative to the reference category. To compare any two non-reference categories, subtract their coefficients from each other. This pattern appears frequently in biostatistics when analyzing treatment effects, demographic differences, or any categorical predictor with multiple levels.

Question 7

In analyzing hospital readmission risk, a logistic regression model includes: log(p1p)=2.1+0.8×Comorbidity+1.2×Emergency\log\left(\frac{p}{1-p}\right) = -2.1 + 0.8 \times Comorbidity + 1.2 \times Emergency, where Comorbidity = 1 for patients with comorbidities (0 otherwise) and Emergency = 1 for emergency admissions (0 for elective). For a patient with comorbidities admitted through emergency, what is the log-odds of readmission?

  1. -2.1 is the log-odds of readmission
  2. 0.8 is the log-odds of readmission
  3. 1.2 is the log-odds of readmission
  4. -0.1 is the log-odds of readmission (correct answer)
  5. 2.0 is the log-odds of readmission
Explanation: When you encounter a logistic regression equation, you're looking at a model that predicts the log-odds (logit) of an outcome occurring. The key insight is that you need to substitute the actual values of your predictor variables into the equation to calculate the log-odds for a specific scenario. For a patient with comorbidities admitted through emergency, both predictor variables equal 1: Comorbidity = 1 and Emergency = 1. Substituting these values into the equation: log(p1p)=2.1+0.8(1)+1.2(1)=2.1+0.8+1.2=0.1\log\left(\frac{p}{1-p}\right) = -2.1 + 0.8(1) + 1.2(1) = -2.1 + 0.8 + 1.2 = -0.1 Therefore, the log-odds of readmission is -0.1, making D correct. The wrong answers represent common misconceptions about logistic regression interpretation. A (-2.1) incorrectly assumes the intercept alone represents the log-odds for this patient, but the intercept only applies when all predictor variables equal zero (a patient with no comorbidities and elective admission). B (0.8) confuses the coefficient for comorbidities with the actual log-odds calculation. C (1.2) makes the same error with the emergency admission coefficient. These coefficients represent the change in log-odds associated with each variable, not the final log-odds themselves. Remember: in logistic regression, always substitute your specific variable values into the complete equation. The intercept represents the baseline log-odds when all predictors equal zero, while coefficients show how much the log-odds change when each predictor increases by one unit.

Question 8

A study of reaction time uses: Time=250+45×Caffeine20×Young+15×MaleTime = 250 + 45 \times Caffeine - 20 \times Young + 15 \times Male, where Caffeine = 1 for participants who consumed caffeine (0 otherwise), Young = 1 for participants under 30 (0 for 30+), and Male = 1 for male participants (0 for female). What is the predicted reaction time for a young female who consumed caffeine?

  1. 275 milliseconds reaction time (correct answer)
  2. 290 milliseconds reaction time
  3. 310 milliseconds reaction time
  4. 230 milliseconds reaction time
  5. 185 milliseconds reaction time
Explanation: When you encounter a multiple linear regression equation, you're working with a mathematical model that predicts an outcome based on several variables. Each coefficient tells you how much the outcome changes when that variable equals 1 (compared to 0), holding all other variables constant. To find the predicted reaction time for a young female who consumed caffeine, substitute the appropriate values into the equation. For this participant: Caffeine = 1 (consumed caffeine), Young = 1 (under 30), and Male = 0 (female). Time=250+45(1)20(1)+15(0)Time = 250 + 45(1) - 20(1) + 15(0) Time=250+4520+0=275Time = 250 + 45 - 20 + 0 = 275 The predicted reaction time is 275 milliseconds, making A correct. Looking at the wrong answers: B (290) might result from incorrectly adding all coefficients without considering the negative sign on Young or forgetting that Male = 0. C (310) could come from setting Male = 1 instead of 0, or adding all positive coefficients. D (230) might result from subtracting both the Young and Caffeine coefficients instead of recognizing that caffeine increases reaction time. The key insight is that caffeine increases reaction time by 45ms, being young decreases it by 20ms, and being female contributes 0 to the baseline. The net effect is +25ms above the 250ms baseline. Study tip: Always carefully identify which variables equal 1 versus 0 for your specific case, and pay attention to positive versus negative coefficients—they tell you whether each factor increases or decreases the outcome.

Question 9

A psychological study examines stress levels using region as a predictor. With 'Rural' as the reference category, the model is: Stress=35+12×Urban+8×SuburbanStress = 35 + 12 \times Urban + 8 \times Suburban. If a researcher wants to change the reference category to 'Urban', what would be the new coefficient for the Rural indicator variable in the equivalent model?

  1. The new coefficient for Rural would be +12
  2. The new coefficient for Rural would be -12 (correct answer)
  3. The new coefficient for Rural would be +8
  4. The new coefficient for Rural would be -4
  5. The new coefficient for Rural would be 0
Explanation: When you encounter regression models with categorical predictors, understanding reference categories is crucial. The reference category serves as the baseline against which all other categories are compared. In the original model Stress=35+12×Urban+8×SuburbanStress = 35 + 12 \times Urban + 8 \times Suburban, Rural is the reference category. This means:
  • Rural residents have stress level = 35 (baseline)
  • Urban residents have stress level = 35 + 12 = 47
  • Suburban residents have stress level = 35 + 8 = 43
When you change the reference category to Urban, Urban becomes the new baseline (coefficient = 0). To find the new Rural coefficient, you need to determine how Rural compares to Urban. Since Rural residents have stress level 35 and Urban residents have stress level 47, Rural residents have 12 points lower stress than Urban residents. Therefore, the Rural coefficient becomes -12. You can verify this: New model would be Stress=4712×Rural+(4)×SuburbanStress = 47 - 12 \times Rural + (-4) \times Suburban, giving the same predicted values. Answer choice A (+12) incorrectly assumes you simply flip the sign without considering the direction of comparison. Choice C (+8) confuses the Rural coefficient with the original Suburban coefficient. Choice D (-4) represents the difference between Suburban and Urban (43 - 47 = -4), which would be the new Suburban coefficient, not Rural. Remember: when changing reference categories in regression, coefficients represent the difference from the new baseline. Always think about the direction of that difference.

Question 10

A sleep study models hours of sleep using: Sleep=7.50.8×Shift+0.3×WeekendSleep = 7.5 - 0.8 \times Shift + 0.3 \times Weekend, where Shift = 1 for night shift workers (0 for day shift) and Weekend = 1 for weekend days (0 for weekdays). On weekdays, what is the predicted difference in sleep hours between day shift and night shift workers?

  1. Day shift workers sleep 0.8 hours more than night shift workers on weekdays (correct answer)
  2. Night shift workers sleep 0.8 hours more than day shift workers on weekdays
  3. Day shift workers sleep 0.3 hours more than night shift workers on weekdays
  4. Day shift workers sleep 1.1 hours more than night shift workers on weekdays
  5. There is no difference between day and night shift workers on weekdays
Explanation: When you encounter linear regression equations with categorical variables, focus on how the coefficients represent differences between groups. This equation uses dummy variables where Shift = 1 for night workers and Weekend = 1 for weekends. To find the weekday difference between day and night shift workers, substitute the relevant values. For weekdays, Weekend = 0 for both groups. Day shift workers (Shift = 0): Sleep=7.50.8(0)+0.3(0)=7.5Sleep = 7.5 - 0.8(0) + 0.3(0) = 7.5 hours Night shift workers (Shift = 1): Sleep=7.50.8(1)+0.3(0)=6.7Sleep = 7.5 - 0.8(1) + 0.3(0) = 6.7 hours The difference is 7.5 - 6.7 = 0.8 hours, with day shift workers sleeping more. Choice A correctly identifies that day shift workers sleep 0.8 hours more than night shift workers on weekdays. Choice B incorrectly reverses the direction—the negative coefficient for Shift means night workers sleep less, not more. Choice C confuses the Shift coefficient (-0.8) with the Weekend coefficient (0.3), mixing up which variable affects the comparison. Choice D appears to add the absolute values of both coefficients (0.8 + 0.3 = 1.1), but the Weekend variable doesn't apply to weekday comparisons. Remember that in regression with dummy variables, the coefficient directly tells you the difference between groups. A negative coefficient means the group coded as 1 has lower values than the reference group (coded as 0). Always pay attention to the sign and magnitude of coefficients when interpreting group differences.

Question 11

A medical device study models patient compliance using: Compliance=70+15×HighTech10×ElderlyCompliance = 70 + 15 \times HighTech - 10 \times Elderly, where HighTech = 1 for high-tech devices (0 for standard) and Elderly = 1 for patients over 70 (0 otherwise). The interaction between device type and age is not included in the model. What assumption does this model make about the effect of device type across age groups?

  1. High-tech devices improve compliance more for elderly patients than younger patients
  2. High-tech devices improve compliance equally for both elderly and younger patients (correct answer)
  3. High-tech devices improve compliance more for younger patients than elderly patients
  4. High-tech devices have no effect on compliance for either age group
  5. The effect of high-tech devices depends entirely on the patient's specific age in years
Explanation: When you encounter a linear regression model without interaction terms, the key concept being tested is how variables behave independently across different groups. In this compliance model, the absence of an interaction term between HighTech and Elderly creates a specific assumption about how device type affects different age groups. Let's examine what this model predicts. For younger patients with standard devices: Compliance = 70 + 15(0) - 10(0) = 70. For younger patients with high-tech devices: Compliance = 70 + 15(1) - 10(0) = 85. The improvement is 15 points. For elderly patients with standard devices: Compliance = 70 + 15(0) - 10(1) = 60. For elderly patients with high-tech devices: Compliance = 70 + 15(1) - 10(1) = 75. Again, the improvement is exactly 15 points. This demonstrates that answer B is correct – high-tech devices improve compliance equally (by 15 points) for both age groups. Answer A is wrong because the model shows identical improvements, not greater benefits for elderly patients. Answer C is incorrect because younger patients don't receive greater benefits – the 15-point improvement is constant. Answer D misses that high-tech devices do improve compliance for both groups, just by the same amount. The model assumes "additive effects" – each variable contributes independently without the effect of one variable changing based on the level of another. Remember: when you see a regression model without interaction terms, the effect of each predictor remains constant across all levels of other predictors.

Question 12

A clinical study models blood glucose levels using: Glucose=95+25×Diabetic+8×AgeGlucose = 95 + 25 \times Diabetic + 8 \times Age, where Diabetic = 1 for diabetic patients (0 for non-diabetic) and Age is measured in years. Two patients are both 50 years old, but one is diabetic and one is non-diabetic. What is the predicted glucose level for the diabetic patient?

  1. 495 mg/dL blood glucose level
  2. 520 mg/dL blood glucose level (correct answer)
  3. 170 mg/dL blood glucose level
  4. 145 mg/dL blood glucose level
  5. 120 mg/dL blood glucose level
Explanation: When you encounter a linear regression equation in biostatistics, you're looking at a mathematical model that predicts an outcome based on input variables. This equation shows how blood glucose levels depend on diabetes status and age. To find the predicted glucose level for the diabetic patient, substitute the values into the equation: Glucose=95+25×Diabetic+8×AgeGlucose = 95 + 25 \times Diabetic + 8 \times Age. For a 50-year-old diabetic patient, Diabetic = 1 and Age = 50, so: Glucose=95+25(1)+8(50)=95+25+400=520Glucose = 95 + 25(1) + 8(50) = 95 + 25 + 400 = 520 mg/dL. Looking at the wrong answers: A) 495 mg/dL likely comes from forgetting to add the baseline intercept of 95, calculating only 25+8(50)=42525 + 8(50) = 425, then making an arithmetic error. C) 170 mg/dL represents a calculation where you might have used Age = 50 but forgotten the diabetes coefficient, getting 95+8(50)=49595 + 8(50) = 495, then making another error. D) 145 mg/dL could result from incorrectly calculating 95+25+8(50/10)95 + 25 + 8(50/10) or similar computational mistakes with the age coefficient. The key study tip for regression problems: always substitute values carefully and follow the order of operations. Write out each step explicitly rather than trying to do mental math, especially with multiple coefficients. Remember that each coefficient tells you how much the outcome changes per unit increase in that variable, holding other variables constant.

Question 13

A researcher studying depression scores creates indicator variables for marital status. With 'Single' as the reference category, the model includes: Married (M = 1 if married, 0 otherwise) and Divorced (D = 1 if divorced, 0 otherwise). The fitted equation is: Depression=15.24.1M+2.8DDepression = 15.2 - 4.1M + 2.8D. Which group has the highest predicted depression score?

  1. Single individuals have the highest predicted depression scores
  2. Married individuals have the highest predicted depression scores
  3. Divorced individuals have the highest predicted depression scores (correct answer)
  4. Married and divorced individuals have equally high depression scores
  5. Cannot be determined without additional information about sample sizes
Explanation: When you encounter regression equations with indicator variables, you're working with categorical predictors that compare each group to a reference category. Here, marital status is broken into indicator variables with "Single" as the baseline. To find predicted depression scores, substitute the appropriate values into the equation Depression=15.24.1M+2.8DDepression = 15.2 - 4.1M + 2.8D. For single individuals, both M and D equal 0, giving: 15.24.1(0)+2.8(0)=15.215.2 - 4.1(0) + 2.8(0) = 15.2. For married individuals, M = 1 and D = 0: 15.24.1(1)+2.8(0)=11.115.2 - 4.1(1) + 2.8(0) = 11.1. For divorced individuals, M = 0 and D = 1: 15.24.1(0)+2.8(1)=18.015.2 - 4.1(0) + 2.8(1) = 18.0. Divorced individuals have the highest predicted depression score at 18.0, making C correct. Option A is wrong because single individuals score 15.2, which is lower than divorced individuals' 18.0. Option B is incorrect since married individuals have the lowest score at 11.1 (the negative coefficient -4.1 reduces their depression score relative to singles). Option D is false because married and divorced groups have very different scores (11.1 vs 18.0). Remember this pattern: in regression with indicator variables, the reference group's predicted value equals the intercept. Other groups' values are the intercept plus their coefficient. Negative coefficients mean that group scores lower than the reference; positive coefficients mean higher scores. Always calculate each group's predicted value to compare them directly.

Question 14

A researcher is studying the relationship between systolic blood pressure (SBP) and age, with gender as a categorical predictor. The regression model is: SBP=90+1.2×Age+8×GenderSBP = 90 + 1.2 \times Age + 8 \times Gender, where Gender = 1 for males and Gender = 0 for females. What is the predicted difference in systolic blood pressure between a 45-year-old male and a 45-year-old female?

  1. 8 mmHg higher for males (correct answer)
  2. 8 mmHg higher for females
  3. 1.2 mmHg higher for males
  4. 9.2 mmHg higher for males
  5. No difference between genders
Explanation: When you encounter a multiple linear regression model with categorical variables, you're analyzing how different groups compare while controlling for other factors. Here, the model separates the effects of age and gender on blood pressure. To find the difference between a 45-year-old male and female, calculate each prediction separately. For the male (Gender = 1): SBP=90+1.2(45)+8(1)=90+54+8=152SBP = 90 + 1.2(45) + 8(1) = 90 + 54 + 8 = 152 mmHg. For the female (Gender = 0): SBP=90+1.2(45)+8(0)=90+54+0=144SBP = 90 + 1.2(45) + 8(0) = 90 + 54 + 0 = 144 mmHg. The difference is 152 - 144 = 8 mmHg higher for males. Actually, there's a shortcut: since both individuals are the same age, the age term cancels out when comparing them. The only difference comes from the gender coefficient, which is 8 mmHg. Answer A correctly identifies this 8 mmHg difference favoring males. Answer B gets the magnitude right but reverses the direction—males have higher predicted blood pressure, not females. Answer C confuses the gender coefficient (8) with the age coefficient (1.2), showing a misunderstanding of which variable creates the difference. Answer D incorrectly adds the age and gender coefficients (1.2 + 8 = 9.2), failing to recognize that age effects are identical for both individuals. Remember: when comparing groups in regression models, only the coefficients of variables that differ between groups contribute to the predicted difference. Identical values for other variables cancel out in the comparison.

Question 15

A study of academic performance models GPA using: GPA=2.8+0.6×Honors+0.2×TutoringGPA = 2.8 + 0.6 \times Honors + 0.2 \times Tutoring, where Honors = 1 for honors program students (0 otherwise) and Tutoring = 1 for students receiving tutoring (0 otherwise). A student not in the honors program and not receiving tutoring has a predicted GPA that differs from the model's intercept by how much?

  1. The predicted GPA differs from the intercept by 0.6 points
  2. The predicted GPA differs from the intercept by 0.2 points
  3. The predicted GPA differs from the intercept by 0.8 points
  4. The predicted GPA differs from the intercept by 0.0 points (correct answer)
  5. The predicted GPA differs from the intercept by 2.8 points
Explanation: When you encounter linear regression equations with binary predictor variables, remember that the intercept represents the predicted outcome when all predictor variables equal zero. Let's substitute the values for a student not in honors and not receiving tutoring into the equation. For this student, Honors = 0 and Tutoring = 0: GPA=2.8+0.6(0)+0.2(0)=2.8+0+0=2.8GPA = 2.8 + 0.6(0) + 0.2(0) = 2.8 + 0 + 0 = 2.8 The intercept in this model is 2.8, which is the constant term. Since the predicted GPA for this student is exactly 2.8, the difference between the predicted GPA and the intercept is 2.8 - 2.8 = 0. Choice D is correct because there's no difference between the predicted value and the intercept. Choice A incorrectly suggests the difference is 0.6 points, which is actually the coefficient for the Honors variable—but this student isn't in honors, so this doesn't apply. Choice B makes the same error with the Tutoring coefficient (0.2), assuming it affects students not receiving tutoring. Choice C adds both coefficients (0.6 + 0.2 = 0.8), wrongly thinking both predictors influence the baseline prediction even when they're absent. Study tip: In regression with binary variables, the intercept is the predicted outcome for the reference group (when all binary predictors = 0). The coefficients show how much the prediction changes when moving from the reference group to each comparison group, not the absolute predicted values themselves.

Question 16

A nutrition study models daily caloric intake using: Calories=1800+300×Male+150×ActiveCalories = 1800 + 300 \times Male + 150 \times Active, where Male = 1 for male participants (0 for female) and Active = 1 for physically active individuals (0 for sedentary). Among active individuals, what is the predicted difference in daily caloric intake between males and females?

  1. Males consume 300 more calories than females among active individuals (correct answer)
  2. Males consume 150 more calories than females among active individuals
  3. Males consume 450 more calories than females among active individuals
  4. Males consume 2250 more calories than females among active individuals
  5. There is no predicted difference between males and females when both are active
Explanation: When you encounter a linear regression equation with multiple predictors, focus on how each coefficient represents the change in the outcome when that specific variable increases by 1 unit, holding all other variables constant. To find the difference between males and females among active individuals, you need to compare their predicted caloric intake when Active = 1 for both groups. For active males: Calories=1800+300(1)+150(1)=2250Calories = 1800 + 300(1) + 150(1) = 2250. For active females: Calories=1800+300(0)+150(1)=1950Calories = 1800 + 300(0) + 150(1) = 1950. The difference is 2250 - 1950 = 300 calories, with males consuming more. Looking at the answer choices: A is correct because it accurately reflects this 300-calorie difference among active individuals. B incorrectly suggests the difference is 150 calories, which is actually the coefficient for the Active variable - this would be the difference between active and sedentary individuals within the same gender. C combines both coefficients (300 + 150 = 450), but this incorrectly assumes you add the effects rather than comparing specific groups. D uses the absolute caloric intake for active males (2250) rather than the difference between groups. The key insight is that the coefficient for Male (300) directly tells you the gender difference in calories, regardless of activity level. This is because linear regression assumes additive effects - the 300-calorie gender difference remains constant whether comparing active or sedentary individuals. Always interpret coefficients as the isolated effect of that variable while holding others constant.

Question 17

A study of academic performance uses the model: GPA=2.1+0.3×StudyHours+0.4×PrivateGPA = 2.1 + 0.3 \times StudyHours + 0.4 \times Private, where Private = 1 for private school students and Private = 0 for public school students. If a private school student and a public school student both study 10 hours per week, what is the ratio of their predicted GPAs?

  1. The private school student's GPA is 1.19 times the public school student's GPA
  2. The private school student's GPA is 1.15 times the public school student's GPA
  3. The private school student's GPA is 0.4 times the public school student's GPA
  4. The private school student's GPA is 1.40 times the public school student's GPA
  5. The private school student's GPA is 1.08 times the public school student's GPA (correct answer)
Explanation: When you encounter a linear regression model with dummy variables, you need to substitute the specific values and calculate the predicted outcomes for each group being compared. Let's calculate the predicted GPA for each student with 10 study hours per week. For the public school student (Private = 0): GPApublic=2.1+0.3(10)+0.4(0)=2.1+3.0+0=5.1GPA_{public} = 2.1 + 0.3(10) + 0.4(0) = 2.1 + 3.0 + 0 = 5.1 For the private school student (Private = 1): GPAprivate=2.1+0.3(10)+0.4(1)=2.1+3.0+0.4=5.5GPA_{private} = 2.1 + 0.3(10) + 0.4(1) = 2.1 + 3.0 + 0.4 = 5.5 The ratio of their predicted GPAs is: 5.55.1=1.078\frac{5.5}{5.1} = 1.078 Since this ratio (approximately 1.08) doesn't match any of the given options A through D, the correct answer must be E (not shown but implied as "none of the above"). Looking at why each option is wrong: Option A (1.19) is too high and likely results from miscalculating the baseline or study hours effect. Option B (1.15) is closer but still overestimates the ratio. Option C (0.4) incorrectly suggests the public school student has a higher GPA, possibly confusing the coefficient with the actual ratio. Option D (1.40) drastically overestimates the difference, perhaps by misunderstanding how dummy variables work. Remember that with dummy variables, the coefficient (0.4 here) represents the additive difference between groups, not a multiplicative effect. Always calculate the full predicted values before computing ratios, and don't assume the coefficient itself is the ratio you're looking for.

Question 18

In a study examining factors affecting cholesterol levels, researchers use the model: Cholesterol=β0+β1×Exercise+β2×DietCholesterol = \beta_0 + \beta_1 \times Exercise + \beta_2 \times Diet. Exercise is coded as 1 for regular exercisers and 0 for non-exercisers. Diet is coded as 1 for vegetarian and 0 for non-vegetarian. If β1=15\beta_1 = -15 and β2=22\beta_2 = -22, what does the coefficient β1\beta_1 represent?

  1. The cholesterol level for regular exercisers compared to the baseline group
  2. The difference in cholesterol between exercisers and non-exercisers, holding diet constant (correct answer)
  3. The cholesterol level for non-exercisers when diet is held constant at zero
  4. The combined effect of exercise and diet on cholesterol levels simultaneously
  5. The percentage change in cholesterol for each unit increase in exercise frequency
Explanation: When interpreting coefficients in multiple linear regression, each coefficient represents the change in the outcome variable for a one-unit increase in that predictor, while holding all other variables in the model constant. This "holding constant" concept is crucial for understanding what each coefficient actually means. The coefficient β1=15\beta_1 = -15 tells you that cholesterol levels decrease by 15 units when Exercise changes from 0 (non-exerciser) to 1 (regular exerciser), assuming Diet stays the same. This is exactly what option B describes - the difference in cholesterol between the two exercise groups, controlling for diet. Option A is incorrect because β1\beta_1 doesn't give you the actual cholesterol level for exercisers; it gives you the difference between groups. The actual level would require adding β0\beta_0 and potentially β2\beta_2 depending on diet status. Option C confuses β1\beta_1 with β0\beta_0. The intercept β0\beta_0 represents the cholesterol level when all predictors equal zero (non-exerciser, non-vegetarian), not β1\beta_1. Option D describes an interaction effect, which would require a third term like β3×Exercise×Diet\beta_3 \times Exercise \times Diet in the model. Individual coefficients in additive models show independent effects, not combined effects. Remember: In multiple regression, each coefficient isolates the effect of one variable by "controlling for" or "holding constant" all others in the model. This allows you to estimate the independent contribution of each predictor to the outcome.

Question 19

In a medical study, treatment response is modeled as: Response=45+15×NewDrug8×ElderlyResponse = 45 + 15 \times NewDrug - 8 \times Elderly, where NewDrug = 1 for patients receiving the new drug (0 for standard treatment) and Elderly = 1 for patients over 65 (0 for patients 65 and under). What is the expected treatment response for an elderly patient receiving the new drug?

  1. 52 units of treatment response (correct answer)
  2. 60 units of treatment response
  3. 37 units of treatment response
  4. 45 units of treatment response
  5. 68 units of treatment response
Explanation: When you encounter a linear regression equation in biostatistics, you're looking at a mathematical model that predicts an outcome based on specific input variables. Each coefficient tells you how much the response changes when that variable increases by one unit, holding other variables constant. To find the expected response for an elderly patient receiving the new drug, substitute the appropriate values into the equation. For this patient: NewDrug = 1 (receiving new drug) and Elderly = 1 (over 65 years old). Response=45+15(1)8(1)=45+158=52Response = 45 + 15(1) - 8(1) = 45 + 15 - 8 = 52 The calculation shows that answer A (52 units) is correct. Let's examine why the other answers are wrong. Answer B (60 units) represents what you'd get if you incorrectly added both coefficients: 45 + 15 + 8 = 68, or perhaps forgot the negative sign entirely. Answer C (37 units) would result from subtracting both the drug effect and elderly effect: 45 - 15 + 8 = 38, suggesting confusion about which coefficients are positive versus negative. Answer D (45 units) is simply the baseline response when both NewDrug = 0 and Elderly = 0, ignoring the patient's actual characteristics entirely. Remember to pay careful attention to the signs of coefficients in regression equations. A negative coefficient (like -8 for Elderly) means that variable decreases the outcome, while a positive coefficient increases it. Always substitute the correct binary values (0 or 1) based on whether each condition applies to your specific case.

Question 20

In a regression model predicting weekly healthcare costs, insurance type is coded using two indicator variables: I1I_1 for HMO (1 if HMO, 0 otherwise) and I2I_2 for PPO (1 if PPO, 0 otherwise). The reference category is 'Uninsured'. The model is: Cost=450120I185I2Cost = 450 - 120I_1 - 85I_2. What is the predicted cost difference between HMO and PPO patients?

  1. HMO patients cost $35 less than PPO patients (correct answer)
  2. HMO patients cost $120 less than PPO patients
  3. PPO patients cost $85 less than HMO patients
  4. HMO patients cost $205 less than PPO patients
  5. PPO patients cost $35 less than HMO patients
Explanation: When you encounter indicator variables in regression, remember that each coefficient represents the difference between that group and the reference category. Here, you need to find the difference between two non-reference groups. To find the predicted cost difference between HMO and PPO patients, you must compare their individual predictions relative to the reference group (Uninsured). For HMO patients: I1=1,I2=0I_1 = 1, I_2 = 0, so predicted cost = 450120(1)85(0)=330450 - 120(1) - 85(0) = 330. For PPO patients: I1=0,I2=1I_1 = 0, I_2 = 1, so predicted cost = 450120(0)85(1)=365450 - 120(0) - 85(1) = 365. The difference is 330365=35330 - 365 = -35, meaning HMO patients cost $35 less than PPO patients. Option A correctly identifies this $35 difference with HMO being lower. Option B incorrectly uses the HMO coefficient (-120) directly, but this represents the difference between HMO and Uninsured, not HMO and PPO. Option C makes the same error as B but assigns the wrong direction, using the PPO coefficient (-85) and incorrectly stating PPO costs less. Option D adds the absolute values of both coefficients (120 + 85 = 205), which has no meaningful interpretation in this context. The key insight is that when comparing two non-reference groups in regression with indicator variables, you must calculate each group's predicted value separately, then find their difference. Don't confuse individual coefficients with between-group comparisons that don't involve the reference category.