+ Reply to Thread
Results 1 to 8 of 8

Thread: Create an exponential based function

  1. #1
    Omega Contributor
    Points: 38,253, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,989
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    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!
    Stop cowardice, ban guns!

  2. #2
    Devorador de queso
    Points: 95,540, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,930
    Thanks
    307
    Thanked 2,629 Times in 2,245 Posts

    Re: Create an exponential based function

    So you don't just want to randomly generate 50 numbers from an exponential distribution?
    I don't have emotions and sometimes that makes me very sad.

  3. #3
    Omega Contributor
    Points: 38,253, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,989
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    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
    Stop cowardice, ban guns!

  4. #4
    Omega Contributor
    Points: 38,253, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,989
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    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.
    Stop cowardice, ban guns!

  5. #5
    Omega Contributor
    Points: 38,253, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,989
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    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.
    Stop cowardice, ban guns!

  6. #6
    Devorador de queso
    Points: 95,540, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,930
    Thanks
    307
    Thanked 2,629 Times in 2,245 Posts

    Re: Create an exponential based function

    Ok so now you've lost me. I thought you wanted an exponential distribution?
    I don't have emotions and sometimes that makes me very sad.

  7. #7
    Omega Contributor
    Points: 38,253, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,989
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    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?
    Stop cowardice, ban guns!

  8. #8
    Devorador de queso
    Points: 95,540, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,930
    Thanks
    307
    Thanked 2,629 Times in 2,245 Posts

    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.
    I don't have emotions and sometimes that makes me very sad.

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

    hlsmith (08-08-2016)

+ Reply to Thread

           




Posting Permissions

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






Advertise on Talk Stats