From n00b to Pro. Jack Davis Andrew Henrey. PURPOSE. Create a simulator from scratch that: Generates data from a variety of distributions Makes a response variable from a known function of the data (plus an error term)
From n00b to Pro
Create a simulator from scratch that:
Sup d00dz late for tutorial
for (i in 1:n)
Use index indicators like a[k,] to save the estimated coefficients of the model in a new row of mat.
OR, if you think you are a total coding BOSS, then put the loop around your code in parts 2-4 that generates data and finds the linear model estimates of the betas.
F = function()
MSE = function(X=c(0,3,11),Y)