Thanks for your reply; I will provide more detail in the future.
I have figured out how to do this, but I need to save each element of
the matrix to its own scalar and then return that. Since I have a
small number of covariates, this will suffice for now.
Best,
Rachel
On 8/20/07, Nick Cox <[email protected]> wrote:
> You have three very general questions here.
>
> Without more detail than you give it is barely possible
> even for experts to comment usefully.
>
> In particular, your report that -post-
> "doesn't seem to be working" means, perhaps,
> that your code including calls to -post- does
> not do what you think it should. Or perhaps that
> you tried something and got some error messages.
> I can't tell from this.
>
> Without any sight of any of your code or of any
> kinds of results, what kinds of
> comments do you think are possible?
>
> Nick
> [email protected]
>
> Rachel
>
> > I'd like to do a monte carlo simulation of two models (easy example: a
> > logit and probit model using the same dependent and independent
> > variables). Is there any way to do this?
> >
> > I may not be understanding the "post" command in ereturn correctly,
> > but posting the results of the second equation using ereturn mat
> > doesn't seem to be working.
> >
> > If I should be doing this using some other command (rather than
> > simulate), please let me know.
>
> *
> * 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/