Stata Tutorial: Combining Graphs

  Рет қаралды 33,463

Mike Jonas Econometrics

Mike Jonas Econometrics

Күн бұрын

Using example time series data, we show how to save, edit, and combine graphs in Stata. Very useful for analysis and presentation of data.

Пікірлер: 20
@Bertboterham
@Bertboterham 3 жыл бұрын
You have become my personal hero tonight. I think it's great how you do not just answer one small main question, but rather take the time to address the broader spectrum of issues that may arise around it. Thanks so much!
@LaVictoireRosee
@LaVictoireRosee 5 жыл бұрын
Brilliant! Thank you :)
@tallyskalynkafeldens1753
@tallyskalynkafeldens1753 3 жыл бұрын
Great, Mike! Thanks!!
@mikejonaseconometrics1886
@mikejonaseconometrics1886 3 жыл бұрын
Glad you liked it!
@karakesteven6617
@karakesteven6617 3 жыл бұрын
Thank you so much, Mike, I have a pooled panel datasets for two years (2014 &2017) and am writing a thesis on the determinants of total factor productivity (TFP) in the service sector. I have two objectives (1) to determine the levels of TFP and (2) analyzing the determinants of TFP. the literature suggests that TFP is got from a predicted residual and the levels of TFP are obtained as an exponential of TPF. My problem is how do drow a graph showing the levels of TFP because the figures of that generated exponential variable are in millions. Thanks
@brr3754
@brr3754 4 жыл бұрын
Thanks for saving my report by YT from Taiwan
@barbarahills
@barbarahills 3 жыл бұрын
freduse awesome
@teopalatini9230
@teopalatini9230 2 жыл бұрын
Mike, i have a question ? how do you create a two-way scatter combining 2 variables. for Example " use variable X as a function of variable Y"
@andrewncube283
@andrewncube283 3 жыл бұрын
How do I copy the combined graphs into an .rtf or .docx or doc document?
@rabihel-habta313
@rabihel-habta313 5 жыл бұрын
wow very instructive!, if I may ask what screen recorder are you using?
@mikejonaseconometrics1886
@mikejonaseconometrics1886 5 жыл бұрын
Glad it was helpful. I use ActivePresenter to record and iMovie for any edits. Thanks!
@tboyt3682
@tboyt3682 4 жыл бұрын
Hello Mike, your video has really helped me thank you. But I have 2 questions. Question#1: I have not been able to complete the same exercise as you did on this video, the reason being that I'm getting an error message each time I type and enter "tsset daten". the error says: string variables not allowed in the varlist; "daten" is a string variable. Why do I get this error comment?. Question#2: is "rnas=d" a command?
@mikejonaseconometrics1886
@mikejonaseconometrics1886 4 жыл бұрын
Following 'freduse NASDAQCOM', for example, the variable 'date' will be string or text, but 'daten' should be numeric and able to be used as the time-series indicator. In the tutorial, I used the command 'gen rnas=d.NASDAQCOM/L.NASDAQCOM' to generate the percent change or return on the NASDAQ index level. So 'rnas' is just the name I used for this new variable, and not a part of a general command. If we let 'newvar' be the name of the variable we create, and 'oldvar' be the name of an existing variable, the general form for a generate statement would be: generate newvar = f(oldvar). I hope this helps!
@minnatuominen4518
@minnatuominen4518 4 жыл бұрын
Thank you! This is very useful! For same reason, Stata gives me an error message (option name() not allowed r(198);) when I try to name the graphs following your command (e.g. tsline NASDAQCOM, name (level)). I wonder, what could be the problem?
@mikejonaseconometrics1886
@mikejonaseconometrics1886 4 жыл бұрын
Hi - I'm not sure what the issue might be, I just replicated your command and did not get an error. I'm using Stata 15 and 16, are you using an earlier version?
@wagnersantos7748
@wagnersantos7748 3 жыл бұрын
I've got the same problem: option name not allowed; invalid 'name'
@wagnersantos7748
@wagnersantos7748 3 жыл бұрын
@@mikejonaseconometrics1886 I'm using Stata 16
@wagnersantos7748
@wagnersantos7748 3 жыл бұрын
Minna, I solved the problem. Maybe it changes by version. In my case, I generate the graph first, then click at "start graph editor", then I click on "rename graph" (this symbol in on the top), then I give a name and save. After you do this for every graph you intend to combine, you can use the command "graph combine ......". Hope it helps.
@lamiyasmriti4327
@lamiyasmriti4327 2 жыл бұрын
But How can I import graph in ms word
@victorrodriguez5981
@victorrodriguez5981 3 жыл бұрын
Video starts: 6:20
Stata Quick Tip:  Creating a Variable List with a Macro
4:42
Mike Jonas Econometrics
Рет қаралды 15 М.
Combining graphs in Stata (Sept, 2021)
7:21
Mike Crowson
Рет қаралды 23 М.
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 20 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 33 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 119 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН
Introduction to Programming Loops in Stata
17:25
Mike Jonas Econometrics
Рет қаралды 18 М.
Stata Tutorial: Correcting Autocorrelated Errors in OLS
21:37
Mike Jonas Econometrics
Рет қаралды 25 М.
Creating and Editing Graphs in Stata
11:08
SebastianWaiEcon
Рет қаралды 99 М.
Stata Tutorial: Cointegration and Error Correction
13:25
Mike Jonas Econometrics
Рет қаралды 33 М.
Using Stata to Create Bar Graphs
16:25
Alan Neustadtl
Рет қаралды 51 М.
STATA Time Series Tutorial: the Rolling Window RARDL
18:44
Noman Arshed
Рет қаралды 2 М.
Stata Tutorial: Out of Sample Forecasts
17:12
Mike Jonas Econometrics
Рет қаралды 21 М.
Time Series Forecasting Example in RStudio
37:53
Adam Check
Рет қаралды 141 М.
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 20 МЛН