Basic Regression Commands in Stata

  Рет қаралды 48,574

Alan Neustadtl

Alan Neustadtl

Күн бұрын

Пікірлер: 39
@r_pydatascience
@r_pydatascience 8 жыл бұрын
You are making my life easy. That is very helpful. Thank you.
@smilex3
@smilex3 8 жыл бұрын
+Mihiretu Molla Thank you!
@mayjuly6015
@mayjuly6015 8 жыл бұрын
Thank you, Dr Alan. May you be peaceful and successful throughout your life.
@iftehajulislam8987
@iftehajulislam8987 8 жыл бұрын
Very nice and detailed descriptions, speech tempo is easy to catch and the video framing is also wonderful. Thank you so much!!!
@yujielian2864
@yujielian2864 7 жыл бұрын
The way you explain things is very clear. This video is helpful for undergraduate students like me. Thank you for your video!
@smilex3
@smilex3 7 жыл бұрын
Than you!
@stephaniesterner5911
@stephaniesterner5911 10 жыл бұрын
Thanks for the help! Great overview for multiple regression within stata
@smilex3
@smilex3 10 жыл бұрын
Thank you! I'm glad you found the video useful.
@ΒασίληςΚουτσούγερας
@ΒασίληςΚουτσούγερας 7 жыл бұрын
Thank you very much! This helped me a lot in my survey :) Greetings from Greece!
@smilex3
@smilex3 7 жыл бұрын
I'm glad the video helped.
@khandokermonjurekabir8143
@khandokermonjurekabir8143 6 жыл бұрын
Thank you so much. Its too much helpful.
@Garrettthethief
@Garrettthethief 7 жыл бұрын
Thank you, your i.sex explenation helped me a lot.
@tcal6831
@tcal6831 8 жыл бұрын
Great videos. Thank you for sharing with all.
@ssennyondoandrewbrian5810
@ssennyondoandrewbrian5810 4 жыл бұрын
thanl you really coz these videos are helping good
@rajeshshigdel1472
@rajeshshigdel1472 9 жыл бұрын
Impressive lecture than you very much learned something
@smilex3
@smilex3 9 жыл бұрын
Rajesh Shigdel I'm glad you found it useful!
@drmiasmith
@drmiasmith 7 жыл бұрын
This is so helpful!! thank you!
@smilex3
@smilex3 7 жыл бұрын
Thank you. I'm glad you found this useful.
@elizabethkago4424
@elizabethkago4424 5 жыл бұрын
hey....am having a problem in keying in the commands for QUAIDS model in stata. Kindly assist
@thourayabouzid683
@thourayabouzid683 8 жыл бұрын
hi Mr Alan. please can you chow how to estimate the fixed-effect panel threshold model(Hansan 1999) ??
@abobakermomed9324
@abobakermomed9324 7 жыл бұрын
Thank you very much for this video
@smilex3
@smilex3 7 жыл бұрын
I'm glad you found it helpful.
@abobakermomed9324
@abobakermomed9324 7 жыл бұрын
Dear Alan I have this regression and not sure about what I have done and you are an expert, please have a glance: Accruals it = α1 + α2((ΔREVit - ΔRECit )/Ait-1) + α3(PPEit/Ait-1) + α4(CFOit/Ait-1) + α5NEG_CFOit + α6((NEG_CFOit * CFOit)/Ait-1) + εit all variables are numeric except the last two which are: ΔCFOi,tNEG is an indicator variable taking the value of 1 if the change in cash flows from operations is negative and 0 otherwise. CFOi,t*CFONEGi,t is an interaction term which is defined as ΔCFOi,t multiplied by ∆CFONEGi,t. I did the following for the last two; 1: gen NEG_CFO =. replace NEG_CFO=1 if delta_CFO0 2: gen interaction2_CFO = NEG_CFO*(CFO/lagged_assets) and I run the regression Is that correct? Please your response is highly appreciated
@abobakermomed9324
@abobakermomed9324 7 жыл бұрын
No response?
@smilex3
@smilex3 7 жыл бұрын
If you are trying to run a regression with an interaction term, it is better in Stata to use factor notation. For example: sysuse auto, clear regress mpg c.weight c.weight#c.weight margins, at(weight=(1800(200)4800)) marginsplot, recast(line) recastci(rarea) see "help fvvarlist" for more information.
@abobakermomed9324
@abobakermomed9324 7 жыл бұрын
Alan Neustadtl Thank you very much for your help.
@AI-ew1rj
@AI-ew1rj 7 жыл бұрын
Hi, so when looking at the ANOVA table, how can we know if Males are 1 or 0 ( in a case where we didn't write the code and just has the table....so for example, is the unlisted value=0?)
@smilex3
@smilex3 7 жыл бұрын
There is no way to tell, but in your example, men compared to women, the difference in means is identical except for the sign of the difference. It is even harder to tell if you have an independent variable with more categories, e.g. married, widowed, divorced, separated, and never married. But, if you estimate the marginal effects you can determine all of the raw effect sizes.
@AI-ew1rj
@AI-ew1rj 7 жыл бұрын
Great, thanks!
@AI-ew1rj
@AI-ew1rj 7 жыл бұрын
what is the difference between ## ad # command in stata?
@vigneo
@vigneo 9 жыл бұрын
Thank you!! :)
@smilex3
@smilex3 9 жыл бұрын
I'm glad the video was useful!
@richardmawulawoeahadzie2307
@richardmawulawoeahadzie2307 9 жыл бұрын
How do I make In-sample and out-of-sample predictions in STATA
@smilex3
@smilex3 9 жыл бұрын
richard mawulawoe ahadzie Richard, I am not exactly certain what you want, but maybe the following will help. regress y x predict yhatin if e(sample), xb predict yhatout if !e(sample) The command -predict- is a model post-estimation command that can be used to create predicted values. You can learn more by typing -help predict- in the command window. When you estimate a model Stata creates a temporary marker of the sample used in the model called -e(sample)-. This marker is equal to 0 is an observation was not used in the model and 1 if it was. Finally, the exclamation mark "!" means "not" (see -help operator-). So, the first predict creates in-sample predicted values stored in the variable "yhatin" and the second creates out-sample predicted values stored in the variable "yhatout". Best, Alan
@richardmawulawoeahadzie2307
@richardmawulawoeahadzie2307 9 жыл бұрын
thanks Alan, will try and get back to you
@nategrate98
@nategrate98 4 жыл бұрын
What is that intro song?
@smilex3
@smilex3 4 жыл бұрын
The White Collar Holler by Stan Rogers, a fabulous Canadian folk singer who unfortunately is no longer alive.
@huynhngoctrong9510
@huynhngoctrong9510 6 жыл бұрын
8:40 dummy
Stata Postestimation Commands.  Using -test-
8:05
Alan Neustadtl
Рет қаралды 17 М.
Regression Postestimation Commands in Stata: margins, pt. 1
12:05
Alan Neustadtl
Рет қаралды 36 М.
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 18 МЛН
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 45 МЛН
Modus males sekolah
00:14
fitrop
Рет қаралды 24 МЛН
Creating New Variables Using Stata
31:24
Alan Neustadtl
Рет қаралды 55 М.
Using Stata to Inspect a Dataset
31:37
Alan Neustadtl
Рет қаралды 19 М.
Using Stata to evaluate assumptions of simple linear regression
33:14
Stata Basic Commands
17:44
SebastianWaiEcon
Рет қаралды 116 М.
Introductory overview of linear regression using Stata (Jan 2023)
37:45
Stata Command Modifiers--if, in, and by/bysort
16:00
Alan Neustadtl
Рет қаралды 55 М.
Regression Output Explained
33:19
zedstatistics
Рет қаралды 667 М.
Stata Postestimation Commands.  Using -predict-
6:34
Alan Neustadtl
Рет қаралды 51 М.
Using local macros in a foreach loop
15:19
Alan Neustadtl
Рет қаралды 24 М.
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 18 МЛН