Dear R-users,
I have been using the code below in order to verify how the CDF of a
skew-normal distribution was calculated:
library(sn)
s=seq(-30,30,by=0.1)
a<-matrix(nrow=length(s),ncol=5)
lambda=1
for(i in 1:length(s)){
a[i,1]=pnorm(s[i],mean=0,sd=1);
a[i,2]=T.Owen(s[i],lambda);
a
Dear R-users,
I have been using the code below in order to verify how the CDF of a
skew-normal distribution was calculated:
library(sn)
s=seq(-30,30,by=0.1)
a<-matrix(nrow=length(s),ncol=5)
lambda=1
for(i in 1:length(s)){
a[i,1]=pnorm(s[i],mean=0,sd=1);
a[i,2]=T.Owen(s[i],lambda);
a
2 matches
Mail list logo