Популярное

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

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

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

Топ запросов

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

Blazing fast and highly versatile! The fixest package for fixed effects regressions in R

Автор: Econometrics, Causality, and Coding with Dr. HK

Загружено: 2021-03-01

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

Описание:

See the project page here: https://lrberge.github.io/fixest/ and install fixest using install.packages('fixest')

NOTE: As of fixest 0.9.0 (released after this video), the syntax for i() with interactions has changed. You now want the factor first, THEN the continuous variable. The line should be

m9 = feols(crmrte ~ polpc + density + taxpc + wcon + i(factor_avgsen, wcon, ref = 8) | county + year, data = crime4)

Code from the video (adjusted to remove all greater-than or less-than signs for YouTube description rules):

library(wooldridge)

data(crime4)

library(fixest)

m1 = feols(crmrte ~ polpc + density + taxpc | county + year, data = crime4)
etable(m1)

m2 = feols(crmrte ~ polpc + density + taxpc | county + year, data = crime4, se = 'hetero')

m3 = feols(crmrte ~ density + taxpc | county + year | polpc ~ prbarr, data = crime4)

m4 = feglm( ~ polpc + density + taxpc | county + year, data = crime4)

crime4$lowcrime = floor(crime4$crmrte*100) %in% 0:2

m5 = feglm(lowcrime ~ polpc + density + taxpc | county + year, data = crime4, cluster = c('county', 'year'))

m6 = feols(lowcrime ~ density + d(taxpc) | county + year | polpc ~ prbarr, data = crime4, panel.id = c('county', 'year'))
esttable(m6)

m7 = feols(crmrte ~ density + taxpc | county + year | polpc ~ prbarr, data = crime4, fsplit = 'urban')
esttable(m7)

crime4$factor_avgsen = round(crime4$avgsen)

m8 = feols(crmrte ~ polpc + density + taxpc + i(factor_avgsen, ref = 5) | county + year, data = crime4)

m9 = feols(crmrte ~ polpc + density + taxpc + wcon + i(wcon, factor_avgsen, ref = 8) | county + year, data = crime4)
esttable(m9)

Blazing fast and highly versatile! The fixest package for fixed effects regressions in R

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

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

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

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

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

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

How to Interpret a Coefficient in a Regression

How to Interpret a Coefficient in a Regression

Панельные данные и фиксированные эффекты в R

Панельные данные и фиксированные эффекты в R

Панельные данные (фиксированные эффекты, случайные эффекты) — R для экономистов, умеренный 9

Панельные данные (фиксированные эффекты, случайные эффекты) — R для экономистов, умеренный 9

Econometrics - Within Variation and Fixed Effects

Econometrics - Within Variation and Fixed Effects

Отчеты по квантильной регрессии стали проще: как создавать потрясающие графики и таблицы за счита...

Отчеты по квантильной регрессии стали проще: как создавать потрясающие графики и таблицы за счита...

Причинность: Различие в Различиях

Причинность: Различие в Различиях

Don’t Ignore Interactions - Unleash the Full Power of Models with {emmeans} R-package

Don’t Ignore Interactions - Unleash the Full Power of Models with {emmeans} R-package

Fixed and random effects panel regression in R using 'plm' package

Fixed and random effects panel regression in R using 'plm' package

Econometrics - Marginal Effects for Probit and Logit (and Marginal Effects in R)

Econometrics - Marginal Effects for Probit and Logit (and Marginal Effects in R)

Фиксированные и случайные эффекты с Tom Reader

Фиксированные и случайные эффекты с Tom Reader

Освоение регрессии с фиксированными эффектами в R

Освоение регрессии с фиксированными эффектами в R

Причинно-следственная связь: фиксированные эффекты

Причинно-следственная связь: фиксированные эффекты

Econometrics - Difference in Differences

Econometrics - Difference in Differences

Прогнозирование временных рядов с помощью XGBoost — используйте Python и машинное обучение для пр...

Прогнозирование временных рядов с помощью XGBoost — используйте Python и машинное обучение для пр...

Фиксированные эффекты (Эффект, Видео о причинно-следственных связях, Эпизод 45)

Фиксированные эффекты (Эффект, Видео о причинно-следственных связях, Эпизод 45)

Understanding the glm family argument (in R)

Understanding the glm family argument (in R)

Report Tests, Models, Data #R ! 💪 {report}

Report Tests, Models, Data #R ! 💪 {report}

R Studio - Foundation of Panel Data Models (Fixed Effect and Random Effect) with Diagnostics

R Studio - Foundation of Panel Data Models (Fixed Effect and Random Effect) with Diagnostics

Методы разности разностей

Методы разности разностей

Staggered Treatment in Difference-in-Differences (The Effects, Videos on Causality, Ep 56)

Staggered Treatment in Difference-in-Differences (The Effects, Videos on Causality, Ep 56)

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



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



Контакты для правообладателей: infodtube@gmail.com