Тёмный

dummy variable trap 

sijou
Подписаться 439
Просмотров 6 тыс.
50% 1

the number of dummy variables used should always be less than one with respect to the number of attributes.

Опубликовано:

 

20 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@zumichetiapator
@zumichetiapator 3 месяца назад
nice explanation. thank you😊
@jyotirmoymazumdar3189
@jyotirmoymazumdar3189 4 года назад
Now my concept is cleared about its causes and how to overcome from it.... Thnk u sir ...i saw it twice 😊
@sijou756
@sijou756 4 года назад
great 👍😁
@makemymarket1772
@makemymarket1772 Год назад
Very nice explanation
@makemymarket1772
@makemymarket1772 Год назад
So let’s say i have a categorial variable with 3 different citys, n of dummys would be 3-1=2? How would we interpret that? Say citys is London, NY, Berlin, D1 = ? D2= ?
@sijou756
@sijou756 Год назад
Take any city as refrence eg. London (0) then create 2 dummy variables dNY and dBerlin and insert values as NY(1) in which both London and Berlin (0) and when Berlin(1), London and NY (0) accordingly. Now run the regression using these 2 dummy variables. It would be interpreted impact of NY compared to London and impact of Berlin compared to London. The base or reference is of your choice. Basically you are comparing the dummy with the reference dummy.
@makemymarket1772
@makemymarket1772 Год назад
@@sijou756 you are a genius, thanks
@hemanthkumar42
@hemanthkumar42 3 года назад
Beta1 and beta2 varies right.......at that time if you add d1 and d2, the value wont same .....then why we need dummy variables.....
@sijou756
@sijou756 3 года назад
Yes we need not interchange. At a time use d1 or d2. If you go for checking beta2 i.e.for d2 your d1 will be the reference variable or vice versa. You can check for individual variables effect that is d1 n d2
@Aleatorio-kl4jn
@Aleatorio-kl4jn Год назад
Thank you so much sir
@Rahul-ro4rv
@Rahul-ro4rv Год назад
Thank you sir
@sijou756
@sijou756 Год назад
welcome.
@wolfgangi
@wolfgangi 4 года назад
but why do you add D1 and D2 together though?
@sijou756
@sijou756 4 года назад
It may so happen that a dummy variable may be added twice for the very dummy variable you've already identified. Say for example when you talk about Gender(Male/Female) One may put 1-male/0-female again for the same variable one may put 1-female/0-male. Then this problem of d-trap comes up.
@suparnasaha-6555
@suparnasaha-6555 4 года назад
Sir... How do we overcome it
@sijou756
@sijou756 4 года назад
The number of dummy variables included in a regression model should always be one less than the total number of attributes you have. say for example you've 3 attributes (black/white/blue) then you've to include only 2 dummy variables i.e. (n - 1) where "n" is your total number of attributes.
@suparnasaha-6555
@suparnasaha-6555 4 года назад
Ok sir thank you
@suparnasaha-6555
@suparnasaha-6555 4 года назад
@@sijou756 sir... What are the causes of it
@sijou756
@sijou756 4 года назад
it's a cause and effect in itself and arises when you don't abide by the rules prescribed for including dummy variables in your model.
@suparnasaha-6555
@suparnasaha-6555 4 года назад
@@sijou756 ok sir
Далее
use of dummy variables 1
9:30
Просмотров 1,8 тыс.
Video 5: Dummy Variables
23:44
Просмотров 237 тыс.
Ромарио стал Ромой
00:46
Просмотров 308 тыс.
GONE.Fludd, ЛСП - Ути-Пути (official video)
03:37
Dummy Variable Regression
16:56
Просмотров 16 тыс.
Are we all wrong about AI?
24:55
Просмотров 287 тыс.
LASSO (Shrinkage/Regularization)
13:33
Просмотров 16 тыс.
Binary Choice - Linear Probability and Logit Models
17:01
Pearson's Correlation, Clearly Explained!!!
19:13
Просмотров 385 тыс.
Dummy Variable Trap
10:48
Просмотров 862
7.3 Using dummy variables for multiple categories
11:47