JSL is often described as a scripting language. Personally I think that doesn’t do it justice. I prefer to think of it as a programming language. The difference? For me an obvious difference is that instead of using hard-coded values I want to use variables. In particular I want to use variables to handle column references.
I’m sure there is a more technically correct term for this: I use the phrase segmented regression to describe the process whereby I select a segment of data within a curve and build a regression model for just that segment.
I have some code to aid the process. The code illustrates how to perform regression on-the-fly as well as how to utilise the MouseTrap function to handle mouse movement events.
Since writing this post I have placed the associated code on the
JMP File Exchange …
The problem with the internet is that it gives you too much information, or rather, it takes too long to gather the information. I often cross reference hotel booking sites with TripAdvisor, and its a laborious process. So this evening I decided to streamline my process by writing a script to gather to user reviews into a JMP table and simple report.
This is one of a series of posts highlighting new features available in version 13 of JMP.
Pick Directory is a JSL function that is used to allow the user to select a directory on the computer. Sometimes you don’t know where to look for data, or where to save data, so you ask the user using this function.
I was recently processing a number of files using pattern matching. During the processing I was storing information in lists which were subsequently used to populate new JMP data tables.
Everything worked fine until I increased the number of files by a factor of 10.
After some time I started hitting ‘escape’ and ‘CTRL-Z’ in a frenetic effort to seize control of my laptop.
A modal window forces a user to respond to a prompt before continuing execution of a script. The JMP user interface rarely uses modal windows and as programmers we should respect this principle and use modal windows sparingly. If a task is important enough to warrant a modal window it’s probably important enough to demand some level of validation of user inputs. Here’s how: (more…)