Hello,
I have a large set of data eg 1 2 3....100 101 etc and i want to categories the data into 3 different categories such as "Less than 25" "25-50" and "More than 50". Im using the the following code recode var (1=1 "less than 25") (2=2 "25-50") (3=3 "more than 50"),gen(new_var) however this would be very tedious if i enter each number in specific bracket and im wondering if i can use operators such as "<" ">" etc
Related Posts with Use of Operators in recoding
Using OGLM to Determine Coefficient Inequality across Multiple GroupsI am using Stata 16. I am trying to determine whether the effect of crime type (either coded as dum…
Comparing models using AIC/BICI am comparing clogit models using AIC/BIC. I have an outcome variable (outcome), three independent …
Conversion from monthly to quarterly dataHi, I have a longitudinal data set, which contains the monthly information. Required to convert fro…
General Equilibrium gravity equation using PPML_panel_sgHello, Im working on the analysis of the General Equilibrium Effects of an RTA using the WTO Trade P…
Fractional Regression or Logistic transformation and Difference GMMGood evening all; I am trying to analyse which are the key determinants of NPLs on a set of european…
Subscribe to:
Post Comments (Atom)
0 Response to Use of Operators in recoding
Post a Comment