Hi,
I am trying to automate the "replace" command for a range of values, for example if codkm values are from 1 to 62 and if values are 70, 74, 77
g codkmgr=0
replace codkmgr=1 if codkm .....
Related Posts with Automate replace command for range of value
Graph with 3 different curves in the same graphHey, I want to know if I can do the following and if yes how; I have monthly household data with '…
Error with Probit: outcome does not varyDear Statalists, I create a variable = 1 in case of treatment and = 0 in case of no treatment. Then…
ADF test results are nonstationary with constant and trend termHI everyone, I have run the ADF unit root test for my variable "log_CO2" and the result shows that i…
convert time variable from; 'Jan 2018' to 'Jan'I want add a time variable that only shows the months in this format; 'Jan', 'Feb', .. So I have 2 t…
Make a normalised distributionHi all, I have elaborated data in the following way: Code: * Example generated by -dataex-. To in…
Subscribe to:
Post Comments (Atom)
0 Response to Automate replace command for range of value
Post a Comment