[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: graphing & iweights
SR Millis <firstname.lastname@example.org> asks how to get -scatter- in Stata 8 to do
what pre-stata-8 graphs did with iweights,
> In Stata 7, after fitting a logistic regression model, I could
> produce a plot of H-L dx2 vs. the estimated probability with the
> size of the plotting symbol proportional to Pregibon's dbeta using
> . graph dx2 p [iweight=db]
> Stata 8's scatter won't accept iweights. Is there another way to
> produce this plot?
Scott Merryman <email@example.com> suggested using aweights, and I agree.
Or, use pweights or fweights; all three will produce the same graph.
-iweights- are no longer allowed, and never should have been, because iweights
can be negative and -scatter- does not know what to do with negative weights.
* For searches and help try: