楼主: cheerhappy
11829 9

[其他] 不同样本量在stata中都采用什么方式检验正态分布 [推广有奖]

  • 3关注
  • 7粉丝

讲师

22%

还不是VIP/贵宾

-

威望
0
论坛币
290 个
通用积分
0.1290
学术水平
6 点
热心指数
6 点
信用等级
7 点
经验
5316 点
帖子
373
精华
0
在线时间
241 小时
注册时间
2010-3-18
最后登录
2023-3-27

楼主
cheerhappy 发表于 2011-10-18 16:49:32 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
大家好,
       现在我有几个样本,有样本量上万的,有在5000左右的,有1000多的,还有几十的,对于这样不同的样本量的样本,每一个在stata中检验是否正态分布的时候,各采用什么检验方法和检验语句啊?
       请高手解答下哦!知道一点点的大家也可以讨论下哈!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Stata 正态分布 tata 样本量 检验方法 正态分布 样本 左右

沙发
Bayesian.var 发表于 2011-10-18 23:10:41
Assume here you want to do the univariate analysis of normality test, I think the sample size matters only for different chioces of plots, the idea is the same. Check the attachment, it seems a good tutorial for your question.  

Test normality.pdf
下载链接: https://bbs.pinggu.org/a-980271.html

640.32 KB

Hun Myoung Park (2008 )

已有 1 人评分热心指数 收起 理由
biostat + 1 好人啊提供的好东东

总评分: 热心指数 + 1   查看全部评分

I use to type English as my computer in office room doesn't support Chinese.

藤椅
九华布衣 发表于 2011-10-18 23:18:23
Bayesian.var 发表于 2011-10-18 23:10
Assume here you want to do the univariate analysis of normality test, I think the sample size matter ...
It seems very helpful

板凳
happycolor 发表于 2011-10-19 04:51:35
help normality gives you different normality tests
签名被屏蔽

报纸
cheerhappy 发表于 2011-10-23 17:40:54
谢谢楼上的几位啊,我先试试哈!
不放弃、不抛弃

地板
offandon 发表于 2011-10-23 21:01:41
谢谢分享。。。。

7
cheerhappy 发表于 2011-10-25 16:08:48
Bayesian.var 发表于 2011-10-18 23:10
Assume here you want to do the univariate analysis of normality test, I think the sample size matter ...
高手你好,
     我大概看了下这篇文献,在这篇文献的第八页,给出了各种方法的样本数范围,比如说Skewness-Kurtosis需要大于9,Shapiro-Wilk小于2000,Shapiro-Francia小于5000。Kolmogorov-Smirnov没有,就是说范围不限制了吧?在stata中help normal还可以找到Kolmogorov-Smirnov检验的公式。可在这篇文献中又有这样的一句话:
Stata .ksmirnov command is not used for testing normality.
所以我想问问您是怎么理解的?Kolmogorov-Smirnov应该还是可以进行正态性检验的吧?还是说它属于类似正态性检验?
不放弃、不抛弃

8
hary123 发表于 2011-10-25 16:52:23
thanks

9
Bayesian.var 发表于 2011-10-28 22:22:40
cheerhappy 发表于 2011-10-25 09:08
高手你好,
     我大概看了下这篇文献,在这篇文献的第八页,给出了各种方法的样本数范围,比如说Ske ...
Hi,

Kolmogorov-Smirnov test was designed to compare two experimentally-determined distributions. When testing for normality, you compare an experimental distribution against a hypothetical ideal (Suppose the true normal distribution with mean mu and variance sigma, but both parameter mu and sigma you don't know), if you use Stata .ksmirnov, you may test it against normal like the example commands in (help ksmirnov),
webuse ksxmpl
summarize x
ksmirnov x = normal((x-r(mean))/r(sd))
which is using the sample mean r(mean) and the sample variance r(sd)^2 as the true parameters. By doing that the result of KS test will be conservative in the sense that it will be less likely to reject the null hypothesis, then you need to apply the Lilliefors correction which is not being done in .ksmirnov... In conclusion, Stata .ksmirnov command is not ready and so useful for testing normality. I recommend that you skip using the Kolmogorov-Smirnov test, and switch instead to the other alternative tests. But first rethink whether the normality tests are providing you with useful information.
      
已有 1 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
Sunknownay + 100 + 10 + 1 + 1 + 1 热心帮助其他会员

总评分: 经验 + 100  论坛币 + 10  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

I use to type English as my computer in office room doesn't support Chinese.

10
cheerhappy 发表于 2011-10-29 11:54:42
Bayesian.var 发表于 2011-10-28 22:22
Hi,

Kolmogorov-Smirnov test was designed to compare two experimentally-determined distribution ...
Thanks, then if N>5000, which normality tests is better, ksmirnov(for one sample or two sample) or sktest? And could the test of ksmirnov apply to many more samples?
不放弃、不抛弃

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-9 03:55