Displaying 1 result from an estimated 1 matches for "gedcdf".
Did you mean:
ecdf
2007 Feb 27
1
Additional args to fun in integrate() not found?
...help me with these problems:
1) why is "p" not recognized?
2) what are these warning messages?
PROGRAM CODE:
---------------------------
#THIS LIBRARY IS NEEDED FOR THE INCOMPLETE GAMMA FUNCTION
library(zipfR)
#------------------------------------------------------------------------
gedCDF = function(yvec, p=2, mu=0, scale=1, numint=0)
{
#-------------------------------------------------------------------------
#Setting k to sqrt(2) and the GED with p=2 coincides with standard normal.
#Set k=1 and GED with p=1 coincides with Laplace.
k<-sqrt(2)
#k<-1
scale<-scale*k
z...