Re: approximations for exponential, normal and gamma cdf



If you have SPSS, and if it would help you to cut-and-paste the numbers or save them to a file, try something like this, looping through whatever ranges you want for any of the arguments.

new file.
input program.
loop quant = 0 to 10 by .5.
compute scale = .2.
compute cumprob = CDF.EXP(quant, scale).
end case.
end loop.
end file.
end input program.
formats quant (f3.1) scale (f3.1) cumprob (f5.4).
execute.

CDF.EXP(quant, scale). Numeric. Returns the cumulative probability that a value from the exponential distribution, with the given scale parameter, will be less than quant.

CDF.NORMAL(quant, mean, stddev). Numeric. Returns the cumulative probability that a value from the normal distribution, with specified mean and standard deviation, will be less than quant.

CDF.GAMMA(quant, shape, scale). Numeric. Returns the cumulative probability that a value from the Gamma distribution, with the given shape and scale parameters, will be less than quant.

Art
Art@xxxxxxxxxxxxx
Social Research Consultants

herpers@xxxxxxxxxxxxxxxxx wrote:
Hi,

I am looking for approximations for the exponential, normal and gamma
cdf. These approximations must be in closed form.

I need these formulas for drawing the corresponding curves with psplot
in LaTeX. This function is only able to plot non-iterative, closed form
functions. Since I am interested in the graphical representation, the
approximation error doesn't matter that much. As long as the overall
shape of the curve looks right given a certain distribution parameter,
I would already be happy.

Thanks for any hint,
Sascha

.



Relevant Pages

  • Re: How to identify flat (even) distributions?
    ... doesn't uniquely identify a flat distribution. ... The Simpsons one has the most intuitive scale (i.e 10 is ... ends is generally Uniform. ... Someone with most at the extremes ...
    (sci.stat.math)
  • Re: Altering Gamma Distribution scale and shape parameters
    ... You might find it convenient to create and play with the following two ... distribution so that my expected probability (say 0.50 or the area ... to use these shape and scale values to reproduce a set of numbers ... difference between the probability is equal to 0.5. ...
    (comp.soft-sys.matlab)
  • Re: Newbie question: "representativeness" of subset of data
    ... > where randnproduces 200 datapoints in a normal distribution, ... the shape of that distribution should be similar to the ... I would like to point out a scale of representativeness that I ...
    (sci.stat.consult)
  • Re: scalling of poisson distribution
    ... Also I found when you try and scale the whole thing what happens is the ... distribution becomes sharper as you scale up. ... sequence of spikes, given a mean firing rate, approximates a poisson ... It is supposed to be a good model for firing rate ...
    (sci.stat.math)
  • Quality and localisation
    ... So 4/5ths of the money ... provide better quality goods if it can avoid most of these distribution costs. ... There is an appropriate balance between economies of scale and distribution ...
    (uk.environment)