全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
8040 5
2012-05-24

请教各位:

在SAS中怎么才能计算把一列数据按照下面的分布拟合,并进行检验,得到p值?

检验如下:

原假设: 数据符合G(x)分布

备选假设: 数据不符合G(x)分布.


需要检验的分布如下:


Beta分布

Gamma分布

Weibull分布

Lognormal 对数正态分布

Normal正态分布

Exponential指数分布

非常感谢!!

二维码

扫码加我 拉你入群

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

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

全部回复
2012-5-24 11:28:20
另外想知道,SAS怎么能把变量的分布图画出来。。
谢谢!!
二维码

扫码加我 拉你入群

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

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

2012-5-24 11:31:41
Many new statistics have been added to PROC UNIVARIATE, and new distribution fitting facilities enable you to fit a wide range of parametric distributions as well as nonparametric kernel density estimators.
http://support.sas.com/rnd/app/da/new/daunivariate.html
二维码

扫码加我 拉你入群

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

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

2012-5-24 12:04:31
davil2000 发表于 2012-5-24 11:31
Many new statistics have been added to PROC UNIVARIATE, and new distribution fitting facilities enab ...
univariate 是不是只能验证正态分布?
谢谢
二维码

扫码加我 拉你入群

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

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

2012-5-24 13:31:30
sailingyf 发表于 2012-5-24 12:04
univariate 是不是只能验证正态分布?
谢谢
   proc univariate data=dta1;
      histogram Length / beta   ctext  = blue;
   run;

Primary Options for Parametric Fitted Distributions
BETA(beta-options) Fits beta distribution with threshold parameter , scale parameter , and shape parameters  and  
EXPONENTIAL(exponential-options) Fits exponential distribution with threshold parameter  and scale parameter  
GAMMA(gamma-options) Fits gamma distribution with threshold parameter , scale parameter , and shape parameter  
LOGNORMAL(lognormal-options) Fits lognormal distribution with threshold parameter , scale parameter , and shape parameter  
NORMAL(normal-options) Fits normal distribution with mean  and standard deviation  
WEIBULL(Weibull-options) Fits Weibull distribution with threshold parameter , scale parameter , and shape parameter c

二维码

扫码加我 拉你入群

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

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

2012-5-24 13:38:22
davil2000 发表于 2012-5-24 13:31
proc univariate data=dta1;
      histogram Length / beta   ctext  = blue;
   run;
Really?
I will try it , thanks!
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群