From: we wewe on 30 Jul 2010 14:25 I will make data set from this model Y=Xb+e e~N(0,1) I don't know how to simulate X in matlab code... two problems exist 1) The predictors X were generated as follows: xi=Z1+e, Z1∼N.(0, 1), i=1, . . . ,15, e~ N(.0, 1), e is independent identically distributed, i=16, : : : , 40 and Z1,e independent 2) The predictors X were generated as follows: xi=Z1+ei Z1∼N.(0,1), i=1, . . . ,5, xi=Z2+ei Z2∼,N.(0,1), i=6, . . . ,10, xi=Z3+ei Z3∼N.(0,1), , i=11, . . . ,15, xi∼N.0, 1, xi independent identically distributed, i=16, : : : , 40 e~iid N(0,0.16)
From: Andy on 30 Jul 2010 14:40 1) Don't multiple post. 2) Nothing you've posted looks like MATLAB code to me, and you've done very little to explain your problem. 3) Post a small sample of input and output data for your problem, and post small, relevant bits of code that you've written that either produce errors or don't produce the output you expect/want. You should either post the error message or the incorrect output.
From: Walter Roberson on 30 Jul 2010 14:55 we wewe wrote: > I will make data set from this model > Y=Xb+e e~N(0,1) .... > Z1∼N.(0,1), i=1, . . . ,5, To save others from looking it up: "we wewe" has used HTML 8764, which is Unicode 0+223C, which is defined as the mathematics "tilde operator" (sometimes referred to as "twiddle", apparently.) And that in turn, according to Wikipedia, in the context of probability and statistics, means "is distributed as", thus indicating that e is to be distributed with a normal distribution with mean 0 and standard deviation 1. All those ampersand-numbersign-8-7-6-4-semi-colons in the posting make my eyes run, so I haven't managed to figure out what question was being asked.
|
Pages: 1 Prev: Disable cursor on certain axes Next: NRZ signal generation in simulink |