This is my first time using Stata without help from a professor, and I am struggling to relabel my values in one of my tables. I need to label my female and male values as '0' and my trans-female and trans-male values as '1'. I have included screenshots of my do-file and the outcome that I get. I have tried multiple ways of relabeling and consistently get an invalid syntax error. Any help would be greatly appreciated.
Array
Array
Related Posts with Relabeling Values
ElasticitiesHello, I would like to estimate the exports elasticity and the imports elasticity of some countries…
bysort queryHello, I am trying to use bys to generate sequential and total number of Lines of treatments by pati…
Collapse variables by country, category, yearHi! I have the following data (dataex below) and I just want to confirm if I am doing the right app…
Storing the value of a variable from one observation in a local macro or scalarDear Statalist, I'm using Stata 16.0 trying to store a variable value from one observation in a loc…
Would constant annual variables across firms in a year be fully absorbed by the year dummy?Hi all, I am running the following regression using reghdfe written by @Sergio Correia: reghdfe f.D…
Subscribe to:
Post Comments (Atom)
0 Response to Relabeling Values
Post a Comment