but i keep on getting an error message that it isn’t a recognized distribution
anyone knows how can i define this distribution in a way that allows me to deal with it as the built in ones??
Would you edit the code so that it can be pasted into a notebook? Alternatively, attaching a notebook would be helpful. What you’ve given is missing a few backslashes. For example: [Alpha] instead of \[Alpha].
here is the notebook ,will you please give it a look?
the function i am working with is the pdf of the kies distribution …i got this form of the pdf from a past research
(*Mathematica Can compute the CDF*)
(* -1 + E^(-E^(I \[Pi] \[Alpha]) (-(t/(-1 + t)))^\[Alpha] \[Lambda]) *)
(*Is not the same as: 1-\[ExponentialE]^(-\[Lambda]((t/(-1+t))^\[Alpha]) ) what you say ? *)
1 - E^(-\[Lambda] ((x/(-1 + x))^\[Alpha]) ) /. x -> 1/2 /. \[Alpha] ->1/3 /. \[Lambda] -> 2 // N
(*1.05907 + 0.363107 I*)
(* Can there be complex numbers ?*)
When alpha is equal to 2, your probability density function is negative. When alpha is noninteger, your probability density function is complex-valued.
Your pdf is the opposite of the derivative of the cdf. Also your cdf as per the research
1 - E^(-\[Lambda] ((x/(-1 + x))^\[Alpha]) )
has some problems: it is complex-valued when alpha is noninteger. It is negative, decreasing and unbounded when alpha is an odd integer. It is only plausible when alpha is an even integer.