Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: AW: questions about panel data analysis and outliers.
From
"Nick Cox" <[email protected]>
To
<[email protected]>
Subject
st: RE: AW: questions about panel data analysis and outliers.
Date
Mon, 17 May 2010 12:42:10 +0100
True, although it's not hard to find outliers on a bivariate
distribution which aren't outliers on either marginal.
Other answers include
1. Omit the putative outlier and see how much difference it makes.
2. Decide you should be using a transformation or non-identity link
function.
Nick
[email protected]
Martin Weiss
" My second question is: how can I estimate correlation without
outliers?"
You can qualify on the candidate variables not being outliers based on
their
univariate distribution, if that is what you mean:
*************
sysuse auto, clear
qui su mpg,d
gen byte within=inrange(mpg, r(p5), r(p95))
qui su weight,d
gen byte within2=inrange(weight, r(p5), r(p95))
corr mpg weight if within & within2
corr mpg weight
*************
Amatoallah ouchen
I have a panel data (T=3 and N=45) and I want to perform a robust
regression, so I would like to know if it is ok if I cope with this
just as a simple cross sectional analysis (because the number of my
time serie is so thin).
what do you think about that?
My second question is: how can I estimate correlation without outliers?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/