Introductory Stata 6: Weights
Автор: Dr. Bob Wen (Stata, Economics, Econometrics)
Загружено: 2022-01-18
Просмотров: 5007
Описание:
We will take a look at weights in Stata. If you often work with survey data, like me, you will come across weights very frequently. Survey data often have weights to give some observations more or less importance. Most Stata commands allow weights.
**********************************
*6. Weights *
**********************************
cd "/Users/bobwen/Documents/2022 Youtube Teaching/Introductory Stata/6. Weights/"
capture log close
log using weights.log, text replace
sysuse census.dta, clear
describe
help weights
summarize medage
*summarize median age with weights
summarize medage [fweight=pop]
*weights in regressions
regress divorce medage
regress divorce medage [fweight=pop]
*scatter plots with weights
scatter divorce medage
scatter divorce medage [fweight=pop]
log close
Some courses on my Youtube channel:
Introductory Stata:
• Introductory Stata (2022)
Introductory Microeconomics:
• Introductory Microeconomics (2022)
【粵語Cantonese】微觀經濟學基礎:
• 粵語Cantonese微觀經濟學基礎2022
Introductory Econometrics:
• Solutions to Introductory Econometrics A M...
Five Minute Econometrics:
• Five Minute Econometrics (Econometrics Tut...
【Mandarin國語】五分鐘計量經濟學
• 【Mandarin國語】五分鐘計量經濟學(計量經濟學輔導)
【Cantonese粵語】五分鐘計量經濟學
• 【Cantonese粵語】五分鐘計量經濟學(計量經濟學輔導)
On the Road:
• On the Road
My free online Stata course on Alison:
https://alison.com/course/introductor...
#weights #fweight
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: