ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Extensions to generate (egen) | Data Management using Stata | Stata Tutorials Topic 28

Автор: Dr. Bob Wen (Stata, Economics, Econometrics)

Загружено: 2024-01-24

Просмотров: 365

Описание: Stata Tutorials Topic 28: Extensions to generate (egen) | Summary Statistics and Data Management Using Stata

Hi, I am Bob. Welcome to the Stata course that helps you understand Stata commands for summary statistics and regression analysis. Today, we will explore the "egen" command. The "egen" command creates new variables from existing variables using functions. The "egen" command is more powerful than the "generate" command, making some complicated coding much easier. The "egen" command is used with functions.

Please download the BOB.dta dataset:
https://drive.google.com/file/d/1dUBB...

The Stata commands in this video:
*load the Stata data file for this course
use BOB.dta, clear

describe

summarize

help egen

*Create the mean of a variable
egen avrage=mean(age)

browse age avrage

*Generate standard deviation of age
egen sdage=sd(age)

browse age sdage

summarize age

*Get parents' education using the rowmean, rowmin, rowmax functions
use "http://fmwww.bc.edu/ec-p/data/wooldri...", clear

describe

summarize

egen pareduc=rowmean(fatheduc motheduc)
browse fatheduc motheduc pareduc

egen pareduc2=rowmax(fatheduc motheduc)
browse fatheduc motheduc pareduc2

egen pareduc3=rowmin(fatheduc motheduc)
browse fatheduc motheduc pareduc3

*Cut hourly wages into 4 quartiles
use BOB.dta, clear

egen hwage_quartile=cut(hwage), group(4)

tabulate hwage_quartile

*egen by groups
bysort female: egen avrhwage=mean(hwage)

browse female hwage avrhwage

【Some Free Courses on my YouTube Channel】

Economics in Real Life:
   • Economics in Real Life  

Solutions to Introductory Econometrics A Modern Approach 7th Edition:
   • Solutions to Introductory Econometrics A M...  

Solutions to Microeconomics Theory and Applications with Calculus:
   • Solutions to Microeconomics Theory and App...  

Introductory Stata:
   • Introductory Stata (2022)  

Introductory Microeconomics:
   • Introductory Microeconomics (2022)  

Five Minute Econometrics:
   • Five Minute Econometrics (Econometrics Tut...  

Five Minute Stata:
   • Stata Tutorials  

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

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

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

【國語Mandarin】五分鐘計量經濟學:
   • 【Mandarin國語】五分鐘計量經濟學(計量經濟學輔導)  

【粵語Cantonese】五分鐘計量經濟學:
   • 【Cantonese粵語】五分鐘計量經濟學(計量經濟學輔導)  

On the Road:
   • On the Road  

【Become a Supporter 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), and
4. Introductory Microeconomics (2022).
   / @bobwenecon  

#Stata #egen #DataManagement #SummaryStatistics #tutorial

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Extensions to generate (egen) | Data Management using Stata | Stata Tutorials Topic 28

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Keep or Drop Variables or Observations | Data Management using Stata | Stata Tutorials Topic 29

Keep or Drop Variables or Observations | Data Management using Stata | Stata Tutorials Topic 29

Introduction to Stata

Introduction to Stata

Изучите STATA за 15 минут

Изучите STATA за 15 минут

Stata — Как использовать gen(erate) и egen

Stata — Как использовать gen(erate) и egen

LLM fine-tuning или ОБУЧЕНИЕ малой модели? Мы проверили!

LLM fine-tuning или ОБУЧЕНИЕ малой модели? Мы проверили!

Lesson 2: Ordinary Least Squares Regression in R

Lesson 2: Ordinary Least Squares Regression in R

Я в опасности

Я в опасности

Likert Scale Data Analysis and Interpretation of Results

Likert Scale Data Analysis and Interpretation of Results

Команда STATA summary: подробное руководство

Команда STATA summary: подробное руководство

Reading Stata Output: What are the Elements in Stata Regression Results Window | Stata Tutorials 52

Reading Stata Output: What are the Elements in Stata Regression Results Window | Stata Tutorials 52

Stata Tuturial: Creating a Composite Variable

Stata Tuturial: Creating a Composite Variable

⚡️ ВСУ внезапно обратились к Путину || Разведка РФ прорвалась в тыл

⚡️ ВСУ внезапно обратились к Путину || Разведка РФ прорвалась в тыл

Срочное распоряжение покинуть территорию / Вывод войск

Срочное распоряжение покинуть территорию / Вывод войск

ВСЕ накопители ДАННЫХ: объясняю за 8 минут

ВСЕ накопители ДАННЫХ: объясняю за 8 минут

Create Categorical Variables from Continuous Variables (recode) | Stata Tutorials Topic 27

Create Categorical Variables from Continuous Variables (recode) | Stata Tutorials Topic 27

Stata Tutorial: Introduction to Stata

Stata Tutorial: Introduction to Stata

120 МИЛЛИАРДОВ: КТО и Зачем создал БИТКОИН? Тайна Сатоши Накамото

120 МИЛЛИАРДОВ: КТО и Зачем создал БИТКОИН? Тайна Сатоши Накамото

Stata — как преобразовать ваши данные

Stata — как преобразовать ваши данные

Introductory Stata 17: Mean Comparison (ttest)

Introductory Stata 17: Mean Comparison (ttest)

Why the Radius Is NOT 21 – Quarter Circle Geometry Puzzle

Why the Radius Is NOT 21 – Quarter Circle Geometry Puzzle

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]