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
How do i include the results of a no observations regression into a matrix?So my problem is that i have a dataset of 502 firms but some of them have no observations. The thing…
If and commandHello, Can you help me please with my following issue? I have a panel data set and I want to figure…
dataset normality issue (probit analysis)Hi all, I intending to employ simple probit, multinomial and Heckman selection model analysis to id…
Confidence intervals for gradients in npregressDear all, I'm trying to estimate confidence intervals for my gradients after performing a kernel re…
Replacing value with previous value if value is outside certain intervalHi everyone, I have the following panel data (in total 1200 observations) Country Year ACC_POP A…
Subscribe to:
Post Comments (Atom)
0 Response to Problem in detecting influencial cases using cook
Post a Comment