SubjectRe: st: replace command DateMon, 8 Oct 2007 07:57:41 -0400 Entering "help operators" at the command prompt shows that Stata understand "or" to be represented as "|". Best, Alan On 10/8/07, Ziad El-Khatib <Ziad.El-Khatib@ki.se> wrote: > Hi again > i created new variabl...
You can make full logs, command logs, or both simultaneously. Neither is produced until you tell Stata to start logging. Command logs are always text files, making them easy to convert into do-files. (In this respect, it would make more sense if the default extension of a command log ...
Stata's heckman command is a good example of this. In such cases, there will be observations where missing values are allowed and other observations where they are not—where their presence should cause the observation to be eliminated. If you specify missing, it is your responsibility to ...
Le informazioni discusse in questo documento fanno riferimento a dispositivi usati in uno specifico ambiente di emulazione. Su tutti i dispositivi menzionati nel documento la configurazione è stata ripristinata ai valori predefiniti. Se la rete è operativa, valutare attentamente eventual...
putexcel A30=(r(min)) A31=(r(N)) using results, sheet("June 3", replace) modify The above command would write over sheet June 3 in results.xls so that just cell A30 and A31 contained values 12 and 74. You can use putexcel to create tables in Excel using Stata return results. To...
Dear Statapeeps, I need to replace some values of a variable that meet certain conditions. Although I know it's not possible to make direct references to rows using the -replace- command, this is what I want to do: replace status = status[`j'] if status[`j'] == "NM" | status[...
Follow-Ups: Re: st: Stata dates -tostring- cannot be converted reversibly; no replace From:Nick Cox <njcoxstata@gmail.com> References: st: Stata error message from svy command From:K C Wong <kcwong5@gmail.com>
In principle, it would be very useful if -replace- were a r-class command so that you could just inspect say r(change) to see if it were 0. Or so it might seem. Any way, changing -replace- to a r-class command would wreak havoc among programs and do files across Stata, to say...
How can I write the latter part of command? Please note Y can be Dec123abc, 456Novpqr, and zzz789Oct. Thank you in advance. -- FUKUGAWA Nobuya, Ph.D. nfukugawa@gmail.com * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata...
To<statalist@hsphsun2.harvard.edu> Subjectst: replace and strpos DateWed, 15 Aug 2012 10:12:17 +0100 Follow-Ups: Re: st: replace and strpos From:Daniel Feenberg <feenberg@nber.org> Re: st: replace and strpos From:Nick Cox <njcoxstata@gmail.com>...