public

Public - Making Working Publication-style Tables in Stata See also the courses documents Making Contingency Tables in Stata and Editing Stata estab

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Making Working & Publication-style Tables in Stata See also the course’s documents ‘Making Contingency Tables in Stata’ and ‘Editing Stata estab and outreg2 Tables in MS-Word’. Gary Klass, “How to Construct Bad Charts and Graphs” http://lilt.ilstu.edu/gmklass/pos138/datadisplay/badchart.htm Gary Klass, “Presenting Data: Tabular and graphic display of social indicators” http://lilt.ilstu.edu/gmklass/pos138/datadisplay/ Jon Kolko, “Edward Tufte” (on principles of data presentation) http://facultypages.scad.edu/~jkolko/_IACT370_InformationArchitecture/IACT370_0 5_TuftePrinciples.pdf Note: Copying tables directly from the Stata Results-window to MS-Word works well if MS-Word is formatted to display Courier 11 point or less (which is a fixed-space font). If necessary you can then change to a proportionally spaced font (such as Times New Roman) in MS-Word, but doing so may involve considerable formatting (see the course web document ‘Editing estab and outreg2 Tables in MS-Word’). Here are examples of Stata table-making commands, which you can obtain by using ‘findit,’ ‘help,’ Stata listserv, ‘UCLA Resources for Learning Stata’, and ‘ssc whatsnew.’ § tabstat, statsmat, tablemat, fsum, and tabform: summary tables (see also ‘findit …’ for svytabs and svytabform). § tabout: publication-style summary and contingency tables (see also svytabs and svytabform). § mkcorr, corrtab, and makematrix: publication-style correlation matrices. § The combination of eststo and esttab (which is a spin-off from estout; see below): not only displays publication-style regression tables in the Stata results window, but also can directly produce them in Word or Excel, and output them to LaTeX. § outreg2: can directly create regression tables in Word or Excel, and output them to LaTeX. Formatting ‘by group’: By-group as row variable Ave. Income % Poverty Community1 12,636 34.3 Community2 15,151 31.1 Community3 16,204 29.5
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 By-group as column variable Community1 Community 2 Community 3 Ave. income 12,236 15,151 16,204 % poverty 34.3% 31.1% 29.5% § tabstat help tabstat tabstat read write math science, stats(mean med sd min max) format(%9.2f) tabstat read write math science, stats(mean med sd min max) format(%9.2f) col(stats) tabstat read write math science, stats(mean med sd min max) format(%9.2f) by(female) col(stats) Note: ‘semean’ displays standard error, ‘cv’ displays coefficient of variation. § statsmat (findit & download; basically the same as tabstat, but displays & exports table as matrix) findit statsmat help statsmat statsmat science, by(female) f(%9.0f) s(n min q max) matrix(m1) statsmat science, by(female) f(%9.0f) s(n min q max) xpose matrix(m2) § tablemat (findit & download; permits more flexible use of by-variables and labeling than tabstat & statsmat; displays the same statistics as tabstat, but displays only one statistic at a time) findit tablemat help tablemat tablemat read write math, st(mean) by(ses) name(table) format(%9.2f)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/11/2011 for the course SYA 6305 taught by Professor Tardanico during the Fall '08 term at FIU.

Page1 / 9

Public - Making Working Publication-style Tables in Stata See also the courses documents Making Contingency Tables in Stata and Editing Stata estab

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online