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
Esttab: Drop factor variables in regression outputI would like to drop some factor variable coefficients in my regressions, since they are mere contro…
Align boxplot and line graphDear Statalisters, I'm trying to combine a line graph with a boxplot in one row. The axes have the …
Time series graph for more than one observation for each time point dataDear Altruistic, I have data set in following format Code: * Example generated by -dataex-. To ins…
GMM, xtabond2: negative and insignificant coefficientsHello Statalister, I have been recently dealing with my model for the dissertation. I am an absolut…
x-axis scale for metanHi all, I am trying to create a forest plot using metan with a standardized scale of -24, 0, 1, 2, 5…
Subscribe to:
Post Comments (Atom)
0 Response to Simulating skewed variable bound by zero
Post a Comment