I am attempting to save the results from example 10.3 from Verbeek(2008) as a html file.
If I run as is, and include
- Code: Select all
report(action=show,window="window")
and save the report as a html file via clicking on the disk icon in the report window, I get the results formatted as shown in the example!
However, I want to redirect the report output to another unit:
- Code: Select all
open(format=html) output "/users/myname/Downloads/outfile.html"
... example ...
report(action=show,window="window",unit=output,format=html)
close outfile.html
But the outfile.html in both in Chrome & Safari is as follows:
Panel Regression - Estimation by Between Dependent Variable WAGE Panel(8) of Annual Data From 1//1980:01 To 545//1987:01 Usable Observations 4360 Degrees of Freedom 4351 Variable Coeff Std Error T-Stat Signif ************************************************************************************ 1. Constant 0.490390183 0.221191657 2.21704 0.02667203 2. SCHOOL 0.094791140 0.010917810 8.68225 0.00000000 3. EXPER -0.050207703 0.050368947 -0.99680 0.31891764 4. EXPERSQ 0.005106833 0.003214198 1.58884 0.11217008 5. UNION 0.274319441 0.047127301 5.82082 0.00000001 6. MAR 0.144589734 0.041265397 3.50390 0.00046312 7. BLACK -0.139136809 0.048908383 -2.84485 0.00446405 8. HISP 0.005483243 0.042743617 0.12828 0.89793162 9. PUB -0.056321545 0.109069078 -0.51638 0.60561236 Panel Regression - Estimation by Fixed Effects Dependent Variable WAGE Panel(8) of Annual Data From 1//1980:01 To 545//1987:01 Usable Observations 4360 Degrees of Freedom 3810 Centered R^2 0.6198220 R-Bar^2 0.5650404 Uncentered R^2 0.9640989 Mean of Dependent Variable 1.6491471907 Std Error of Dependent Variable 0.5326094063 Standard Error of Estimate 0.3512637160 Sum of Squared Residuals 470.10141493 Regression F(549,3810) 11.3144 Significance Level of F 0.0000000 Log Likelihood -1331.1040 Variable Coeff Std Error T-Stat Signif ************************************************************************************ 1. EXPER 0.116456987 0.008430897 13.81312 0.00000000 2. EXPERSQ -0.004288566 0.000605442 -7.08337 0.00000000 3. UNION 0.081203033 0.019315924 4.20394 0.00002683 4. MAR 0.045106130 0.018311413 2.46328 0.01381115 5. PUB 0.034926722 0.038608186 0.90465 0.36571041 Linear Regression - Estimation by Least Squares Dependent Variable WAGE Panel(8) of Annual Data From 1//1980:01 To 545//1987:01 Usable Observations 4360 Degrees of Freedom 4351 Centered R^2 0.1865882 R-Bar^2 0.1850926 Uncentered R^2 0.9231877 Mean of Dependent Variable 1.6491471907 Std Error of Dependent Variable 0.5326094063 Standard Error of Estimate 0.4807983407 Sum of Squared Residuals 1005.8078103 Regression F(8,4351) 124.7593 Significance Level of F 0.0000000 Log Likelihood -2989.2073 Durbin-Watson Statistic 0.9978 Variable Coeff Std Error T-Stat Signif ************************************************************************************ 1. Constant -0.034372451 0.064672301 -0.53149 0.59510887 2. SCHOOL 0.099367823 0.004682887 21.21935 0.00000000 3. EXPER 0.089138048 0.010121486 8.80681 0.00000000 4. EXPERSQ -0.002846822 0.000707708 -4.02260 0.00005854 5. UNION 0.179904268 0.017214604 10.45068 0.00000000 6. MAR 0.107621160 0.015705278 6.85255 0.00000000 7. BLACK -0.143822674 0.023563045 -6.10374 0.00000000 8. HISP 0.015650301 0.020819661 0.75171 0.45226747 9. PUB 0.003546143 0.037473955 0.09463 0.92461344 Panel Regressi
How do I correctly format the report?
thanks,
Amarjit