Hi,
I have been using the Distribution platform to manually analyze a data set, but since I will have to repeat I am now trying to create a JSL script to extract the measures that are most important. The data looks like this:
Model Score
MODEL1 3.54485
MODEL2 2.36485
MODEL1 5.38456
MODEL2 2.14556
MODEL1 0
MODEL2 0.04856
I would like to extract the mean, std dev, etc. but also I would like to know how often the score is zero for each model. I have tried using summary, tabulate, and a few functions in JSL. I can accomplish everything but the "count zeroes" portion. I can get this number manually by creating the distribution and then doing histogram options >> show counts. Any ideas on how to do it in JSL? Code so far:
dt = Open("C:\Desktop\Results.jmp);
dt << Summary(
Group( :Model ),
Median( :score ),
Mean( :score ),
Std Dev( :score ),
Range( :score ),
);