Statalist The Stata Listserver


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

st: gen newvar=3Dgroup()


From   Enzo Coviello <[email protected]>
To   [email protected]
Subject   st: gen newvar=3Dgroup()
Date   Sat, 10 Mar 2007 15:39:56 +0100

:01C76321]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hsphsun2.harvard.edu=
  id l2AEeHJ07461
Sender: [email protected]
Precedence: bulk
Reply-To: [email protected]
Errors-To: [email protected]
Dear Stata Users


I am using this commands to group observations for risk score

stcox age treat
predict xb,xb
drop if xb=3D=3D.

gen gr_risk =3D group(5)

This last command works but I do not find where
the function group() is documented (and why I still use it)

Thanks
Enzo



^^^^^^^^^^^^^^^^
Enzo Coviello
Unit=E0 di Statistica ed Epidemiologia ASL BA/2
piazza V. Emanuele 14 - 70054 GIOVINAZZO (BA)
Italy
skype enzo.coviello
tel. +39 080 3357867
tel (home) +39 0883 695055
mobile 347 5016016


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