# Thread: Create an exponential based function

1. ## Create an exponential based function

End product would be a sequence of 50 numbers that go from 0 to 1 with an exponential distribution, so if plotted it would resemble a quarterpipe or a quarter of a circle that starts with a gradual grade which then increases quickly.

This is outside my wheelhouse, so instead of just plugging in numbers, I am seeking help!

2. ## Re: Create an exponential based function

So you don't just want to randomly generate 50 numbers from an exponential distribution?

3. ## Re: Create an exponential based function

I found this, but would like to better understand how it works or what other options there may be? Is this a standard function to exponeniate data to output values 0-1?

f(x)=e 11x 2

4. ## Re: Create an exponential based function

I want to apply my outputted data sequence to other data. So I will have another data set where I will subtract off that percentage of data as a loss or attrition.

But I want the attrition not to be linear. I currently created a linear loss function where I just subtract out 95% data then 90% of data,..., 5% of data from another dataset. Sorry if I am unclear.

5. ## Re: Create an exponential based function

So picture the positive tail of some normally distributed data. Now I am going to purposely remove data from the tail as a simulation of attrition. With 95% of data with value of 3 all the way down to 0% data removed for those with a 0 value for ~N data set (0,1). End product will be a distribution with left-side tail normal, but right trimmed down based on function.

6. ## Re: Create an exponential based function

Ok so now you've lost me. I thought you wanted an exponential distribution?

7. ## Re: Create an exponential based function

I do. Now I am at home typing on a kindle so bare with me. I want a sequence of numbers (n=50) from 0 to 1 exponentially disturbed so increasing in value.

So if I plotted them they would look like a ramp.

So would it be apt to say I want the value of exponential distribution for every two percent increasing value of its PMF.

Do I need to specify any say moments or other values in doing this?

8. ## Re: Create an exponential based function

Well if you want to be able to control the moments then yes you need to specify moments. If you just care about the shape then no you can just use the standard exponential.

9. ## The Following User Says Thank You to Dason For This Useful Post:

hlsmith (08-08-2016)

 Tweet

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts