How to find script link to confidence interval for the population mean?
If you are using new JMP (18 I think has these), you can access this from Help > Sample Index. Then filter down to tools + teaching modules and you should find it quite quickly
You can then right click and edit script
I think these are also available in your JMP installation folder > Samples > Scripts > InteractiveDemos