Simulations in Stata

  Рет қаралды 924

Mikko Rönkkö

Mikko Rönkkö

Күн бұрын

Пікірлер: 14
@Rezayyyyyyyyy
@Rezayyyyyyyyy 9 ай бұрын
Thanks for the video especially the parallel processing command. I have two questions. 1: isn't better to simulate the standard errors separately instead of calculating them from the simulated beta estimates? They might not be always identical. 2: How to store whether an SEM model converged or not when simulating? I am currently (probably) using a sub-optimal way to do this. I am currently simulating the RMSEA and Chi-square to see if they are missing and also checking whether standard errors are missing. Is there any way to directly store the convergence error in the simulations' files as a separate variable?
@mronkko
@mronkko 9 ай бұрын
1) I do not understand the first question. SEs are calculated based on the simulated datasets. 2) You can get convergence status from e(converged). For example. run webuse census13 sem (
@Rezayyyyyyyyy
@Rezayyyyyyyyy 9 ай бұрын
@@mronkkoThanks. I meant that instead of getting the standard deviation of estimates by the command summarize, we directly simulate the standard error for beta from each sample and store them. That is instead of (simulate _b) and using the summarize command to get the standard deviation of bs, we directly simulate the standard errors for each sample (simulate _b _se). Do they differ?
@mronkko
@mronkko 9 ай бұрын
@@Rezayyyyyyyyy It depends on what you want to study with the Monte Carlo simulation. If you want to study the precision of estimate, you look at the SD of the estimates and ignored the SEs. If you want to study whether the SEs are unbiased, you store the SEs and compare the average SE against the SD of the estimates.
@AngusB-o9x
@AngusB-o9x 3 ай бұрын
Is this a microsimulations approach? I require to use microsimulations method for a labour economics/migration project so would this video be applicable to that as well?
@mronkko
@mronkko 3 ай бұрын
I have never heard the term microsimulations, so the answer is probably no.
@AngusB-o9x
@AngusB-o9x 3 ай бұрын
@@mronkkoso could I produce a counter factual dataset to a regression from your approach or not?
@mronkko
@mronkko 3 ай бұрын
@@AngusB-o9x I guess you could, but it really depends on what specifically you mean by that. The video is generally about simulating datasets, not simulating any specific kind of data.
@AngusB-o9x
@AngusB-o9x 3 ай бұрын
@@mronkkoI note in the economic literature there is a micro simulation method used. I intend to use the British Labour market survey to evaluate the impact of immigration on inequality. Would it be possible to simulate this counter factual dataset using the method you discuss? Unless you have any other suggestion?
@mronkko
@mronkko 3 ай бұрын
@@AngusB-o9x I discuss how to simulate data generally. Consider an analogy: you want to become a novelist. This video would explain you what alphabets are, but not really how you apply them together to form sentences that form a story. I do discuss simulating counterfactuals in a couple of different videos on mediation and if I remember correctly the show code examples too. But I am not sure if that is applicable to your context.
@laxmanpokhrel5153
@laxmanpokhrel5153 9 ай бұрын
Thank you Professor for wonderful video! It would be even better if you prepare video from your paper of simulation! It will be productive for us!
@mronkko
@mronkko 9 ай бұрын
Here you go: osf.io/mjzyw I actually recorded these screencasts specifically for that paper. I will link it to the video description after it is published. (Or if it is published)
@alinik4737
@alinik4737 9 ай бұрын
Thank you Mikko!
@mronkko
@mronkko 7 ай бұрын
You are welcome!
Time Series Talk : Autoregressive Model
8:54
ritvikmath
Рет қаралды 341 М.
11: Correlation and Regression  شرح الإرتباط والإنحدار
28:35
Prof. Mohammad El-Ashhab أ.د. محمد الأشهب
Рет қаралды 168 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Monte Carlo Simulation in Stata
11:31
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 24 М.
Learn Statistical Regression in 40 mins! My best video ever. Legit.
40:25
Eisenhardt's approach to multiple case study
13:17
Mikko Rönkkö
Рет қаралды 15 М.
Multiple Regression from beginning to end in 30 minutes.
33:07
R Programming 101
Рет қаралды 18 М.
Chess Feels Easy Once You Use This Thinking System
28:37
Journey to Grandmaster
Рет қаралды 27 М.
bootstrapped prediction intervals
20:21
James Scott
Рет қаралды 6 М.
Stata Tutorial: Monte Carlo Simulations Part 1
12:44
William Reed
Рет қаралды 38 М.
REGHDFE - Panel Data (Stata)
6:53
Cool Econometrics
Рет қаралды 4,3 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН