When you copy and paste, Maarten, does your Stata not complain about
"invalid syntax r(198)" in the line reading " local p = cond(`e1', .9, .1) *
///"?
HTH
Martin
_______________________
----- Original Message -----
From: "Maarten buis" <[email protected]>
To: <[email protected]>
Sent: Monday, January 12, 2009 11:36 PM
Subject: Re: st: RE: Calculating binomial probability distribution of
cumulative outcomes of independent events with differing values and
probabilites
--- Wally Knox <[email protected]> wrote:
I'm at a loss as to why my machine is objecting to the forvalues
command.
One thing that might have happened is that the e-mail software may have
added some returns in the code where none should have been added. The
code is correctly displayed here:
http://www.stata.com/statalist/archive/2009-01/msg00389.html
hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/