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)
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
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)