Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: how to create observations using scalars


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: how to create observations using scalars
Date   Mon, 6 Oct 2008 14:31:13 +0100

What you tried got cut off. 

Make sure the number of observations is large enough for your purpose. 
If not use -set obs- as needed. 

Then typically you need either -generate- or -replace- statements: 

gen result = scalar(foo) in 1 
replace result = scalar(bar) in 2 

Nick 
[email protected] 

Paul O'Brien

i want to reuse scalars created by .metan, using the data in scalars  
for a further meta-analysis.

my problem is how to input the data in scalars.

i have tried:

*
*   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/



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