Hi,
I'd like to simulate a variable with a negatively skewed distribution, bound by zero on the lower end. The only data available on the structure is the median and IQR.
Is there any advice on how to do this? I have tried following this thread using rbeta but am unsure how to calculate what inputs I need (eg, if my data is median (IQR), 5 (3-13)) - or what extra information I need to be able to use this.
I have also looked at sknor (ssc install sknor) as a possible resolution. But again, unsure of how to calculate my inputs aside from an estimate of the mean and variance.
Thank you for any help.
Megan
Related Posts with Simulating skewed variable bound by zero
Saving & using multiple scalars to generate new variablesHi all, I am trying to create a new indicator variable based on whether an individual is in the top…
matching with smae (Chinese) words?Dear All, I found this question here (https://bbs.pinggu.org/thread-10628284-1-1.html). Suppose that…
Generating a row total sum for each time a strpos from the list is foundHi, I am currently working with ICD10 codes and getting stuck on a question I feel like probably has…
Collecting exact 95% CII am conducting a survey analysis where I'm looking at proportions with the svy command. I'm using t…
Ttest between pop mean and sample meanHi, For a balance table, I am working on, I have generated the sample means and proportion of my d…
Subscribe to:
Post Comments (Atom)
0 Response to Simulating skewed variable bound by zero
Post a Comment