I have three different variables: student_name (string), friend_name(string) and school_grade(byte). The data has been reshaped into a long format. Thus there are five friends (friend_name) for every individual (student_name). I want to check whether the entries under friend_name match with any of the entries within student_name, for each school grade combination.
Related Posts with Checking duplicates across multiple string variables
Observations for the same ID on multiple lines Code: * Example generated by -dataex-. To install: ssc install dataex clear input str33 country flo…
Problem with instrumental variable regressionI am looking at the effect of sport participation on happiness. Happiness is my dependent variable, …
Margins and Predict for Tobit estimationI have a question regarding the following error message: missing predicted values encountered within…
grqreg xlabel and ylabelHello there, I am facing a problem when using the xlabel and ylabel in grqreg in STATA Quantile Reg…
Performing a Backward Hierarchical Stepwise Selection on Multiple Imputed DataHi can someone help me figure out how to perform this in Stata 15? I looked for possible solutions a…
Subscribe to:
Post Comments (Atom)
0 Response to Checking duplicates across multiple string variables
Post a Comment