snowsummery 发表于 2013-1-16 10:37 
可以的,谢谢你~还想请问pobs()这个函数是什么意思?
这段时间我试了u
pobs()是Given n realizations x_i=(x_{i1},...,x_{id}), i in {1,...,n} of a random vector X, the pseudo-observations are defined via u_{ij}=r_{ij}/(n+1) for i in {1,...,n} and j in {1,...,d}, where r_{ij} denotes the rank of x_{ij} among all x_{kj}, k in {1,...,n}. The pseudo-observations can thus also be computed by component-wise applying the empirical distribution functions to the data and scaling the result by n/(n+1). This asymptotically negligible scaling factor is used to force the variates to fall inside the open unit hypercube, for example, to avoid problems with density evaluation at the boundaries.
因为你原来的数据里有(1,1)这一项,这一项是数据边界上,就是这一项导致了错误出现,具体为什么我也不清楚,我也是查错误一点点查出来的。经过这种变换后(1,1)变成了(0.99....,0.99...)程序就能用了