Where if z < 0, set z = 0
You can create your own custom functions by adding them to the bottom of USERFUNC.MAC, which is located with your Minitab program files in the Macros folder within your language folder. When you add a custom function to USERFUNC.MAC, you must assign your function a number between 10 and 1000. You will use this number to access the function in .
You can allow for optional parameters in the functions that you create, and set the values for these parameters in when you create the data. However, you should create reasonable default values for the parameters, in case parameter settings are not entered in . For more information on creating macros, go to Macros help.