# Stanford University Statistical Learning Quiz Answer | Overview of Statistical Learning

Stanford University Statistical Learning Quiz Answer | Overview of Statistical Learning

In this article i am gone to share Stanford University Statistical Learning Quiz Answer | Overview of Statistical Learning with you..

Quiz
02 – Overview of Statistical Learning

Introduction to Regression Models Quiz

2.1 R1

Question 1)
In the expression Sales ≈ f(TV, Radio, Newspaper), “Sales” is the:
• Feature
• Response
• Training Data
• Independent Variable

Dimensionality and Structured Models Quiz
2.2 R1

A hypercube with side length 1 in d dimensions is defined to be the set of points (x1, x2, …, xd) such that 0 <= x_j <= 1 for all j = 1, 2, …, d. The boundary of the hypercube is defined to be the set of all points such that there exists a j for which 0 <= x_j <= 0.05 or 0.95 <= x_j <= 1 (namely, the boundary is the set of all points that have at least one dimension in the most extreme 10% of possible values). What proportion of the points in a hypercube of dimension 50 are in the boundary? (hint: you may want to calculate the volume of the non-boundary region)

Please give your answer as a value between 0 and 1 with 3 significant digits. If you think the answer is 50.52%, you should say 0.505:

The volume of the interior of the hypercube is 0.950 = 0.005. Thus, the volume of the boundary is 1-0.005

0.995.

Model Selection and Bias-Variance Tradeoff Quiz
2.3 R1
True or False: A fitted model with more predictors will necessarily have a lower Training Set Error than a model with fewer predictors.
• True
• False

2.3 R2
While doing a homework assignment, you fit a Linear Model to your data set. You are thinking about changing the Linear Model to a Quadratic one. Which of the following is most likely true:

• Using the Quadratic Model will decrease your Irreducible Error.
• Using the Quadratic Model will decrease the Bias of your model.
• Using the Quadratic Model will decrease the Variance of your model
• Using the Quadratic Model will decrease your Reducible Error

### Classification Quiz

2.4.R1
Look at the graph given on page 30 of the Chapter 2 lecture slides. Which of the following is most likely true of what would happen to the Test Error curve as we move 1/K further above 1?
• The Test Errors will increase
• The Test Errors will decrease
• Not enough information is given to decide
• It does not make sense to have 1/K > 1

### Introduction to R Quiz

2.R.R1
You are doing an analysis in R and need to use the ‘summary()’ function, but you are not exactly sure how it works. Which of the following commands should you run? (There is more than one correct answer, so any one these will earn the point).
• help(summary)
• ?summary
• ?summary()
• man(summary)

___________________________________________________________________________

### Chapter 2 Quiz

Question1)
For each of the following parts, indicate whether we would generally expect the performance of a flexible statistical learning method to be better or worse than an inflexible model.

The sample size n is extremely large, and the number of predictors p is small:

• Flexible is better

Question 2)
The number of predictors p is extremely large, and the sample size n is small:

• Flexible is worse

Question 3)
The relationship between the predictors and response is highly non-linear:

• Flexible is better

Question 4)
The variance of the error terms, i.e. sigma^2 = text{Var}(epsilon), is extremely high:

• Flexible is worse