+ Reply to Thread
Results 1 to 2 of 2

Thread: How to generate right censored data

  1. #1

    How to generate right censored data



    Hi all,

    I want to generate some data from a given distribution, let say exponential

    distribution. But I do not now how.

    Any help would be appreciated

    Amin

  2. #2
    Super Moderator
    Points: 8,665, Level: 62
    Level completed: 72%, Points required for next Level: 85
    Dragan's Avatar
    Location
    Illinois, US
    Posts
    1,734
    Thanks
    0
    Thanked 129 Times in 115 Posts

    Quote Originally Posted by amin.hassanzadeh View Post
    Hi all,

    I want to generate some data from a given distribution, let say exponential

    distribution. But I do not now how.

    Any help would be appreciated

    Amin

    What you need is a random number generator. Most software packages (or Excel) have an algorithm that will produce regular uniform or standard normal psuedo-random deviates.

    For example, if you want to generate a standard exponential distribution (X) where the mean and standard deviation are both equal 1, then you would transform as follows:

    X = -Ln(1-U)

    where U is uniformally distributed i.e. U~[0,1].

+ Reply to Thread

Similar Threads

  1. interval censored data using bootstrap method
    By zzzc in forum Statistical Research
    Replies: 2
    Last Post: 03-29-2011, 09:09 PM
  2. regression on censored data
    By ariklee in forum Statistics
    Replies: 2
    Last Post: 03-11-2009, 05:50 PM
  3. Generate Graphs for Statistical Data
    By cyberfriend in forum Other Software
    Replies: 3
    Last Post: 02-09-2009, 01:08 PM
  4. likelihood ratio for censored data
    By edwin_35 in forum Biostatistics
    Replies: 1
    Last Post: 07-27-2008, 09:35 AM
  5. Convert censored survival data to binary dependent variable.
    By Davellll in forum Psychology Statistics
    Replies: 1
    Last Post: 06-26-2007, 01:27 PM

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