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
int(runiform(1,499999)) stata 13Hello to all, do you have a idea of wich command to use to have the same result... In stata 15 gen …
How STATA handles missing dataGood evening, I have a relatively straight forward question regarding STATA. I have been trying to f…
Collapse over two variablesHi I am trying to create a graph with time(by month and year) on the x and pricegal on the y. My goa…
Measurement invariance testing: Identification constraintsHi there, this is my first post in the forum, I hope I do it correctly... I want to test for measur…
cgmreg - storing the number of observationsI have a problem in pubIishing the estimation tables using esttab as I am unable to store the statis…
Subscribe to:
Post Comments (Atom)
0 Response to Problem in detecting influencial cases using cook
Post a Comment