You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
solutions say g1 is expected to have smaller test RSS because of one less degree of freedom but this is not necessarily true. For example, if the true DGP is cubic, then g2 will fit better.
The text was updated successfully, but these errors were encountered:
When lambda is maximized, the penalty term is maximized, forcing the final form of g to have an nth-degree derivative = 0 (else the RSS = infinity).
For g1 that is a 1st degree polynomial and for g2 that is a 2nd degree polynomial.
The best fit to the test data will occur when the degree of polynomial that represents the true distribution is used, which could be 1st or 2nd degree depending on the underlying distribution of the data.
The difference between g1 and g2 is the degree of their polynomial, but overfitting does not always occur. The function that wins the bias-variance trade-off in the context of given data set will give the best test RSS.
solutions say g1 is expected to have smaller test RSS because of one less degree of freedom but this is not necessarily true. For example, if the true DGP is cubic, then g2 will fit better.
The text was updated successfully, but these errors were encountered: