R Q1 For λ = 1.31, compute and write in the provided space the ridge estimate ẞ (1.31). Use decimal numbers, not fractions. R Q2 Using the ridge estimate ß (1.31) you just computed, determine the percentage of shrinkage achieved with respect to the L1 (Manhattan) norm. That is, compute the shrinkage using R || (1.31)||1/||||₁ with ẞ the OLS estimate. In the provided space, write the shrinkage as percentage between 0 and 100 with decimal values. Lasso The question has two parts, one of ridge and another of lasso, with four items in total that are to be answered in the provided space. All the items can and should be answered using the information provided, with no need to run R code. In what you write you may explain your reasoning but stick to the questions and keep your answer brief to the utmost possible. No need to define objects, nor to explain concepts, just answer what is being asked. Consider the following training data, shown below before centering. ΧΥ 0 1 0 0 0 0 0 0 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 01 This data set will be analysed after centering all columns (not scaling). In what follows, the centered data columns are referred to as X and Y. Using these centered columns, we have the following quantities: XTX = 56/15 = 3.7333; XTY = 42/15 = 2.8 and YTY Ridge regression = 54/15 = 3.6.

icon
Related questions
Question
R
Q1 For λ = 1.31, compute and write in the provided space the ridge estimate ẞ (1.31). Use decimal
numbers, not fractions.
R
Q2 Using the ridge estimate ß (1.31) you just computed, determine the percentage of shrinkage
achieved with respect to the L1 (Manhattan) norm. That is, compute the shrinkage using
R
|| (1.31)||1/||||₁ with ẞ the OLS estimate. In the provided space, write the shrinkage as percentage
between 0 and 100 with decimal values.
Lasso
Transcribed Image Text:R Q1 For λ = 1.31, compute and write in the provided space the ridge estimate ẞ (1.31). Use decimal numbers, not fractions. R Q2 Using the ridge estimate ß (1.31) you just computed, determine the percentage of shrinkage achieved with respect to the L1 (Manhattan) norm. That is, compute the shrinkage using R || (1.31)||1/||||₁ with ẞ the OLS estimate. In the provided space, write the shrinkage as percentage between 0 and 100 with decimal values. Lasso
The question has two parts, one of ridge and another of lasso, with four items in total that are to be
answered in the provided space. All the items can and should be answered using the information
provided, with no need to run R code. In what you write you may explain your reasoning but stick to the
questions and keep your answer brief to the utmost possible. No need to define objects, nor to explain
concepts, just answer what is being asked.
Consider the following training data, shown below before centering.
ΧΥ
0 1
0
0
0
0
0
0
1
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1 1
0
0
01
This data set will be analysed after centering all columns (not scaling). In what follows, the centered
data columns are referred to as X and Y. Using these centered columns, we have the following
quantities: XTX
= 56/15 = 3.7333; XTY = 42/15 = 2.8 and YTY
Ridge regression
= 54/15 = 3.6.
Transcribed Image Text:The question has two parts, one of ridge and another of lasso, with four items in total that are to be answered in the provided space. All the items can and should be answered using the information provided, with no need to run R code. In what you write you may explain your reasoning but stick to the questions and keep your answer brief to the utmost possible. No need to define objects, nor to explain concepts, just answer what is being asked. Consider the following training data, shown below before centering. ΧΥ 0 1 0 0 0 0 0 0 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 01 This data set will be analysed after centering all columns (not scaling). In what follows, the centered data columns are referred to as X and Y. Using these centered columns, we have the following quantities: XTX = 56/15 = 3.7333; XTY = 42/15 = 2.8 and YTY Ridge regression = 54/15 = 3.6.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS