I guess this is a simple question.

How to get the seasonally adjusted GDP continuously compounded growth rate.

Without seasonally adjusted, it's simply

gen rgdp= gdp[_n+4]/gdp[_n]-1

The data is quarterly U.S. GDP.


Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input double gdp float yq
1934.5 -52
1932.3 -51
1930.3 -50
1960.7 -49
1989.5 -48
2021.9 -47
2033.2 -46
2035.3 -45
2007.5 -44
2000.8 -43
2022.8 -42
2004.7 -41
2084.6 -40
2147.6 -39
2230.4 -38
2273.4 -37
2304.5 -36
2344.5 -35
2392.8 -34
2398.1 -33
2423.5 -32
2428.5 -31
2446.1 -30
2526.4 -29
2573.4 -28
2593.5 -27
2578.9 -26
2539.8 -25
  2528 -24
2530.7 -23
2559.4 -22
2609.3 -21
2683.8 -20
2727.5 -19
2764.1 -18
2780.8 -17
  2770 -16
2792.9 -15
2790.6 -14
2836.2 -13
2854.5 -12
2848.2 -11
2875.9 -10
2846.4  -9
2772.7  -8
2790.9  -7
2855.5  -6
2922.3  -5
2976.6  -4
  3049  -3
3043.1  -2
3055.1  -1
3123.2   0
3111.3   1
3119.1   2
3081.3   3
3102.3   4
3159.9   5
3212.6   6
3277.7   7
3336.8   8
3372.7   9
3404.8  10
  3418  11
3456.1  12
3501.1  13
3569.5  14
  3595  15
3672.7  16
3716.4  17
3766.9  18
3780.2  19
3873.5  20
3926.4  21
4006.2  22
4100.6  23
4201.9  24
4219.1  25
4249.2  26
4285.6  27
4324.9  28
4328.7  29
4366.1  30
4401.2  31
4490.6  32
4566.4  33
4599.3  34
4619.8  35
4691.6  36
4706.7  37
4736.1  38
4715.5  39
4707.1  40
4715.4  41
4757.2  42
4708.3  43
4834.3  44
4861.9  45
  4900  46
4914.3  47
end
format %tq yq
Thanks a lot!