Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
g

g

Ratings: (0)|Views: 21|Likes:
Published by bmartindoyle6396
g
g

More info:

Published by: bmartindoyle6396 on Dec 15, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/30/2014

pdf

text

original

 
STATAGRAPHICSREFERENCEMANUAL
RELEASE12
®
A Stata Press PublicationStataCorp LPCollege Station, Texas
 
®
Copyright c
 1985–2011 StataCorp LPAll rights reservedVersion 12Published by Stata Press, 4905 Lakeway Drive, College Station, Texas 77845Typeset in TEXPrinted in the United States of America10 9 8 7 6 5 4 3 2 1ISBN-10: 1-59718-081-5ISBN-13: 978-1-59718-081-8This manual is protected by copyright. All rights are reserved. No part of this manual may be reproduced, storedin a retrieval system, or transcribed, in any form or by any means—electronic, mechanical, photocopy, recording, orotherwise—without the prior written permission of StataCorp LP unless permitted subject to the terms and conditionsof a license granted to you by StataCorp LP to use the software and documentation. No license, express or implied,by estoppel or otherwise, to any intellectual property rights is granted by this document.StataCorp provides this manual “as is” without warranty of any kind, either expressed or implied, including, butnot limited to, the implied warranties of merchantability and fitness for a particular purpose. StataCorp may makeimprovements and/or changes in the product(s) and the program(s) described in this manual at any time and withoutnotice.The software described in this manual is furnished under a license agreement or nondisclosure agreement. The softwaremay be copied only in accordance with the terms of the agreement. It is against the law to copy the software ontoDVD, CD, disk, diskette, tape, or any other medium for any purpose other than backup or archival purposes.The automobile dataset appearing on the accompanying media is Copyright c
 1979 by Consumers Union of U.S.,Inc., Yonkers, NY 10703-1057 and is reproduced by permission from CONSUMER REPORTS, April 1979.Stata, , Stata Press, Mata, , and NetCourse are registered trademarks of StataCorp LP.Stata and Stata Press are registered trademarks with the World Intellectual Property Organization of the United Nations.NetCourseNow is a trademark of StataCorp LP.Other brand and product names are registered trademarks or trademarks of their respective companies.For copyright information about the software, type
 help copyright
 within Stata.The suggested citation for this software isStataCorp. 2011.
 Stata: Release 12 
. Statistical Software. College Station, TX: StataCorp LP.
 
i
Table of contents
[G-1] Introduction and overview
intro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to graphics manual 3graph intro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to graphics 5graph editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Graph Editor 25
[G-2] Commands
graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The graph command 45graph bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bar charts 48graph box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Box plots 77graph combine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Combine multiple graphs 94graph copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copy graph in memory 102graph describe . . . . . . . . . . . . . . . . . . . . . . Describe contents of graph in memory or on disk 103graph dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . List names of graphs in memory and on disk 105graph display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Display graph stored in memory 107graph dot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dot charts (summary statistics) 115graph drop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Drop graphs from memory 128graph export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Export current graph 130graph manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Graph manipulation commands 133graph matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Matrix graphs 136graph other . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other graphics commands 146graph pie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pie charts 150graph play . . . . . . . . . . . . . . . . . . . . . . . . . . . . Apply edits from a recording on current graph 161graph print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Print a graph 162graph query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . List available schemes and styles 165graph rename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rename graph in memory 167graph save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Save graph to disk 168graph set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Set graphics options 170graph twoway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway graphs 172graph twoway area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway line plot with area shading 179graph twoway bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway bar plots 184graph twoway connected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway connected plots 193graph twoway contour . . . . . . . . . . . . . . . . . . . . . . . . Twoway contour plot with area shading 195graph twoway contourline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway contour-line plot 202graph twoway dot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway dot plots 207graph twoway dropline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway dropped-line plots 211graph twoway fpfit . . . . . . . . . . . . . . . . . . . . . Twoway fractional-polynomial prediction plots 215graph twoway fpfitci . . . . . . . . . . . . Twoway fractional-polynomial prediction plots with CIs 218graph twoway function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway line plot of function 222graph twoway histogram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Histogram plots 227graph twoway kdensity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Kernel density plots 233graph twoway lfit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway linear prediction plots 237graph twoway lfitci . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway linear prediction plots with CIs 241graph twoway line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Twoway line plots 247graph twoway lowess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Local linear smooth plots 254graph twoway lpoly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Local polynomial smooth plots 257graph twoway lpolyci . . . . . . . . . . . . . . . . . . . . . . . . Local polynomial smooth plots with CIs 260

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->