Code:
set obs 100 gen agegrp = runiformint(1,5) gen age1 = cond(agegrp==1,0,.) gen age2 = cond(agegrp==2,2,.) gen age3 = cond(agegrp==3,4,.) gen age4 = cond(agegrp==4,6,.) gen age5 = cond(agegrp==5,8,.) egen ageT = rowmax(age1 age2 age3 age4 age5)
Specialized on Data processing, Data management Implementation plan, Data Collection tools - electronic and paper base, Data cleaning specifications, Data extraction, Data transformation, Data load, Analytical Datasets, and Data analysis. BJ Data Tech Solutions teaches on design and developing Electronic Data Collection Tools using CSPro, and STATA commands for data manipulation. Setting up Data Management systems using modern data technologies such as Relational Databases, C#, PHP and Android.
set obs 100 gen agegrp = runiformint(1,5) gen age1 = cond(agegrp==1,0,.) gen age2 = cond(agegrp==2,2,.) gen age3 = cond(agegrp==3,4,.) gen age4 = cond(agegrp==4,6,.) gen age5 = cond(agegrp==5,8,.) egen ageT = rowmax(age1 age2 age3 age4 age5)
0 Response to Condition command stata
Post a Comment