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. X Y 01 0 0 0 0 0 0 1 1 00 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 = 6/7 = 0.8571; XTY = 4/7 = 0.5714 and YTY = 12/7 = 1.7143. Ridge regression R Q1 For λ = 0.46, compute and write in the provided space the ridge estimate ẞ (0.46). Use decimal numbers, not fractions. R Q2 Using the ridge estimate ẞ (0.46) you just computed, determine the percentage of shrinkage achieved with respect to the squared L2 norm. That is, compute the shrinkage using (0.46) with ẞ the OLS estimate. In the provided space, write the shrinkage as percentage between 0 and 100 with decimal values. R Lasso L L L ~L - Q3 The following are several expressions for the lasso estimate: (A) = 0.6667 * (1 − 1.4λ); ߘ (λ) = 0.6667 * (1 1.752); (2) = 0.8333 * (1 − 1.4λ); and (2) = 0.8333 * (1 - 1.75λ). Only one of the expressions given is correct for the given data. Determine which is the correct version and write it in the provided space. Hint: Follow the development shown in lectures. - L U Ꭶ X2 x² = = = Q4 Determine the numerical value of the lasso parameter & such that the lasso path vanishes, i.e. A such that B (A) = 0. Write the value of 1 as a decimal number, no fractions. ☑ T: A ▾ B I == == S E I ว C Θ ☑ П 米 </>

Algebra: Structure And Method, Book 1
(REV)00th Edition
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Chapter3: Solving Equation And Problems
Section3.6: Problem Solving: Using Charts
Problem 2OE
icon
Related questions
Question
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.
X Y
01
0
0
0
0
0
0
1
1
00
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 = 6/7 = 0.8571; XTY = 4/7 = 0.5714 and YTY = 12/7 = 1.7143.
Ridge regression
R
Q1 For λ = 0.46, compute and write in the provided space the ridge estimate ẞ (0.46). Use decimal numbers, not fractions.
R
Q2 Using the ridge estimate ẞ (0.46) you just computed, determine the percentage of shrinkage achieved with respect to the squared L2 norm. That is, compute the shrinkage using
(0.46) with ẞ the OLS estimate. In the provided space, write the shrinkage as percentage between 0 and 100 with decimal values.
R
Lasso
L
L
L
~L
-
Q3 The following are several expressions for the lasso estimate: (A) = 0.6667 * (1 − 1.4λ); ߘ (λ) = 0.6667 * (1 1.752); (2) = 0.8333 * (1 − 1.4λ); and (2) = 0.8333 * (1 - 1.75λ).
Only one of the expressions given is correct for the given data. Determine which is the correct version and write it in the provided space.
Hint: Follow the development shown in lectures.
-
L
U
Ꭶ
X2
x²
=
=
=
Q4 Determine the numerical value of the lasso parameter & such that the lasso path vanishes, i.e. A such that B (A) = 0. Write the value of 1 as a decimal number, no fractions.
☑
T:
A ▾
B
I
==
==
S
E
I
ว
C
Θ
☑
П
米
</>
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. X Y 01 0 0 0 0 0 0 1 1 00 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 = 6/7 = 0.8571; XTY = 4/7 = 0.5714 and YTY = 12/7 = 1.7143. Ridge regression R Q1 For λ = 0.46, compute and write in the provided space the ridge estimate ẞ (0.46). Use decimal numbers, not fractions. R Q2 Using the ridge estimate ẞ (0.46) you just computed, determine the percentage of shrinkage achieved with respect to the squared L2 norm. That is, compute the shrinkage using (0.46) with ẞ the OLS estimate. In the provided space, write the shrinkage as percentage between 0 and 100 with decimal values. R Lasso L L L ~L - Q3 The following are several expressions for the lasso estimate: (A) = 0.6667 * (1 − 1.4λ); ߘ (λ) = 0.6667 * (1 1.752); (2) = 0.8333 * (1 − 1.4λ); and (2) = 0.8333 * (1 - 1.75λ). Only one of the expressions given is correct for the given data. Determine which is the correct version and write it in the provided space. Hint: Follow the development shown in lectures. - L U Ꭶ X2 x² = = = Q4 Determine the numerical value of the lasso parameter & such that the lasso path vanishes, i.e. A such that B (A) = 0. Write the value of 1 as a decimal number, no fractions. ☑ T: A ▾ B I == == S E I ว C Θ ☑ П 米 </>
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Recommended textbooks for you
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell
Elementary Geometry For College Students, 7e
Elementary Geometry For College Students, 7e
Geometry
ISBN:
9781337614085
Author:
Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:
Cengage,
Intermediate Algebra
Intermediate Algebra
Algebra
ISBN:
9780998625720
Author:
Lynn Marecek
Publisher:
OpenStax College
Elementary Algebra
Elementary Algebra
Algebra
ISBN:
9780998625713
Author:
Lynn Marecek, MaryAnne Anthony-Smith
Publisher:
OpenStax - Rice University
Intermediate Algebra
Intermediate Algebra
Algebra
ISBN:
9781285195728
Author:
Jerome E. Kaufmann, Karen L. Schwitters
Publisher:
Cengage Learning
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill