this vid just saved me. thank you so much, your explanation is so easy to follow, was never even told you could just paste the data code instead of downloading all 40 different data.(still crying though). again thank you Mike.
@sofiaalejandrabravoruiz46463 жыл бұрын
I´m from Ecuador and this video just saved me!!!! THANK YOU
@rafhurffer78843 жыл бұрын
You've saved my life and my degree, in that order
@vpphil Жыл бұрын
Thanks Mike. Great job.
@jasondew10543 жыл бұрын
Great video! I think k in the statistical table represents the explanatory variable (excluding the constant), hence in the example you were using, it is just 1.
@sky.5825 жыл бұрын
Thanks man i've been struggling with Stata for a while
@mikejonaseconometrics18864 жыл бұрын
Glad it was helpful!
@jjgroup.investments4 жыл бұрын
Great explanation! Best Regards from Buenos Aires
@mikejonaseconometrics18864 жыл бұрын
Thank you!
@rabihel-habta3135 жыл бұрын
Amazing professor just have one comment could after uploading any tutorial include in the video description just the links for other tutorials if mentions in the uploded video? Which will ease finding the exact videos
@nadiataylor6263 жыл бұрын
Hi, do you know how I can test for autocorrelation in a panel data with 2Ts?
@fanaaraf86632 жыл бұрын
Hi Mike! I have cross sectional loan data. I want to test the impact of a unique independent variable X on interest rate. I will control for loan characteristics and borrower characteristics. I also want to control for macroeconomic variables such as unemployment, bond yield etc. my macroeconomic variables are monthly data. Should I use the same test as you used here to test autocorrelation for OLS?
@mazenmourad95463 жыл бұрын
Hi mike. How do I know whether to use xtreg or xtregar for fixed effects ??
@gglucs17993 жыл бұрын
thank you
@mikejonaseconometrics18863 жыл бұрын
very welcome!
@daphneashba4 жыл бұрын
When i was trying regress uhat on 1.uhat some error occurred. uhat: factor variables may not contain noninteger values r(452);
@mikejonaseconometrics18864 жыл бұрын
Ahh, the lag operator is the letter “L”, which looks just like a “one” in the stata font. Use “reg uhat L.uhat”. A very common mistake!
@daphneashba4 жыл бұрын
@@mikejonaseconometrics1886 Thank you sir .
@djangohinio3 жыл бұрын
Thank you :)
@mikejonaseconometrics18863 жыл бұрын
You're welcome!
@yuxinzhao24714 жыл бұрын
An error comes up after the demand "tsline..." saying "time variable not set, use tsset varname...". What does that mean? The return code is 111.
@mikejonaseconometrics18864 жыл бұрын
You first need to create a variable that tracks each observation over time, the easiest of which is 'trend' = 1,2,3, ...etc. try this: 'gen trend=_n'; tsset trend'. Then the commands will work.
@yuxinzhao24714 жыл бұрын
@@mikejonaseconometrics1886 Thank you! It worked!
@itlove95774 жыл бұрын
I just liked this tutorial - Great! At the same time, I was wondering if you could recommend a test for autocorrelation in case of cross-sectional data. Specifically, I surveyed employees from one industry - namely the IT sector. Furthermore, I do not analyse geographical data.
@mikejonaseconometrics18864 жыл бұрын
Hi - glad you found the video helpful! It sounds like you might want to investigate "cluster-robust" standard errors for your cross sectional data. This will correct for cases of error correlated across employees in the same sector or region. In stata: reg y x,vce(cluster id). [where id is your sector variable]
@shelleyxueqili81653 жыл бұрын
Thanks so much for asking this question!
@shelleyxueqili81653 жыл бұрын
@@mikejonaseconometrics1886 Super clear, Professor!
@glendurgrantig13915 жыл бұрын
really helpful video
@Dr_Shiny5 жыл бұрын
Fantastic work. hats off. Sir, I have a panel data, T=41, N=16 (T>N). Dear Prof. When I run "estat dwatson" in Stata, It gives me this error "sample may not include multiple panels" Please help me to solve it.
@mikejonaseconometrics18865 жыл бұрын
The Durbin-Watson test is valid only for pure time series, and does not handle autocorrelation within panel data. There is a command "xtserial" that should work for you, although I do not have a tutorial for it.
@Dr_Shiny5 жыл бұрын
Mike Jonas Econometrics thank you dear Prof
@porschelouis61955 жыл бұрын
excuse me ‘teacher, can i ask for UNRATE what’s it and what command for creating
@mikejonaseconometrics18864 жыл бұрын
UNRATE is the code for US unemployment rate used by the Federal Reserve Economic Database. Use these commands to acquire the data series from within Stata: 'ssc install freduse'; 'freduse UNRATE'
@silarbiyoucef58884 жыл бұрын
what about autocorelation in panel data ?
@mikejonaseconometrics18864 жыл бұрын
Hi - Great Question! The 'xtregar' command will let you run FE or RE with an autocorrelated idiosyncratic disturbance term (www.stata.com/manuals13/xtxtregar.pdf). For panel autocorrelation due to the time-invariant error, FE, RE or cluster robust SE will handle that.