Question: This is R programming The AIC function is n*log(SSE_p ) + 2*(p+1) Question: Write a function called myAIC that will calculate AIC for a linear
Question: Write a function called myAIC" that will calculate AIC for a linear regression model. Use this space to help develop the function by answering the following: 1. What are the inputs for this function? 2. Generate data using: x1K-rnorm (50,5,1) bi-2 error-rnorm(50, 0,1) y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
