Does anyone know how to add a zero to the variable in the second dataset? I take it that both matchvars are string variables. Otherwise there would be no problem at all as the difference would be just in the formatting. If, as you suggest, in dataset 1 there is always a zero first,...
FromNick Cox <n.j.cox@durham.ac.uk> To"'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> Subjectst: RE: recoding variables with different min & max into standard scale DateWed, 2 Feb 2011 17:49:30 +0000
Hi- Any thoughts on efficient ways to accomplish the following recoding task? I've got six variables, wherein respondents ranked the importance of each of six strategies. For the vast majority of cases, respondents assigned one rank of "1", one of "2" and so on. Some respondents, however...
i think you can: recode sex "M"="1" recode sex "F"="2" destring sex, replace one thing to note is that your variables must carry numerical values only when you destring them. Ada Ma Pelikan_4001@hotmail.com University of Newcastle upon Tyne Business School Economics Group Chris....
Next by Date: st: Weak instruments in models with more than one endogenous variable Previous by thread: st: ivqreg error code and additional variables Next by thread: Re: st: Recoding with values of the next spell Index(es): Date Thread©...
I was looking for a way to do this easily in one step, but didn't find a simple command like encode or recode. I ended up using encode to get the variables numeric and then recoding them. > Is there a simple way to do this? For seven categories it's no big deal, but if I ...