Hi,
I am generating a mean value by using the Mata matrices (since I am
using simulation data set is big and I don't want to use Stata matrix
language). So I get a single value from each repetition. And I want to
create a variable where each observation is my outcome, which means
each time the simulation runs there will be missing observations in
the variable. Thanks,
MZE
On Fri, Nov 21, 2008 at 7:29 AM, Nick Cox <[email protected]> wrote:
> The first answer sounds like -st_numscalar()- to me. See -help
> m4_stata-.
>
> The second question has numerous possible answers. You need to be more
> precise about what you want.
>
> Nick
> [email protected]
>
> mujde erten
>
> I am doing a simulation analysis in Stata. However I need to use some
> linear algebra and I am using Mata for this. The outcome is a scalar
> in Mata. But
> I could not find a way to transfer this to Stata. The problem is
> although I am using "st_store()" Stata is giving conformability error
> since my data set is n and the scalar has one observation. Also I need
> to repeat this and get an observation from each data set in the
> simulation. Is there a way to deal with this problem? Thanks.
>
> *
> * 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/