Changes to what? Nick
[email protected] Michael McCulloch
> Jennifer response brings to mind a question that recently
> occurred to me:
> Is there a Stata-compatible text edi… Read More
how can i use stata to estimate simultaneous equations with qualitative variables as follows:
y1=a1+b1y2+c1x1+e1
y2=a2+b2y1+c2x2+e2
y1*=1 if y1>0
y1*=0 if y1<=0
y2*=1 if y2>0
y2*=0… Read More
It's a good question. I guess:
-scatter- calls -graph- calls ... something that
clears your r-class results. -graph- needs all sorts of little calculations to work
out what to show… Read More
Hello all,I have searched the web and available Stata faqs and helpfiles for an
answer to an
sureg question and am unable to find one on my own. Much obliged if
anyone can help me through th… Read More
Hello all,I have searched the web and available Stata faqs and helpfiles for an
answer to an
sureg question and am unable to find one on my own. Much obliged if
anyone can help me through th… Read More
Sorry if this is a silly question. I did the following sequence of commands. I closed the scatter as soon
as it opened. No other commands. Why does r(mean) go away after you use it in th… Read More
No. You should try ` : di %9.1f `r(mean)'' See help extended_fcn. Tip: I would go `: di %2.1f `r(mean)'' even
if you are sure that format is too restrictive.
You're likely to be wrong, as… Read More
Whoops, of course you're right. When I play with things to work out code
I usually don't keep the changes, so I mangle working datasets
willy-nilly and didn't think to change the conditioned… Read More
I am trying to include the content of a macro within a graph, but I'm
having problems with the display format. For example:sysuse auto, clear
qui: summ length
twoway scatter length mpg, tex… Read More
Whoa! The question was just about _listing_.
You just changed Raoul's dataset by throwing
much of it away. duplicates tag dateofbirth, gen(tag)
sort dateofbirth
list id dateofbirth if tag… Read More
there may be a more elegant way to do this, albeit this is but one attempt: * obtain the number of duplicates w/in date of birth
bysort date_of_birth: gen dob_duplicate = _N
* tag ea… Read More
Maybe try something along these lines:duplicates tag dateofbirth, gen(tag)
drop if tag==0
sort dateofbirth
by dateofbirth: list idJen Marino-----Original Message-----
From: owner-statalist@h… Read More
Hi,
I have a large database and would like to list the idnumber of all subjects with the same date of birth. How do I do this? I have tried .duplicate, but can figure out how to do it. Tha… Read More
In the unlikely event that you have not, do check out -findit monte carlo-. The example in STB reprints Vol 4, pg 207
may be helpfulTITLE
STB-20 ssi6. Simplified Monte Carlo simulat… Read More
Dear all,Does anyone have or know of a Stata program to compute
the various Chou-Talalay statistics of dose-effect
relationship?Thank you,
Ricardo
Ricardo Ovaldia, MS
Statistician
Oklahom… Read More
Stata Users:I am still learning my way around Stata after many years of using SAS.
In SAS it is fairly easy to write a program to do a simple Monte Carlo
study to illustrate the properties… Read More
Lei Xuan wrote:> I am computing probabilities for t-test and z-test.
> I want to know if the functions -tprob- and -normprob- are out-of-date
> since no help files explain these fun… Read More