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
Piecewise Linear Instrumental Variable EstimationDoes any one know a way to estimate a piecewise linear regression with instrument variable(s)? I ha…
Creating Variable - years since an eventHi there, I have a panel dataset and wish to do a regression analysis that involves a variable, "Ye…
Panel time series. EC Model.Dear Stata Listers, I'm studing the transmission of monetary policy actions to bank deposit rates i…
Predicted probability for X-variable categoriesDear community! I use probit regression to analyse probability of public attitudes (0 - 4). One of m…
Adding day of the week variable to a GARCH(1,1)Hi all, I'm still relatively new to Stata so could use some help. I'm trying to do a GARCH regressi…
Subscribe to:
Post Comments (Atom)
0 Response to Changing last character in string variable
Post a Comment