9.3,7.3,13.7,12.3,12.3 14.3 8.3 8.7 13.3 12.3 比如这一行数,我想用 normal,Gamma,weibull分布等做回归模型,并选择模型拟合效果最好的一种。
我该怎么用sas语言写啊!
请高手们帮个忙。小弟在这先谢谢大家了!
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
哦,不好意思。是做分布模型,不是回归。能帮我解答吗?
data a input x@@; cards;
9.3 7.3 3.7 2.3 2.3 14.3 8.3 8.7 13.3 12.3 ; run;
symbol v=plus; title 'Three-Parameter Weibull Q-Q Plot for x'; proc univariate data=Failures noprint; qqplot x/ weibull(c=est theta=est sigma=est noprint) cframe = ligr square href=0.5 1 1.5 2 vref=25 27.5 30 32.5 35 lhref=4 lvref=4 chref=ywh cvref=ywh; run;
楼住可以去查看帮助文档 关于非参数那块 会有相关解答 kernel