hello nick...thanks again for your answer..i post my data in excel and the sd results as smooth3. the code that i use is:
smooth3
. drop id
. egen id = group ( Name )
. sort Name year
. bys id: gen t=_n
. tsset id t
. tsset id year
. tsegen double avgval6years = rowmean(L(1/6).JONES1 )
. label variable smooth3 "sd residuals jones1"
but i have still the problem in 2011...
smooth3
. drop id
. egen id = group ( Name )
. sort Name year
. bys id: gen t=_n
. tsset id t
. tsset id year
. tsegen double avgval6years = rowmean(L(1/6).JONES1 )
. label variable smooth3 "sd residuals jones1"
but i have still the problem in 2011...
Comment