Dear Stata users,
I am using linear regression in Stata 13.1 to see if two continuous non normally distributed variables significantly correlate or not. When I plot the variables in a two way scatter graph, there are some significant outlying values. I read that Jackknife regression is more robust than linear regression with non-normal data.
My output with this code for linear regression
is
but when I use the jackknife regression option
is
Using the jackknife option appears to show that the correlation is now statistically significant (p=0.028) whereas it wasn't using the standard linear regression (p=0.295). I can't find an answer on the forums as to which is the correct approach.
Many thanks for your help
I am using linear regression in Stata 13.1 to see if two continuous non normally distributed variables significantly correlate or not. When I plot the variables in a two way scatter graph, there are some significant outlying values. I read that Jackknife regression is more robust than linear regression with non-normal data.
My output with this code for linear regression
Code:
reg rpfdefpop stordur
Code:
Source | SS df MS Number of obs = 18 -------------+------------------------------ F( 1, 16) = 1.17 Model | 2315.69913 1 2315.69913 Prob > F = 0.2948 Residual | 31578.8436 16 1973.67773 R-squared = 0.0683 -------------+------------------------------ Adj R-squared = 0.0101 Total | 33894.5428 17 1993.79663 Root MSE = 44.426 ------------------------------------------------------------------------------ rpfdefpop | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- stordur | .6813429 .6290176 1.08 0.295 -.6521148 2.014801 _cons | 48.69781 13.05285 3.73 0.002 21.027 76.36862 ------------------------------------------------------------------------------
Code:
reg rpfdefpop stordur, vce(jackknife)
Code:
Linear regression Number of obs = 18 Replications = 18 F( 1, 17) = 5.78 Prob > F = 0.0279 R-squared = 0.0683 Adj R-squared = 0.0101 Root MSE = 44.4261 ------------------------------------------------------------------------------ | Jackknife rpfdefpop | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- stordur | .6813429 .2833695 2.40 0.028 .0834856 1.2792 _cons | 48.69781 12.82814 3.80 0.001 21.63279 75.76283 ------------------------------------------------------------------------------
Many thanks for your help
Comment