Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: updates on SSC


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: updates on SSC
Date   Thu, 2 Jan 2003 14:55:10 -0000

Thanks to Kit Baum, the following have been 
updated on SSC. 

-cpyxplot-
==========

Phil Ender tripped over a bug to do 
with file handling whenever file paths 
contain spaces. This is now fixed. 
-cpyxplot- remains usable with version 
6 upwards. 

-egenmore-
==========

Two new -egen- functions have been 
added to -egenmore-, which arose out of questions 
on Statalist in December. These are -var()- 
and -wtfreq()-. 

In both cases, they have merit mostly if 
you want to do specific calculations again and 
again, as they replace only a few lines of 
official Stata. 

Thus the -var()- function is almost 
redundant given that you can already 
go 

. bysort group : egen var = sd(myresponse) 
. replace var = sd^2 

However, if you wanted this repeatedly 
you can now with this function installed 
go 

. bysort group : egen var = var(myresponse) 

The -wtfreq()- function is similarly 
a replacement for say 

. bysort group: egen freq = sum(myresponse) 
. su myresponse, meanonly 
. replace freq = freq / r(mean) 

To get more detail on these packages, 
type 

. ssc desc <pkgname> 

and to install them, type 

. ssc inst <pkgname>, replace 

in a copy of Stata 8 or an up-to-date 
copy of Stata 7. -ssc- is now 
documented in the Stata 8 manuals. 

best wishes for 2003! 

Nick 
[email protected] 


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



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