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
Two Step Binary Choice Regression Model: What type of regression model to use to avoid sample selection bias and autocorrelation?Hi, I have a two step-model (see below) in which all the people answer the question in the first par…
Graph panel dataHi all, My name is Thomas Leirvik, and have a few questions about plotting using Stata (sorry for m…
Looking for methological adviceHi everyone, I'm looking for methodological advice on the undertaking described below. I tried to s…
Drop observation if missing in two discontinous yearsHello, I have a lot of balance sheet data (with a lot of variables). What I need is for every idnr …
convert northing and easting to longtitude and latitudeHi, is there a code for converting "northing" and "easting" to longitude and latitude? Many thanks! …
Subscribe to:
Post Comments (Atom)
0 Response to Automate replace command for range of value
Post a Comment