[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: unhelpful error message for simul
Gabi Huiber <firstname.lastname@example.org> asks:
> I'm trying to run the simulation on p. 15 of the 'Introduction to Survival
> Analysis Using Stata' by Cleves & al. In response to
> simul genfail, reps(1000)
> I get
> Obs. nos. out of range
> and I'm stumped. Can anybody help me?
Rather than speculate as to the cause, if Gabi would email me privately with
the output of
. program list genfail
or post the output to the list, I'll be glad to take a closer look.
If I had to speculate, then I would say within the program -genfail- Gabi has
. replace t = ... in 2/1
. replace t = ... in 2/l
Note the last character. It is the letter "l" for last, not the number "1".
* For searches and help try: