Welcome to SHAZAM - Version 10.0 - APR 2007 SYSTEM=WIN-XP PAR= 11000 CURRENT WORKING DIRECTORY IS: C:\Econ399F12\web2012 |_* a simple shazam example program |_* the location of the data file will need to be changed before running the program |_READ (c:\Econ399F12\Web2012\sampledat.txt) id netRRSP taxbasic taxlowm taxhighm totinc female empwkft age / skiplines=1 UNIT 88 IS NOW ASSIGNED TO: c:\Econ399F12\Web2012\sampledat.txt ...SAMPLE RANGE IS NOW SET TO: 1 150 |_* obtain statistics .... look at these to check for obvious errors |_* in reading the data set |_STAT / ALL NAME N MEAN ST. DEV VARIANCE MINIMUM MAXIMUM ID 150 75.500 43.445 1887.5 1.0000 150.00 NETRRSP 150 997.82 2788.4 0.77750E+07 -15000. 15000. TAXBASIC 150 10.068 0.52251 0.27302 8.7900 11.000 TAXLOWM 150 25.068 0.52251 0.27302 23.790 26.000 TAXHIGHM 150 46.304 1.6675 2.7807 39.000 48.250 TOTINC 150 54817. 47211. 0.22289E+10 8500.0 0.55000E+06 FEMALE 150 0.50667 0.50163 0.25163 0.0000 1.0000 EMPWKFT 150 51.000 3.0345 9.2081 36.000 52.000 AGE 150 41.973 10.414 108.46 18.000 54.000 |_* generate average weekly income (per week of full-time employment) |_genr awinc=totinc/empwkft |_* generate age-squared for quadratic functional form |_genr agesq=age*age |_* run ols and save residuals (for white test and bp test) |_ols netrrsp awinc age agesq taxbasic / resid=uhat R-SQUARE = 0.0728 R-SQUARE ADJUSTED = 0.0472 VARIANCE OF THE ESTIMATE-SIGMA**2 = 0.74079E+07 STANDARD ERROR OF THE ESTIMATE-SIGMA = 2721.8 SUM OF SQUARED ERRORS-SSE= 0.10742E+10 ANALYSIS OF VARIANCE - FROM MEAN SS DF MS REGRESSION 0.84332E+08 4. 0.21083E+08 ERROR 0.10742E+10 145. 0.74079E+07 TOTAL 0.11585E+10 149. 0.77750E+07 VARIABLE NAME AWINC AGE AGESQ TAXBASIC CONSTANT ESTIMATED STANDARD COEFFICIENT ERROR 0.56260 0.2362 395.61 208.4 -5.5036 2.723 577.09 441.6 -11737. 6484. T-RATIO 145 DF 2.382 1.898 -2.021 1.307 -1.810 F 2.846 P-VALUE 0.026 PARTIAL STANDARDIZED ELASTICITY P-VALUE CORR. COEFFICIENT AT MEANS 0.019 0.194 0.1912 0.6093 0.060 0.156 1.4775 16.6413 0.045-0.166 -1.5711 -10.3114 0.193 0.108 0.1081 5.8230 0.072-0.149 0.0000 -11.7622 JARQUE-BERA NORMALITY TEST- CHI-SQUARE(2 DF)= 957.1359 P-VALUE= 0.000 GOODNESS OF FIT TEST FOR NORMALITY OF RESIDUALS - 12 GROUPS OBSERVED 2.0 1.0 0.0 1.0 14.0 79.0 23.0 13.0 11.0 3.0 1.0 2.0 EXPECTED 0.9 2.5 6.6 13.8 22.5 28.7 28.7 22.5 13.8 6.6 2.5 0.9 CHI-SQUARE = 121.5463 WITH 5 DEGREES OF FREEDOM, P-VALUE= 0.000 |_diagnos / het REQUIRED MEMORY IS PAR= 49 CURRENT PAR= 11000 DEPENDENT VARIABLE = NETRRSP 150 OBSERVATIONS REGRESSION COEFFICIENTS 0.562598287085 395.609607284 -5.50358619883 -11736.5320430 577.091732880 HETEROSKEDASTICITY TESTS CHI-SQUARE TEST STATISTIC E**2 ON YHAT: 7.150 E**2 ON YHAT**2: 6.361 E**2 ON LOG(YHAT**2): 2.881 E**2 ON LAG(E**2) ARCH TEST: 0.089 LOG(E**2) ON X (HARVEY) TEST: 62.809 ABS(E) ON X (GLEJSER) TEST: 54.301 E**2 ON X TEST: KOENKER(R2): 9.239 B-P-G (SSR) : 66.142 D.F. P-VALUE 1 1 1 1 4 4 0.00750 0.01167 0.08960 0.76518 0.00000 0.00000 4 4 0.05540 0.00000 ...MATRIX INVERSION FAILED IN ROW 7 ...RESULTS MAY BE UNRELIABLE E**2 ON X X**2 (WHITE) TEST: KOENKER(R2): ********** B-P-G (SSR) : ********** 8 8 ********* ********* ...MATRIX INVERSION FAILED IN ROW 7 ...RESULTS MAY BE UNRELIABLE E**2 ON X X**2 XX (WHITE) TEST: KOENKER(R2): ********** B-P-G (SSR) : ********** 14 14 ********* ********* |_* info for NR2 version of BP test - double check with diagnos / het resutls |_genr uhat2=uhat*uhat |_ols uhat2 awinc age agesq taxbasic 150 OBSERVATIONS R-SQUARE = 0.0616 DEPENDENT VARIABLE= UHAT2 R-SQUARE ADJUSTED = 0.0357 |_* squares and cross-products for white test (since can't use diagnos / het results) |_genr x1sq=awinc*awinc |_genr x3sq=agesq*agesq |_genr x4sq=taxbasic*taxbasic |_genr x1x2= awinc*age |_genr x1x3=awinc*agesq |_genr x1x4= awinc*taxbasic |_genr x2x3=age*agesq |_genr x2x4= age*taxbasic |_genr x3x4=agesq*taxbasic |_* perform white test regression; test statistic will be NR2 |_ols uhat2 awinc age agesq taxbasic x1sq x3sq x4sq x1x2 x1x3 x1x4 x2x3 x2x4 x3x4 150 OBSERVATIONS DEPENDENT VARIABLE= UHAT2 R-SQUARE = 0.1673 R-SQUARE ADJUSTED = 0.0877 |_* use het consistent standard errors and use test command for any F tests |_ols netrrsp awinc age agesq taxbasic / hetcov REQUIRED MEMORY IS PAR= 35 CURRENT PAR= 11000 OLS ESTIMATION 150 OBSERVATIONS DEPENDENT VARIABLE= NETRRSP ...NOTE..SAMPLE RANGE SET TO: 1, 150 USING HETEROSKEDASTICITY-CONSISTENT COVARIANCE MATRIX R-SQUARE = 0.0728 R-SQUARE ADJUSTED = 0.0472 VARIANCE OF THE ESTIMATE-SIGMA**2 = 0.74079E+07 STANDARD ERROR OF THE ESTIMATE-SIGMA = 2721.8 SUM OF SQUARED ERRORS-SSE= 0.10742E+10 REGRESSION ERROR TOTAL VARIABLE NAME AWINC AGE AGESQ TAXBASIC CONSTANT ANALYSIS OF VARIANCE - FROM MEAN SS DF MS 0.84332E+08 4. 0.21083E+08 0.10742E+10 145. 0.74079E+07 0.11585E+10 149. 0.77750E+07 ESTIMATED STANDARD COEFFICIENT ERROR 0.56260 0.4659 395.61 244.4 -5.5036 3.309 577.09 508.9 -11737. 7923. T-RATIO 145 DF 1.208 1.619 -1.663 1.134 -1.481 F 2.846 P-VALUE 0.026 PARTIAL STANDARDIZED ELASTICITY P-VALUE CORR. COEFFICIENT AT MEANS 0.229 0.100 0.1912 0.6093 0.108 0.133 1.4775 16.6413 0.098-0.137 -1.5711 -10.3114 0.259 0.094 0.1081 5.8230 0.141-0.122 0.0000 -11.7622 JARQUE-BERA NORMALITY TEST- CHI-SQUARE(2 DF)= 957.1359 P-VALUE= 0.000 GOODNESS OF FIT TEST FOR NORMALITY OF RESIDUALS - 12 GROUPS OBSERVED 2.0 1.0 0.0 1.0 14.0 79.0 23.0 13.0 11.0 3.0 1.0 2.0 EXPECTED 0.9 2.5 6.6 13.8 22.5 28.7 28.7 22.5 13.8 6.6 2.5 0.9 CHI-SQUARE = 121.5463 WITH 5 DEGREES OF FREEDOM, P-VALUE= 0.000 |_test |_test awinc=0 |_test age=0 |_test agesq=0 |_test taxbasic=0 |_end F STATISTIC = 1.2793777 WITH 4 AND 145 D.F. P-VALUE= 0.28082 WALD CHI-SQUARE STATISTIC = 5.1175110 WITH 4 D.F. P-VALUE= 0.27545 UPPER BOUND ON P-VALUE BY CHEBYCHEV INEQUALITY = 0.78163 |_stop