I have a string variable, which varies in length from 3 to 4 characters.
For each case that the last character of this variable variable is 0, I would like to change so that it ends in 9.
Any help with this would be fantastic, thank you.
Related Posts with Changing last character in string variable
how to know whether a placebo test is passedHello! I'm conducting a placebo test on a staggered DID, I randomly assign treatment firms and poli…
testing the validy of the instrument in xtivregHi, I am using xtivreg , where xtivreg y (x=z) The issue is that how can i tell that the instrume…
Add on consecutively by groupHi all, I have the first observation for each id for experience, and I would like to replace the v…
Using matching with DID for repeated cross sectional dataI am new to STATA and working on repeated cross-sectional data for Difference-in-Difference analysis…
Example of GMM moment-evaluator program with many equationsHi, Statalist, Does anybody know a simple example of how to implement the moment-evaluator program …
Subscribe to:
Post Comments (Atom)
0 Response to Changing last character in string variable
Post a Comment