--------------------------------------------------------------------------------------- log: ps3.log log type: text opened on: 22 Nov 2002, 15:31:43 . tab sex sex | Freq. Percent Cum. ------------+----------------------------------- 0 | 5077 33.32 33.32 1 | 10161 66.68 100.00 ------------+----------------------------------- Total | 15238 100.00 . sort year . by year:tab sex _______________________________________________________________________________ -> year = 1980 sex | Freq. Percent Cum. ------------+----------------------------------- 0 | 968 25.94 25.94 1 | 2764 74.06 100.00 ------------+----------------------------------- Total | 3732 100.00 _______________________________________________________________________________ -> year = 1990 sex | Freq. Percent Cum. ------------+----------------------------------- 0 | 1786 32.86 32.86 1 | 3649 67.14 100.00 ------------+----------------------------------- Total | 5435 100.00 _______________________________________________________________________________ -> year = 2000 sex | Freq. Percent Cum. ------------+----------------------------------- 0 | 2323 38.26 38.26 1 | 3748 61.74 100.00 ------------+----------------------------------- Total | 6071 100.00 . reg lny s ex exsq mar if sex==1 Source | SS df MS Number of obs = 10161 -------------+------------------------------ F( 4, 10156) = 752.35 Model | 1067.31782 4 266.829455 Prob > F = 0.0000 Residual | 3601.95307 10156 .354662571 R-squared = 0.2286 -------------+------------------------------ Adj R-squared = 0.2283 Total | 4669.27089 10160 .459573906 Root MSE = .59554 ------------------------------------------------------------------------------ lny | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- s | .0936106 .0018794 49.81 0.000 .0899266 .0972945 ex | .0403975 .0022847 17.68 0.000 .0359192 .0448759 exsq | -.0006118 .0000409 -14.96 0.000 -.000692 -.0005316 mar | .0388364 .0148193 2.62 0.009 .0097876 .0678852 _cons | 8.452111 .0359989 234.79 0.000 8.381546 8.522676 ------------------------------------------------------------------------------ . reg lny s ex exsq mar if sex==0 Source | SS df MS Number of obs = 5077 -------------+------------------------------ F( 4, 5072) = 733.19 Model | 1087.81953 4 271.954882 Prob > F = 0.0000 Residual | 1881.30992 5072 .370920726 R-squared = 0.3664 -------------+------------------------------ Adj R-squared = 0.3659 Total | 2969.12945 5076 .58493488 Root MSE = .60903 ------------------------------------------------------------------------------ lny | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- s | .1414706 .0028448 49.73 0.000 .1358936 .1470476 ex | .0394235 .0031156 12.65 0.000 .0333156 .0455314 exsq | -.0003318 .0000582 -5.70 0.000 -.0004459 -.0002176 mar | -.0589778 .0200755 -2.94 0.003 -.0983345 -.019621 _cons | 7.648126 .0536714 142.50 0.000 7.542907 7.753345 ------------------------------------------------------------------------------ . g pr=s<=6 . g jh=s==9 . g h=s==12 . g jc=s==14 . g c=s>=16 . reg lny pr jh jc c ex exsq mar if sex==1 Source | SS df MS Number of obs = 10161 -------------+------------------------------ F( 7, 10153) = 445.00 Model | 1096.22981 7 156.604258 Prob > F = 0.0000 Residual | 3573.04108 10153 .351919736 R-squared = 0.2348 -------------+------------------------------ Adj R-squared = 0.2342 Total | 4669.27089 10160 .459573906 Root MSE = .59323 ------------------------------------------------------------------------------ lny | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- pr | -.6098842 .0174756 -34.90 0.000 -.6441398 -.5756287 jh | -.1721061 .0178634 -9.63 0.000 -.2071219 -.1370904 jc | .2473531 .0204487 12.10 0.000 .2072696 .2874366 c | .4086027 .0210025 19.45 0.000 .3674336 .4497719 ex | .0472013 .0023251 20.30 0.000 .0426436 .0517589 exsq | -.0007544 .0000416 -18.15 0.000 -.0008359 -.0006729 mar | .0396035 .0147984 2.68 0.007 .0105958 .0686112 _cons | 9.482604 .0264154 358.98 0.000 9.430824 9.534383 ------------------------------------------------------------------------------ . reg lny pr jh jc c ex exsq mar if sex==0 Source | SS df MS Number of obs = 5077 -------------+------------------------------ F( 7, 5069) = 378.94 Model | 1019.98067 7 145.711524 Prob > F = 0.0000 Residual | 1949.14878 5069 .384523335 R-squared = 0.3435 -------------+------------------------------ Adj R-squared = 0.3426 Total | 2969.12945 5076 .58493488 Root MSE = .6201 ------------------------------------------------------------------------------ lny | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- pr | -.9423085 .0279318 -33.74 0.000 -.9970668 -.8875501 jh | -.3352821 .0298633 -11.23 0.000 -.3938271 -.2767371 jc | .3414981 .0287746 11.87 0.000 .2850876 .3979087 c | .6136304 .0304728 20.14 0.000 .5538904 .6733703 ex | .0578379 .0033369 17.33 0.000 .0512961 .0643796 exsq | -.0008125 .0000615 -13.22 0.000 -.000933 -.000692 mar | -.0736895 .0204572 -3.60 0.000 -.1137944 -.0335845 _cons | 9.192803 .0364451 252.24 0.000 9.121354 9.264251 ------------------------------------------------------------------------------ . . reg lny s ex exsq mar sex pub if year==1980 Source | SS df MS Number of obs = 3732 -------------+------------------------------ F( 6, 3725) = 378.05 Model | 344.504161 6 57.4173602 Prob > F = 0.0000 Residual | 565.739878 3725 .151876477 R-squared = 0.3785 -------------+------------------------------ Adj R-squared = 0.3775 Total | 910.244039 3731 .243967848 Root MSE = .38971 ------------------------------------------------------------------------------ lny | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- s | .0504397 .0020517 24.58 0.000 .0464171 .0544623 ex | .0163292 .002441 6.69 0.000 .0115434 .021115 exsq | -.0002661 .0000431 -6.18 0.000 -.0003506 -.0001817 mar | .0764303 .0163711 4.67 0.000 .044333 .1085276 sex | .4556344 .0148563 30.67 0.000 .4265072 .4847616 pub | .0150006 .0166153 0.90 0.367 -.0175754 .0475766 _cons | 7.943218 .0380008 209.03 0.000 7.868714 8.017723 ------------------------------------------------------------------------------ . reg lny s ex exsq mar sex pub if year==1990 Source | SS df MS Number of obs = 5435 -------------+------------------------------ F( 6, 5428) = 580.14 Model | 477.000722 6 79.5001203 Prob > F = 0.0000 Residual | 743.831557 5428 .137036028 R-squared = 0.3907 -------------+------------------------------ Adj R-squared = 0.3900 Total | 1220.83228 5434 .224665491 Root MSE = .37018 ------------------------------------------------------------------------------ lny | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- s | .0513684 .0018458 27.83 0.000 .0477498 .054987 ex | .0237504 .0019824 11.98 0.000 .0198641 .0276367 exsq | -.0003949 .0000347 -11.37 0.000 -.000463 -.0003268 mar | .0827871 .0124536 6.65 0.000 .058373 .1072012 sex | .4224617 .0108414 38.97 0.000 .4012082 .4437152 pub | .0965578 .0140883 6.85 0.000 .0689391 .1241765 _cons | 8.720606 .0333024 261.86 0.000 8.65532 8.785892 ------------------------------------------------------------------------------ . reg lny s ex exsq mar sex pub if year==2000 Source | SS df MS Number of obs = 6071 -------------+------------------------------ F( 6, 6064) = 758.47 Model | 518.464809 6 86.4108015 Prob > F = 0.0000 Residual | 690.862017 6064 .113928433 R-squared = 0.4287 -------------+------------------------------ Adj R-squared = 0.4282 Total | 1209.32683 6070 .199230119 Root MSE = .33753 ------------------------------------------------------------------------------ lny | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- s | .0776093 .0017832 43.52 0.000 .0741137 .081105 ex | .0187139 .0016223 11.54 0.000 .0155336 .0218942 exsq | -.0001794 .0000306 -5.86 0.000 -.0002395 -.0001194 mar | .0761743 .0103914 7.33 0.000 .0558035 .0965451 sex | .3047198 .0089702 33.97 0.000 .287135 .3223045 pub | .149181 .0126115 11.83 0.000 .1244579 .173904 _cons | 8.94475 .0304248 294.00 0.000 8.885107 9.004393 ------------------------------------------------------------------------------ . . log close log: ps3.log log type: text closed on: 22 Nov 2002, 15:31:44 ---------------------------------------------------------------------------------------