Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: RE: Multiple arguments under Simulation Command


From   "Subhankar Nayak" <nayak@bellsouth.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: RE: Multiple arguments under Simulation Command
Date   Thu, 24 Jun 2004 14:07:42 -0400

I guess that's what is going wrong... The first argument is negative.
I think I will send all the arguments as a concatenated string and then
separate them out.

Thanks for your pointer.

----- Original Message ----- 
From: "Nick Cox" <n.j.cox@durham.ac.uk>
To: <statalist@hsphsun2.harvard.edu>
Sent: Thursday, June 24, 2004 1:59 PM
Subject: st: RE: Multiple arguments under Simulation Command


> You may get problems if some of these arguments
> are negative.
>
> Nick
> n.j.cox@durham.ac.uk
>
> > -----Original Message-----
> > From: owner-statalist@hsphsun2.harvard.edu
> > [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Subhankar
> > Nayak
> > Sent: 24 June 2004 18:46
> > To: statalist@hsphsun2.harvard.edu
> > Subject: st: Multiple arguments under Simulation Command
> >
> >
> > Hello all,
> >
> > How do I give (pass on) multiple arguments under the
> > simulation command?
> >
> > I am running a user defined program called "market.ado"
> > iter=1000 times...
> >
> > The command I use is:
> > simul market, arg(`flag' `k1' `k2' `rho' `prop') reps(`iter')
> >
> > However, only the first two arguments are read in. How do I
> > pass on multiple
> > arguments in the simulation call?
> >
> > Thanks,
> > Subh
> >
> >
> >
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/support/faqs/res/findit.html
> > *   http://www.stata.com/support/statalist/faq
> > *   http://www.ats.ucla.edu/stat/stata/
> >
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index