Dear Stata-Friends,
while working with a panel data set i try to drop the last decimal of output. The following extract of a do-file should give an overview of what i try to do:
.use "xx"
.sort pgkldb92
.drop if pgkldb92 <1 %drop missings
gen pgkldb_short1 = pgkldb92/10
-> and now i would like to round down every output to integral numbers!
It would be great if you could help me in this stata-problem.
Thank you very much and kind regards from Cologne!
while working with a panel data set i try to drop the last decimal of output. The following extract of a do-file should give an overview of what i try to do:
.use "xx"
.sort pgkldb92
.drop if pgkldb92 <1 %drop missings
gen pgkldb_short1 = pgkldb92/10
-> and now i would like to round down every output to integral numbers!
It would be great if you could help me in this stata-problem.
Thank you very much and kind regards from Cologne!
Comment