On Tue, Nov 17, 2009 at 4:12 PM, Allin Cottrell <cottrell(a)wfu.edu> wrote:
On Tue, 17 Nov 2009, Talha Yalta wrote:
> I am trying to perpare a ML tutorial where there are T balls in a bag
> with a ratio of P=0.75 black balls and there will be 250 independent
> trials where 0<X<10 randomly chosen balls from the bag will show Y
> blacks.
> I create a new data set with 250 observations and create X with genr X
> = floor(randgen(u,0,11)
> After this, however, the command genr Y = randgen(b,0.75,X) does not work.
> Any suggestions?
randgen
Output: series
Arguments: c (character)
a (scalar)
b (scalar)
Giving a series for the third argument is not supported.
I see but is it possible
to do what I am trying to do in gretl?
Thanks very much for the almost instantaneous fixing of the bugs.
Talha
--
“Remember not only to say the right thing in the right place, but far
more difficult still, to leave unsaid the wrong thing at the tempting
moment.” - Benjamin Franklin (1706-1790)
--