Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: help with generating data froma model
Posted:
Mar 9, 2013 7:48 PM


On Sunday, March 10, 2013 12:39:09 PM UTC+13, ilmical wrote: > TideMan <mulgor@gmail.com> wrote in message <cbe461b06f7448f98afc2ab9c8014a30@googlegroups.com>... > > > 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? > > > > Thank you. I have tried to solve it for days. I am just hoping someone with much more experiences on this application can point me a direction on this.
That's what your teacher/professor is paid for. Why not ask him/her? They will probably appreciate you pointing out that their teaching is so bad that you have spent days trying to do the homework.



