Dear all,
I have one question, if i want to generate a new variable starting from an existing one but the new variable should be year -1 or year +1 from old variable.
What is the command in stata for this operation?
Related Posts with Generating a new variable year-1/year+1
Why the command -sumdist- (SSC) do not display variable's mean of last quantilesDear Stata users, The command -sumdist- (SSC) was written by Stephen Jenkins , it was designed to e…
weighted population density of the neighborhood in a locationHi everyone, I have a question about how to calculate the population density of the neighborhood in…
How to avoid comma and rounding in numeric formatHello, I have a dataset, it appears in Excel right like this stkcd trdmnt msmvttl 000001 1991-12 26…
with "tab" but "too many values", with "bigtab", there is no "gen"Hallo , I got a problem with the command tabulate. I tried this: Code: tab exp, generate(EXPORTER)…
Empty parentheses output following "use"Recently I've noticed that after opening a data file with the "use" command, a line below the result…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a new variable year-1/year+1
Post a Comment