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

st: Re: apologies - ignore my previous email, it was meant for an indivdual user


From   "Neil Walker" <spudjwalker@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: apologies - ignore my previous email, it was meant for an indivdual user
Date   Tue, 06 Aug 2002 19:58:18 +0100


From: "Neil Walker" <spudjwalker@hotmail.com>
Reply-To: statalist@hsphsun2.harvard.edu
To: statalist@hsphsun2.harvard.edu
Subject: st: Re:
Date: Tue, 06 Aug 2002 19:53:17 +0100

Secondo me, non c'e bisogno di sostituire oldvar con newvar. Potrei usare
"if" eg
regress y x1 x2 if x1<100
or
regress y x1 x2 if x1>10 & x1<20
or
regress y x1 x2 if x1>10 | x1<20
etc etc

Si puo usare "if" con quasi tutti commands (dalla mia sperienza limitata -
ma non conosco molto bene Stata, anch'io!)
In questo modo, non si perde "the original data"
Spero questo sia utile.

Non ho capito esattemente la tua domanda ultima. Comunque, in bocca di lupo!






From: Nazaria Solferino <solf73@yahoo.it>
Reply-To: statalist@hsphsun2.harvard.edu
To: statalist@hsphsun2.harvard.edu
Date: Tue, 6 Aug 2002 06:40:41 +0200 (CEST)

Hello! I'm a new Stata user and I'm not very good at
using it yet. I hope some one can help with my
problem. I've a large dataset, with some outliers, and
I'd like to manage variables, that I have, only in a
restricted range(without dropping observations) I've
thought I could give a zero value to all veriables
outside a certain range so I mean I should generate a
newvar=oldvar then replace newvar=0 if outside the
range. First, is this a sattistical correct procedure?
Second, if it's correct, how coukld I realize that
with stat without find each interval with centile
command for each variable, but realize a general
program that I can apply to each variables?
Thank you for your attention.

______________________________________________________________________
Scarica il nuovo Yahoo! Messenger: con webcam, nuove faccine e tante altre
novità.
http://it.yahoo.com/mail_it/foot/?http://it.messenger.yahoo.com/

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



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

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



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index