Introductory Stata 22: Marginal Effects (margins, marginsplot)

preview_player
Показать описание
In this video, we will continue to use the "margins" command. We will produce the marginal effect of a continuous variable on the outcome variable by using the "dydx" option. The marginal effect is also called the partial effect because the other variables are held fixed.

#margins #marginsplot #Stata
**********************
*22. Marginal Effects*
**********************
capture log close

set showbaselevels on

describe
summarize

*marginal effect of grade on lwage
*constant effect
generate lwage=ln(wage)
margins, dydx(grade)

*marginal effect differs between two union groups
margins, dydx(grade) at(union=(0 1))

*marginal effect changes with age
margins, dydx(grade) at(age=(34(2)46))
marginsplot

log close

【Free Courses on My YouTube Channel】

Economics in Real Life:

Solutions to Introductory Econometrics A Modern Approach 7th Edition:

Solutions to Microeconomics Theory and Applications with Calculus:

Stata Tutorials:

Five Minute Econometrics (Econometrics Tutorials):

Introductory Microeconomics:

Introductory Stata:

Drum Covers:

【粵語Cantonese】現實生活中的經濟學:

【國語Mandarin】現實生活中的經濟學:

【粵語Cantonese】微觀經濟學基礎:

【粵語Cantonese】五分鐘計量經濟學:

【國語Mandarin】五分鐘計量經濟學:

On the Road:

【Become a Supporter/Member of the channel ($2.99) to get PDF transcripts for】
1. Solutions to Microeconomics Theory and Applications with Calculus 5th Edition,
2. Solutions to Introductory Econometrics A Modern Approach 7th Edition,
3. Introductory Stata (2022),
4. Introductory Microeconomics (2022), and
5. Introductory Stata: Summary Statistics and Data Management

In addition to the videos on my YouTube channel, you can also learn Stata from my free Alison online courses.

Introductory Stata: Summary Statistics and Data Management

Introductory Stata: Graphics and Data Visualization
Рекомендации по теме