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

This is R programming
The AIC function is n*log(SSE_p ) + 2*(p+1)  This is R programming The AIC function is n*log(SSE_p ) +

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!