katieleap/normanal

Next up for this project: add option to the simulation

Opened this issue · 6 comments

Allow a) specific values for the persons/cluster or b) distributions (NB, Poisson, integer uniform)

The specific values for the persons/cluster are currently input from the sidebar.

Current input variables:
effect.size=as.numeric(input$d)
n.clusters=as.numeric(input$N),
cluster.size=as.numeric(input$M),
btw.clust.var=as.numeric(input$sigmab),
indiv.var=as.numeric(input$sigma),

Would the distribution selection be a radio button or a drop-down list?

Yes, this would be an add-on: we would draw values from one of the distributions I mentioned, then plug them into cluster.size. If the user chooses to input exact values, we can let them input on the app, or upload a file, I guess.

So the sim is still normal? But the clusters aren't?

The outcome is still normal, but the distribution of the number of people in each cluster is not.

Another thing for "later".