Hello everybody, I have a question about to testing statisticas significance between two ratios.
I have a data as follows:
In summary, I have over 400.000 observations from a survey data from 2013 and 2017. I need to test stastistical significance between two ratio: The percentage of employed people in 2013 vs 2017. To do that I use the svy and ratio command, and to test the difference I use de lincom command, and I got the following:
Therefore, my question is whether it is correct to use the lincom command to obtain the statistical signficance difference between this two ratios.
Thank you very much for all your comments.
Kind Regards.
I have a data as follows:
PHP Code:
ano sexo edad expr varstrat varunit activ
2013 mujer 36 32 11121 11121100 ocupados
2013 mujer 30 32 11121 11121100 ocupados
2013 hombre 41 32 11121 11121100 ocupados
2013 mujer 41 32 11121 11121100 ocupados
2013 mujer 10 32 11121 11121100
2013 hombre 9 32 11121 11121100
2013 hombre 73 32 11121 11121100 inactivo
2013 mujer 73 32 11121 11121100 inactivo
2013 mujer 60 32 11121 11121100 ocupados
2013 mujer 49 32 11121 11121100 ocupados
2013 mujer 21 32 11121 11121100 ocupados
2013 mujer 17 32 11121 11121100 inactivo
2013 hombre 1 32 11121 11121100
2013 hombre 37 32 11121 11121100 ocupados
2013 mujer 33 32 11121 11121100 ocupados
2013 hombre 3 32 11121 11121100
.
.
.
PHP Code:
Survey: Ratio estimation
Number of strata = 607 Number of obs = 434,930
Number of PSUs = 3,464 Population size = 35,080,531
Subpop. no. obs = 106,224
Subpop. size = 8,671,466
Design df = 2,857
_ratio_1: tredad_1/ocupados
2013: ano = 2013
2017: ano = 2017
--------------------------------------------------------------
| Linearized
Over | Ratio Std. Err. [95% Conf. Interval]
-------------+------------------------------------------------
_ratio_1 |
2013 | .2332271 .0033352 .2266874 .2397668
2017 | .2243416 .0038795 .2167346 .2319486
--------------------------------------------------------------
. lincom [_ratio_1]2013 - [_ratio_1]2017
( 1) [_ratio_1]2013 - [_ratio_1]2017 = 0
------------------------------------------------------------------------------
Ratio | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
(1) | .0088855 .0051192 1.74 0.083 -.0011521 .0189231
------------------------------------------------------------------------------
Thank you very much for all your comments.
Kind Regards.
Comment