Displaying 1 result from an estimated 1 matches for "skewnormparamet".
Did you mean:
skewnormparameter
2009 Jun 23
1
implementing Maximum Likelihood with distrMod when only the PDF is known
...mu)/sd; f = dnorm(u)*pnorm(d*u);
return(f/sd)}
# d = shape parameter (any real), mu = location (any real), sd = scale
(positive real)
#to see what it looks like try
x<-seq(-1,4,length=200);plot(fsn(x,d=3),type="l")
#Now I tried to create the classes "SkewNorm" and "SkewNormParameter"
copying the example for the binomial
##Class:parameters
setClass("SkewNormParameter",
representation=representation(mu="numeric",sd="numeric",d="numeric"),
prototype=prototype(mu=0,sd=1,d=0,name=gettext("Parameter of the Skew
Normal distributio...