| From | "Nick Cox" <[email protected]> |
| To | <[email protected]> |
| Subject | st: RE: RE: Making symmetry (correction) |
| Date | Fri, 11 Apr 2003 10:49:23 +0100 |
> ssc inst levels
> levels Id2
> replace Id2 = .
> foreach l of local levels {
> qui replace Id2 = `l' if Id1 == `l'
> }
ssc inst levels
levels Id2, local(levels)
replace Id2 = .
foreach l of local levels {
qui replace Id2 = `l' if Id1 == `l'
}
*
* 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |