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
Duplicates: 1 copy of 90814 observations and 0 surplusHello, I need help turning a dataset into panel data. I am using a dataset from OECD https://stats.o…
Generating a binary variable whose value is dependent on another binary variable in given years. Is there a more elegant solution?Hello, I want to create a series of 5 variables from a data set that looks like the below: ID Yea…
Test of Exogenity / Endogenity using SVY and IV probitDear Statalist users, While using IVprobit on survey data how to check for the exogenity/endogenity…
Issues with putexcelHi, I am attempting to export some results of a simple OLS using putexcel: I need the coefficients …
Sequence analysis with STATADear Stata Users, what is currently the most suitable tool for sequence analysis in STATA? I found …
Subscribe to:
Post Comments (Atom)
0 Response to Relabeling Values
Post a Comment