How to make scatter plot in Stata using code | Stata Tutorial

preview_player
Показать описание
In our previous video we used menus to create scatter plot, but In this video we are using code to create scatter plot. this will help use understand the code in state. So how to make scatter plot in state using code is the main subject of this video.

Download the exercise file:

00:00 Introduction to Scatter plot
1:06 Simple Scatter plot
3:38 Fitted Line over scatter plot
4:26 Quadratic Line over scatter plot
5:02 Marker properties
6:05 Add label to dots
9:43 Different marker for each category
11:55 Title, Xtitle, Ytitle
16:57 Graph for different category
19:24 Jitter in Scatter Plot
22:04 Scatter plot for large dataset
26:49 Binscatter

Best 10 Introductory Econometrics Books

Regression Models for Categorical Dependent Variables Using Stata, by J. Scott Long and Jeremy Freese

STATA Guide for Introductory Econometrics for Finance by Chris Brooks

Introduction to Time Series Using Stata, by Sean Becketti

Discovering Structural Equation Modeling Using Stata, by Alan C. Acock

Disclaimer: Some links are affiliate links that help the channel at no cost to you.
Рекомендации по теме
Комментарии
Автор

When you are running different marker for each category. the video has two separate marker color representing price price and not domestic and foreign . I want legend green marker to be domestic and red marker foreign in Legend.

varunmiglani