Car type | Freq. Percent Cum.
------------+-----------------------------------
Domestic | 52 70.27 70.27
Foreign | 22 29.73 100.00
------------+-----------------------------------
Total | 74 100.00
Transformation: Fisher's z
95% confidence interval(s) for percentile difference(s)
between values of weight in first and second groups:
Percent Pctl_Dif Minimum Maximum
50 1095 750 1330
应该需要stata12,我的也是stata11,结果给出以下提示:
this is version 11.0 of Stata; it cannot run version 12.0 programs
You can purchase the latest version of Stata by visiting http://www.stata.com.
Car type | Freq. Percent Cum.
------------+-----------------------------------
Domestic | 52 70.27 70.27
Foreign | 22 29.73 100.00
------------+-----------------------------------
Total | 74 100.00
Transformation: Fisher's z
95% confidence interval(s) for percentile difference(s)
between values of weight in first and second groups:
Percent Pctl_Dif Minimum Maximum
50 1095 750 1330
我附上了我最近做的project report ,关于test median differences between two samples by using stata
然后我不知道你的data 是by categorize 多少,是两个还是三个,across 2个以上的话,做法其实是类似的,有问题 再讨论啊。 我的数据是关于一支股票和 S&P 500 index 之间的比较,文中测试的是股票y 在前期和后期 中位数回报率的差别是不是显著存在的。