Dear Sir or Madam,
I am trying to detect influencial cases using the "cook" approach with regress. It works fine when I look for influencial cases that have a negative impact on the coefficient, but I am finding it hard when it comes to detecting the ones that have a positive impact:
Here is the code I am running:
regress Y a b c f e i.YEAR if (ID!=24344)
list ID e cook if cook>4/74
dfbeta
sort _dfbeta_2
list ID _dfbeta_2 in -4/1
The message that appears is "observation numbers out of range"
Could somebody help me?
Thank you.
Best,
Joao
Related Posts with Problem in detecting influencial cases using cook
Inclusion of country-fixed effects in a difference-in-difference model, specified on firm-year level and using REGHDFEDear Forum, I have a panel of firm-year observations from different countries. A given firm will be…
Numbering new values of a variable 1 to NMy data has a country variable using three digit ISO-3166 codes. The underlying codes aren't quite s…
Stationarity of Panel DataWhere can I find a theoretical reference as why there is no need to check for stationarity for short…
double integral in MataHey all, I am working on to implement a random effect zip model in Mata. The model includes two ran…
Pseudo Panel using cohortsi have 3 rounds of cross sectional survey data of firms. i wish to estimate the productivity of the …
Subscribe to:
Post Comments (Atom)
0 Response to Problem in detecting influencial cases using cook
Post a Comment