Stata Tutorials Topic 5: Pie Charts for a Single Categorical Variable
A pie chart has a similar function as a bar chart. We can use it to
show the number of observations or the percentage for each category of a categorical variable.
Please download the dataset for this video:
https://drive.google.com/file/d/1QZt_...
The Stata commands in this video:
*use the course dataset
use "/Users/bobwen/Documents/10. Alison/Datasets/bob.dta", clear
*Basic Syntax
graph pie, over(educ)
*Options
graph pie, over(educ) plabel(_all sum)
graph pie, over(educ) plabel(_all percent)
graph pie, over(educ) plabel(_all percent) sort descending
graph pie, over(educ) plabel(_all percent) pie(4, explode)
Some courses on my Youtube channel:
Economics in Real Life:
• Economics in Real Life
Solutions to Introductory Econometrics A Modern Approach 7th Edition:
• Solutions to Introductory Econometric...
Introductory Stata:
• Introductory Stata (2022)
Introductory Microeconomics:
• Introductory Microeconomics (2022)
Five Minute Econometrics:
• Five Minute Econometrics (Econometric...
Five Minute Stata:
• Stata Tutorials
【國語Mandarin】生活中的經濟學:
• 【Mandarin國語】現實生活中的經濟學
【粵語Cantonese】生活中的經濟學:
• 【Cantonese粵語】現實生活中的經濟學
【粵語Cantonese】微觀經濟學基礎:
• 粵語Cantonese微觀經濟學基礎2022
【國語Mandarin】五分鐘計量經濟學:
• 【Mandarin國語】五分鐘計量經濟學(計量經濟學輔導)
【粵語Cantonese】五分鐘計量經濟學:
• 【Cantonese粵語】五分鐘計量經濟學(計量經濟學輔導)
On the Road:
• On the Road
#piechart #Stata #StataGraph #tutorial
Watch video How to Draw Pie Charts in Stata? | Stata Graphics and Data Visualization | Stata Tutorials Topic 5 online without registration, duration hours minute second in high quality. This video was added by user Dr. Bob Wen (Stata, Economics, Econometrics) 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 783 once and liked it 21 people.