Hi all,
I was wondeirng if there is a quick way to replace the values that stata assigns to variables with their actual variables? For example in the attachment below, how can I change the value of 45 from 197 to 45, and then the same for the other values. Likewise, I would like to change "Yes" and "No" to 2 and 1 respectively.
Thanks
Array
Related Posts with Replacing variable values with actual values stata in edit
Heckman two-step can not cluster standard errorsDear Statalists, My dependent variable is y2_ft in the second stage of heckman selection model, f d…
Generating an indicator variable to denote the highest value from a set of variables in an observationI am working with a dataset from a poll of registered voters. For each observation (one voter), resp…
predictnl after reghdfeHello, I am using Stata 17 with predictnl version 1.8.2 and reghdfe version 6.12.2. I try to estim…
Turning three variables into one based on year. Code included Code: * Example generated by -dataex-. For more info, type help dataex clear input double hhid int …
Moran scatter plot for different periodsHi, I have panel data from 1990-2017. I can use spatwmat command to create a weight matrix. And spa…
Subscribe to:
Post Comments (Atom)
0 Response to Replacing variable values with actual values stata in edit
Post a Comment