I like watches and the Garmin Forerunner caught my eye. So to justify buying one I’ve had to start running!
Category Archives: JMP Scripting Language
Asserting Your Beliefs
"the programmer should make a number of definite assertions which can be checked individually, and from which the correctness of the whole program follows" - Alan Turin
Performance Profiling
In my last post I illustrated the performance boost generated by using matrix operations to conduct least squares regression calculations. Matrices by their nature require numerical data. So what about handling a categorical predictor variable? To do this it’s necessary to create dummy variables – separate variables for each unique level of the predictor variable.
Regression in Matrix Form
I’m working on some predictive modelling projects and I need to iteratively compute R2 statistics over 100’s of variables. Each time I do the calculations I need to go and have an extended coffee break – and I’m starting to buzz with too much caffeine so I thought I would look to see whether I could make my code more efficient!
Handling Lists of Columns
Note from author: this remains one of the most popular posts on this blog – so I have written an update.
A number of platforms in JMP allow for a variable number of columns. I want to take a look at how to handle this situation using the JMP scripting language.
Column References
A column of a JMP table acts as the primary source of data for most types of analysis within JMP. That is evident by the fact that the first task you perform when you launch a platform is to assign columns to roles:
Escape Sequences
A string variable is created by enclosing a text sequence within double quotes:
str = "this is a string";
If the string needs to contain special characters, including the double quote character itself, the special characters are prefixed with an escape sequence consisting of a backslash (\) following by an exclamation mark (!).
Boost Your Coding Productivity
I am a strong advocate of creating user-defined functions. They improve the structure of your JSL code but more importantly they transform the way that you think about the coding process, as I explained in an earlier post.
Taking JSL for a Spin
In an earlier post I discussed how the hint property of a text edit box can add some finesse to our user interface creations.
Display Boxes
With a little effort you can create some stunning interfaces to front-end your JSL scripts. The individual elements of the user interface are known as display boxes. They can be used to add content to a window and to control alignment.