Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = Bivariate( Y( :Weight ), X( :Height ) )<<GROUP by=""></GROUP>
versuchte lis unten, es wird nicht funktionieren.
val_predict_ls=obj<
Ich bin mir nicht sicher, wie ich die Matrix erstellen soll, ohne die Spalte in der Datentabelle zu erstellen, aber hier ist eine Methode, die funktional das tut, was Sie wollen
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
// Get the groupings for the sex column
Summarize( dt, bysex = by( :sex ) );
obj = Bivariate( Y( :Weight ), X( :Height ) ) << Group by( :sex );
obj << Fit spline( 0.1, Standardized, {Save Predicteds} );
// Create the matricies for the groups and delete the
// columns from the data table
For( i = N Items( bysex ), i >= 1, i--,
Eval(
Parse(
bysex[i] ||
"_Predicted_Matrix = column(dt,N Col(dt))<<GET values=""></GET>