Professional Documents
Culture Documents
1. A fitted model with more predictors will generally have a lower Training Set Error than a
model with fewer predictors. True or False.
2. In a linear regression with several variables, if the F statistic is significant, all of the predictors
have statistically significant effects. True or False.
3. Test set error computed from 5-fold cross validation can be used to select best model. True
or False.
4. R2 statistic measures the proportion of variability in response that can be explained using
predictors. True or False.
5. Training set RSS and training set R2 cannot be used to select from a set of models with
different numbers of predictors. True or False.
6. Name one algorithm used to perform simple linear regression. What is the quantity optimized?
7. What are the two main goals of data-driven modeling?
8. Name one approach for estimating test set error. Explain the approach in 2-3 sentences.
9. Answer the questions based on what is provided in the given box. Consider a statistical
significance level of 0.05 for this problem.
mdl =
Estimated Coefficients:
Estimate SE tStat pValue
________ ________ _______ ________
1
BIOE 340: Modeling and Simulation in Bioengineering
Review for Midterm
c) Describe the null hypotheses, which the p-value for Weight corresponds to.
d) Which predictors appear to have a statistically significant relationship to the
response? Justify your answer.
10. Hasan works for a pharmaceutical company and conducted a study to assess the efficacy and
potency of a group of drugs before allowing the agents to proceed to clinical trials. Taking the
Hill coefficient as 1, he fitted a Hill model. Figure given below shows the normalized dose-
response curves he fitted for four different drugs from the same class of medications (Drugs
A, B, C, & D).
% The data
>> dose=[1;10;60;100;200;540;600;850;1000]; % (mg/kg)
>> response_A=[8;43;70;74;77;78;79;79;85]; % (% response)
>> response_B=[9;49;84;89;93;95;96;96;98]; % (% response)
% Define the Hill function
>> fitHillModel=@(b,x) b(1).*x./(b(2)+x);
2
BIOE 340: Modeling and Simulation in Bioengineering
Review for Midterm
>> init_A=[max(response_A);median(dose)];
>> init_B=[max(response_B);median(dose)];
mdl_1 =
81.0451
9.0467
>> mdl_2=lsqcurvefit(fitHillModel,init_B,dose,response_B);
>> mdl_2
mdl_2 =
97.6532
9.8931
a) Write the form of the Hill Equation he used. State the variables and the parameters the equation
based on.
b) What are the values for the Hill slope (𝛼), 𝐸!"# and 𝐸𝐶$% for each drug?
c) Compare the drugs based on their efficacy and potency. Which one would you prefer? Explain.