Names default to here( 1 );
dt = open("$SAMPLE_DATA\Big Class.jmp");
dt << New Column("Scaled weight", // unitless
<<Formula((:weight-ColMean(:weight))/((:ColMax(:weight)-ColMin(:weight))/2))
);
fm = dt << Fit Model(
Y( :height ),
Effects( :Scaled weight ),
Personality( "Standard Least Squares" ),
Emphasis( "Effect Leverage" ),
Run()
);
col = fm << Prediction Formula();
f = col << Get Formula;
show(f); //f = 62.55 + 7.31741573033707 * :Scaled weight;
// if scaled weight is unitless, isn't the only way for this to work out to
// kg or wahtever height is in
// is for 62.55 and 7.317 to both be kg?
Maybe I'm oversimplifying but it matches exactly the scaled estimates of
fm = dt << Fit Model(
Y( :height ),
Effects( :weight ),
Personality( "Standard Least Squares" ),
Emphasis( "Effect Leverage" ),
Run(Scaled Estimates(1))
);
I'm having too much cognitive dissonance because I always believed they were unitless but not I'm broken.
Maybe we're miscommunicating and what you're saying is that each factor loses its own units, but still retains the units of the response?