各位好:
請問ucla教學網頁上的例子,有些地方不了解,它的意思,煩請大家解答,謝謝!
1、
use http://www.ats.ucla.edu/stat/stata/notes/hsb2, clear
tabstat write, by(female) stat(p25 p50 p75)
Summary for variables: write
by categories of: female
female | p25 p50 p75
-------+------------------------------
male | 41 52 59
female | 50 57 62
-------+------------------------------
Total | 45.5 54 60
--------------------------------------
請問,by(female) stat(p25 p50 p75)的意思,
將female變數區分成三群,再列出區分三群後的敘述統計量嗎?
45.5、54、60的數值,如何計算出來的?
2、
qreg write
Iteration 1: WLS sum of weighted deviations = 1595.95
Iteration 1: sum of abs. weighted deviations = 1591
Iteration 2: sum of abs. weighted deviations = 1571
Median regression Number of obs = 200
Raw sum of deviations 1571 (about 54)
Min sum of deviations 1571 Pseudo R2 = 0.0000
------------------------------------------------------------------------------
write | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_cons | 54 1.239519 43.57 0.000 51.55572 56.44428
------------------------------------------------------------------------------
請問,qreg write是分量在0,5的迴歸結果,但為何估計結果只有截距項,沒有其他自變數?