Hello am new to stata, the task that am trying to achieve is to replace a numeric value with a string, but it keeps on saying type mismatch. However the type of the variable is str8.
I want to replace AB which is 1 with a string value. Am using "replace AB="my string" if "var"="value"
Related Posts with Replace command
bar graph with event markersHello, I have a panel with 12 individuals from a company and daily data from 2010 to 2020. I have …
Merging dataset with different number of subjectsHello, this is my first post and I am a bit of a newbie so I hope my question is not too obvious. I…
Time series - connected scatter?I want to create a rather simple graph that I thought that many others have used before. But after s…
Code for Approximating degree days with monthly average temperatureI am using CRU TS global gridded dataset for climate impacts on crop yields. The data has monthly me…
Calculate sum of values in a tableDear all, I am currently working with a dataset where I would like to get the sum of values with ce…
Subscribe to:
Post Comments (Atom)
0 Response to Replace command
Post a Comment