Dear statalist,
I have come across two problems with -estimates table- and would
appreciate any advice.
The first one involves the varwidth and label options. Varwidth
works fine as far as widening the first column goes, but the
variable labels (produced by labels) are truncated. For example,
setting varwidth to 50 works fine, but the labels are truncated at
32 characters. I have had a look through the code to see what
might be causing this, but have not been able to find anything.
The code beneath my signature illustrates the problem.
The second problem concerns cutting and pasting the table. The copy
table option does not seem to place tab characters into the pasted
table text. it has always worked perfectly fine with other table
output (eg. tabulate, tabstat) but it does not work with -estimates
table-. I cannot think of a reason for this, but would appreciate any
insights.
Details of my setup are:
Stata 8.2, born 30 Jan 2004
Windows 2000 (SP3)
Pentium with 512 meg of ram
I'd appreciate any help.
--
Kind regards,
Ian
=================================
Ian Watson
Senior Researcher
acirrt
University of Sydney
NSW 2006
Australia
Phone: 02 9351 5622
Fax: 02 9351 5615
Email: [email protected]
Web: www.acirrt.com
================================
INITIAL OUTPUT FROM REGRESSION:
Regression with robust standard errors Number of obs = 973
F( 25, 947) = 5.53
Prob > F = 0.0000
R-squared = 0.1145
Root MSE = 1.1494
------------------------------------------------------------------------------
| Robust
lnhours | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
male | .1130724 .0918863 1.23 0.219 -.0672518 .2933966
empstat022 | -.2973041 .1627788 -1.83 0.068 -.6167529 .0221447
empstat023 | -.628584 .1442929 -4.36 0.000 -.9117548 -.3454132
empstat024 | -.3420782 .14056 -2.43 0.015 -.6179234 -.0662331
asco021 | -.5748529 .2122193 -2.71 0.007 -.9913274 -.1583785
asco023 | -.1291646 .1454803 -0.89 0.375 -.4146655 .1563364
asco024 | -.1598727 .1762777 -0.91 0.365 -.5058128 .1860674
asco025 | -.199635 .2678611 -0.75 0.456 -.725305 .326035
asco026 | -.2579195 .1354662 -1.90 0.057 -.5237682 .0079292
asco027 | -.6071662 .234911 -2.58 0.010 -1.068172 -.14616
asco028 | -.6352406 .1831347 -3.47 0.001 -.9946374 -.2758438
asco029 | -.5552702 .2283895 -2.43 0.015 -1.003478 -.1070621
anzic021 | -.6564965 .2656111 -2.47 0.014 -1.177751 -.1352421
anzic022 | -.4737139 .2592083 -1.83 0.068 -.982403 .0349752
anzic023 | -.5373185 .2716387 -1.98 0.048 -1.070402 -.0042352
anzic024 | -.3941097 .3800392 -1.04 0.300 -1.139926 .3517066
anzic025 | -.2392527 .2184737 -1.10 0.274 -.6680013 .1894958
anzic026 | -.6240009 .2300964 -2.71 0.007 -1.075559 -.1724431
anzic027 | .1626313 .3447253 0.47 0.637 -.5138824 .839145
anzic028 | -.3833608 .24534 -1.56 0.118 -.8648338 .0981122
anzic029 | -.3253596 .2293243 -1.42 0.156 -.7754021 .1246829
anzic0211 | -.4419051 .2775714 -1.59 0.112 -.9866313 .1028211
anzic0212 | -.0973142 .2249423 -0.43 0.665 -.5387571 .3441287
anzic0213 | -.5679597 .2410186 -2.36 0.019 -1.040952 -.0949674
anzic0214 | .1519614 .2766988 0.55 0.583 -.3910522 .694975
_cons | 3.171893 .2191751 14.47 0.000 2.741767 3.602018
------------------------------------------------------------------------------
. est store mod1
. est table mod1, varwidth(50) label
NOTE THE TRUNCATION OF THE LABELS:
-----------------------------------------------------------------
Variable | mod1
---------------------------------------------------+-------------
| .11307243
empstat02==F/T casual | -.29730412
empstat02==P/T permanent | -.62858397
empstat02==P/T casual | -.34207824
asco02==manager/admin | -.57485294
asco02==para-prof | -.12916459
asco02==tradesperson | -.1598727
asco02==adv clerical | -.19963498
asco02==inter clerical,sales,ser | -.2579195
asco02==inter production,transpo | -.60716623
asco02==elem clerical,sale,servi | -.63524058
asco02==labourer | -.55527022
ind02==Agriculture, forestry, fi | -.65649649
ind02==Manufacturing | -.47371392
ind02==Construction/Mining | -.53731851
ind02==Wholesale trade | -.39410974
ind02==Retail trade | -.23925273
ind02==Accommodation, cafes, res | -.62400093
ind02==Infrastructure | .16263134
ind02==Finance & insurance | -.38336079
ind02==Property & business servi | -.3253596
ind02==Education | -.4419051
ind02==Health & community servic | -.09731422
ind02==Cultural & recreational s | -.56795966
ind02==Personal & other services | .15196143
Constant | 3.1718926
-----------------------------------------------------------------
EVIDENCE THAT STATA IS STORING THE LABELS CORRECTLY:
. desc anzic021 anzic026
storage display value
variable name type format label variable label
-------------------------------------------------------------------------------
anzic021 byte %8.0g ind02==Agriculture, forestry,
fishing
anzic026 byte %8.0g ind02==Accommodation, cafes,
restaurants
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/