I'm trying to overlay a normal distribution with standard deviations from the mean onto a histogram. Attached as an example of something similar to what I'd like to create.
You can do what you are asking using the axis settings.
Best,
M
Is there a way to automatically populate the standard deviations based on the given data set I'm working with?
I would like to be able to run a script that creates a historgram with this overlay.
You could interactvely follow the instructions in the accepted solution for a particular case. Save the script from the platform with the results you want. Modify the script to extract the sample statistics estimates and then substitute them into the expressions for the reference region parameters. That approach seems reasonable.