I would like to have new column property (or modification to existing one) which would allow me setting upper/lower limits and then all the values outside those limits would be treated as missing values.
I have situations where I have hundreds of measurement columns. In some rows single value might be a failed measurement and to easily exclude it from analysis I have two options:
Exclude whole row, but this will make me loose measurement data from all the good measurements also
Stack the data and handle those situations row by row exclusion. This will make it much more difficult to use some of the JMP platforms, column switcher, data filters and so on.
My suggestion is to add column property which I could use to "exclude" (treat as missing) those values from single column. This way I could fairly easily loop over the data and set my limits. Maybe setting this column property could also be added to Explore Outliers platform.
Edit:
So something like this but without formulas:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
Column(dt, "height") << Set Property(
"Missing Limits",
{50, 65}
);
key = "height";
m_temp = Column(dt, key) << get values;
Eval(EvalExpr(Column(dt, key) << Formula(
m = Expr(m_temp);
If((Expr(Name Expr(As Column(key))) << Get Property("Missing Limits"))[1] < m[Row()] < (Expr(Name Expr(As Column(key))) << Get Property("Missing Limits"))[2],
m[Row()]
,
.
);
)));
wait(1);
Column(dt, "height") << Set Property(
"Missing Limits",
{59, 61}
);
dt << Rerun Formulas;
wait(1);
Column(dt, "height") << Set Property(
"Missing Limits",
{50, 65}
);
dt << Rerun Formulas;
... View more