Professional Documents
Culture Documents
1. A fitted model with more predictors will generally have a lower Training Set Error than a
Error
# Predictors
2. In a linear regression with several variables, if the F statistic is significant, all of the predictors
3. Test set error computed from 5-fold cross validation can be used to select best model. True
4. R2 statistic measures the proportion of variability in response that can be explained using
5. Training set RSS and training set R2 cannot be used to select from a set of models with
6. Name one algorithm used to perform simple linear regression. What is the quantity optimized?
8. Name one approach for estimating test set error. Explain the approach in 2-3 sentences.
Live one out cross , validation set approach(do multipule times) randomly devide training set.how it
works.
9. Answer the questions based on what is provided in the given box. Consider a statistical
Efficacy: maximum effect that a drug can produce regardless of dose. (ALL DUGS HAVE EQUAL
EFFİCACY)
Potency: amount of a drug that is needed to produce a given effect (e.g, for instance EC50). (LOW
CONSENTRATİON İS GOOD)
potency of 2 drugs before allowing the agents (Agent A and Agent B) to proceed to clinical
trials. He performed a preliminary experiment to get an overall idea and obtained some data.
He decided to model the dose-response relationship using a Hill Model in MATLAB (see
below). Alfa = 1
% The data B is parameter
>> dose=[1;10;60;100;200;540;600;850;1000]; % (mg/kg) X is concentration
>> response_A=[8;43;70;74;77;78;79;79;85]; % (% response) E = Emax C / EC50 +C
>> response_B=[9;49;84;89;93;95;96;96;98]; % (% response) b = [Emax
% Define the Hill function x is the concentration EC50]
>> fitHillModel=@(b,x) b(1).*x./(b(2)+x); Answer for a
% Define initial values
>> init_A=[max(response_A);median(dose)];
>> init_B=[max(response_B);median(dose)];
>> mdl_1=lsqcurvefit(fitHillModel,init_A,dose,response_A);
>> mdl_1
81.0451
9.0467 EC50
>> mdl_2=lsqcurvefit(fitHillModel,init_B,dose,response_B);
>> mdl_2
mdl_2 =
97.6532 Emax
9.8931 EC50
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 (α), Emax and EC50 for each drug?
c) Compare the drugs based on their efficacy and potency. Which one would you prefer? Explain
for potency we check EC50. high potency means low EC50. High efficacy high Emax.