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.
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+β1⋅Age+β2⋅IMale+β3⋅Age⋅IMale. If β1=2.5, β2=15, and β3=−0.8, what is the slope of the age-cholesterol relationship for males?
Biostatistics Quiz
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.
This quiz focuses on Indicator Variables, giving you a quick way to practice the rules, question types, and explanations that matter most for Biostatistics.
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.
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+β1⋅Age+β2⋅IMale+β3⋅Age⋅IMale. If β1=2.5, β2=15, and β3=−0.8, what is the slope of the age-cholesterol relationship for males?
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: X1 (1 if low-dose, 0 otherwise) and X2 (1 if high-dose, 0 otherwise). In the fitted model Pain=7.2−1.8X1−3.1X2, what is the predicted pain score for the placebo group?
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×Surgery. A patient in the Emergency category is expected to stay how many days longer than a Routine patient?
A pharmaceutical company models drug efficacy using: Efficacy=65+12×DoseHigh+8×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?
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×Technician, what is the predicted satisfaction score for a Supervisor?
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×PhD, what is the predicted income difference between someone with a Master's degree and someone with a Bachelor's degree?
In analyzing hospital readmission risk, a logistic regression model includes: log(1−pp)=−2.1+0.8×Comorbidity+1.2×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?
A study of reaction time uses: Time=250+45×Caffeine−20×Young+15×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?
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×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?
A sleep study models hours of sleep using: Sleep=7.5−0.8×Shift+0.3×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?
A medical device study models patient compliance using: Compliance=70+15×HighTech−10×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?
A clinical study models blood glucose levels using: Glucose=95+25×Diabetic+8×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?
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.2−4.1M+2.8D. Which group has the highest predicted depression score?
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×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?
A study of academic performance models GPA using: GPA=2.8+0.6×Honors+0.2×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?
A nutrition study models daily caloric intake using: Calories=1800+300×Male+150×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?
A study of academic performance uses the model: GPA=2.1+0.3×StudyHours+0.4×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?
In a study examining factors affecting cholesterol levels, researchers use the model: Cholesterol=β0+β1×Exercise+β2×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 and β2=−22, what does the coefficient β1 represent?
In a medical study, treatment response is modeled as: Response=45+15×NewDrug−8×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?
In a regression model predicting weekly healthcare costs, insurance type is coded using two indicator variables: I1 for HMO (1 if HMO, 0 otherwise) and I2 for PPO (1 if PPO, 0 otherwise). The reference category is 'Uninsured'. The model is: Cost=450−120I1−85I2. What is the predicted cost difference between HMO and PPO patients?