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
Goodness of fit for panel dataHello, Statalist community! I feel a little foolish posting this question but I'm hoping that someo…
Building pretty crosstabs in putdocxHi Statalist- We are seeking some help in formatting tables in putdocx to look, well, pretty. We us…
Counting number of specific observations per groupDear all, I have a simple problem for which I have not been able to find a solution. Imagine a very…
Creating a subsequent variable after "max" commandHi, I'm having difficulty in creating a variable after using "max" command. Below illustrates it. …
estimate store for xtprobithello guys, I am using stata12 and I have a question regarding the estimate store for a xtlogit mod…
Subscribe to:
Post Comments (Atom)
0 Response to Simulating skewed variable bound by zero
Post a Comment