Thank you! Grace > Date: Tue, 2 Nov 2010 12:18:57 -0700 > From: Michael.Norman.Mitchell@gmail.com > To: statalist@hsphsun2.harvard.edu > Subject: Re: st: how to rename the texts of the category variable in -grap
Hi Statalisters, I want to rename all my variables (in lots of datasets) except the first variable which is idnr. The problem with the syntax below is that "if is not allowed". Someone have a solution to this? /Tomas levelsof atc , local(cat) foreach k of local cat { preserve use...
Microsoft utilizza i cookie opzionali per migliorare l'esperienza dell'utente sui nostri siti Web, ad esempio tramite connessioni ai social media, e per visualizzare annunci pubblicitari personalizzati in base alla sua attività online. Qualora l'utente rifiuti i cookie opzionali, saranno utili...
From"Airey, David C" <david.airey@vanderbilt.edu> To"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> Subjectst: rename DateTue, 7 Aug 2012 12:27:13 -0500 Follow-Ups: Re: st: rename From:Nick Cox <njcoxstata@gmail.com>...
> 1) rename disp > disp is already a Stata build-in command. > > 2) Not use ereturn post b V > You do not have a matrix b so you can not ereturn it. > > This should do what I think that you have in mind: > > program disp2, eclass > matrix betass=e(b) > matrix...
To <statalist@hsphsun2.harvard.edu> Subject RE: st: How to rename value label names to match variable names? Date Mon, 17 May 2010 13:20:33 +0100-labvalclone- (read "lab val clone") is as Martin says part of -labutil- on SSC. Stata 11 users can now use -label copy-. -lab...
When we merge the web dataset to the large dataset (merge webdata using largedata) we get a note from Stata that ?Label already exist Q1? (for a number of variables). -describe- tell us that variables in the web-dataset have new variable names but that the value-labels is associated ...
variable containing percentiles Generate numerical range [D] by [D] statsby [D] dyngen Repeat Stata command on subsets of the data Collect statistics for a command across a by list Dynamically generate new values of variables [D] compress [D] recast Compress data in memory Change storage type...
Mai 2010 01:59 An: statalist@hsphsun2.harvard.edu Betreff: Re: st: How to rename value label names to match variable names? Thank you all for your further suggestions. With the labmask, I had not realised that the label values were dropped, so yes I would definitely need to use the...