Hello to all,
I am using STATA 16 and when running the command qreg with a different confidence level of the default (95), I get different standard errors for the coefficients.
Can you explain the rationale?
Thank you.
An example,
. qreg fips ln_eat
Iteration 1: WLS sum of weighted deviations = 60878960
Iteration 1: sum of abs. weighted deviations = 61014080
Iteration 2: sum of abs. weighted deviations = 60591692
Median regression Number of obs = 898
Raw sum of deviations 6.12e+07 (about 252770)
Min sum of deviations 6.06e+07 Pseudo R2 = 0.0092
------------------------------------------------------------------------------
fips | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ln_eat | -76162.7 18659.58 -4.08 0.000 -112784.3 -39541.14
_cons | 159102.5 21368.75 7.45 0.000 117163.9 201041.1
------------------------------------------------------------------------------
. qreg fips ln_eat, level(68)
Iteration 1: WLS sum of weighted deviations = 60878960
Iteration 1: sum of abs. weighted deviations = 61014080
Iteration 2: sum of abs. weighted deviations = 60591692
Median regression Number of obs = 898
Raw sum of deviations 6.12e+07 (about 252770)
Min sum of deviations 6.06e+07 Pseudo R2 = 0.0092
------------------------------------------------------------------------------
fips | Coef. Std. Err. t P>|t| [68% Conf. Interval]
-------------+----------------------------------------------------------------
ln_eat | -76162.7 20017.61 -3.80 0.000 -96080.42 -56244.98
_cons | 159102.5 22923.95 6.94 0.000 136293 181912.1
------------------------------------------------------------------------------
I am using STATA 16 and when running the command qreg with a different confidence level of the default (95), I get different standard errors for the coefficients.
Can you explain the rationale?
Thank you.
An example,
. qreg fips ln_eat
Iteration 1: WLS sum of weighted deviations = 60878960
Iteration 1: sum of abs. weighted deviations = 61014080
Iteration 2: sum of abs. weighted deviations = 60591692
Median regression Number of obs = 898
Raw sum of deviations 6.12e+07 (about 252770)
Min sum of deviations 6.06e+07 Pseudo R2 = 0.0092
------------------------------------------------------------------------------
fips | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ln_eat | -76162.7 18659.58 -4.08 0.000 -112784.3 -39541.14
_cons | 159102.5 21368.75 7.45 0.000 117163.9 201041.1
------------------------------------------------------------------------------
. qreg fips ln_eat, level(68)
Iteration 1: WLS sum of weighted deviations = 60878960
Iteration 1: sum of abs. weighted deviations = 61014080
Iteration 2: sum of abs. weighted deviations = 60591692
Median regression Number of obs = 898
Raw sum of deviations 6.12e+07 (about 252770)
Min sum of deviations 6.06e+07 Pseudo R2 = 0.0092
------------------------------------------------------------------------------
fips | Coef. Std. Err. t P>|t| [68% Conf. Interval]
-------------+----------------------------------------------------------------
ln_eat | -76162.7 20017.61 -3.80 0.000 -96080.42 -56244.98
_cons | 159102.5 22923.95 6.94 0.000 136293 181912.1
------------------------------------------------------------------------------

Comment