Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Data Analysis with STATA

You're reading from  Data Analysis with STATA

Product type Book
Published in Oct 2015
Publisher Packt
ISBN-13 9781782173175
Pages 176 pages
Edition 1st Edition
Languages

Table of Contents (16) Chapters

Data Analysis with Stata
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Introduction to Stata and Data Analytics 2. Stata Programming and Data Management 3. Data Visualization 4. Important Statistical Tests in Stata 5. Linear Regression in Stata 6. Logistic Regression in Stata 7. Survey Analysis in Stata 8. Time Series Analysis in Stata 9. Survival Analysis in Stata Index

Box plots


Another way to look at data is box plots; they are also called box and whiskers plots.

In box plots, a box ranges from a quartile in the lower range, which is also 25th percentile of data, to a quartile in the upper range, which is the 75th percentile. It also contains a line in the median value, which is the 50th percentile.

Then, you have whiskers plots. Whiskers generally range from the quartile with a low value and a low adjacent value to the quartile in the upper range and upper adjacent value.

Lower Adjacent Value = lower quartile – 3/ 2 IQR

Upper Adjacent Value = upper quartile + 3/2 IQR

Observations after the lower and upper adjacent value are plotted in terms of points; for example, take a look at the following:

graph box scores

The output of this command is shown in the following figure:

You can divide these graphs by categorical variables; for example, take a look at the following:

 –graph box scores, over(sex)
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}