Hi, I am new to Stata. In my case, I have a variable equal to 1, 2,3,4,5 and my task is to make the replace the variable equal to 1 if it original equal to 5, 2 to 4, 3 remain the same, 4 equal to 2, 5 equal to 1. How can I do it in Stata?
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.
0 Response to replace the value of variable
Post a Comment