On Sunday, March 10, 2013 6:49:08 AM UTC+13, ilmical wrote: > Can anyone share your thoughts on generating data from the model below? > > y_i = a + bx_i +((1+rx_i)^0.5)*u_i, i=1....n, where x_i ~iid with df 1, u_i iid U(-2, 2) and n=10, 25, 50 and 500. The true a=2, b.=2, and r=1. I need some help to get started with programming. Thanks in advance.
The thought I'd like to share with you is that this is homework. Shouldn't you be doing this yourself?