I've updated the program to Stata >=8 graphics,
but the limitation to no support of weights
remains. This will appear via a future
issue of the Stata Journal.
In essence -binsm- is a wrapper for -egen-
as far as calculation of summaries is concerned.
As established in this thread, -egen-
does not support weights in general. I can't
think of a work-around that would not be ad hoc,
awkward, and very time-consuming.
Supporting -egen- may appear to be bad
programming style, as sometimes deprecated by
myself among others. In this case, it is a way
of providing a lot of flexibility, including
support in principle for user-written functions,
with minimal programming effort.
Nick
[email protected]
Lenna Nepomnyaschy
> Hi Nick,
>
> using the binsm command with weights would solve all my
> problems. It would
> be so great if it were possible. I just downloaded it
> yesterday and it
> works beautifully otherwise.
> On Mon, 13 Feb 2006, Nick Cox wrote:
>
> > Also, on -binsm-: the latest public domain version is
> > 1.1.0 for Stata 4 in STB-37.
> >
> > I didn't know anyone ever used it.
> > I will see if an update can be done quickly.
*
* 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/