Results 1 to 3 of 3

Thread: negative exponential

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2006
    Posts
    7

    negative exponential

    Hi all
    I need to know how to sample from a negative exponential distribution: i.e. an equation y=ae^-x.

    I also need to be able to get a cumulative distribution from the equation...

    And finally, does anyone know how to record a result from a macro and put it into a separate cell each time the macro is run? Is just a simple VBA trick, but can't remember for the life of me.

    Any help on any of these would be much appreciated.

    aj

  2. #2
    Addicted Member Rassis's Avatar
    Join Date
    Jun 2004
    Location
    Lisbon
    Posts
    248

    Re: negative exponential

    Hi ajmac,

    The attached EXCEL file responds to all your questions I guess. I hope you find it sufficiently instructive.

    Don´t forget to activate the macro.
    Attached Files Attached Files
    ...este projecto dos Deuses que os homens teimam em arruinar...

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2006
    Posts
    7

    Re: negative exponential

    Thanks Rassis,
    after a day of thinking I've got my head more or less around it.
    thanks for the quick reply, very impressive...

    ajmac

Posting Permissions

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



Click Here to Expand Forum to Full Width