你好。我正在嘗試使用幾個不同的變量(X1到X5)建立一個模型,其中Y為經濟輸出。當修改一些常量(輸入價格)而不是模型的一部分但是計算Y的公式的一部分時,客戶想要知道Y如何變化以及X是什麼。在JMP中的模型中是否存在任何方式這可以做到除了去公式和修改這些值之外?他媽的你的時間
一種方法是使新列保存參數,然後使用分析器。請記住,您可以在圖表上為分析器內的參數重新調整x軸的大小。
一個例子:

Names default to here( 1 );
dt = Open( "$Sample_data/Big class.jmp" );
//Column with the initial parameter value
dt << New Column( "X1",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( 1 )
);
//Column with model formula
dt << New Column( "My Formula",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Parameter( {b0 = 1}, :height + :weight + :X1 ) )
);
//Profiler now includes the parameter
dt << Profiler(
Y( :My Formula ),
Profiler(
1,
Term Value(
height( 61.25, Lock( 0 ), Show( 1 ) ),
weight( 120, Lock( 0 ), Show( 1 ) ),
X1( 0.77, Min( -10 ), Max( 10 ), Lock( 0 ), Show( 1 ) )
)
),
SendToReport(
Dispatch(
{"Prediction Profiler"},
"3",
ScaleBox,
{Min( -10 ), Max( 10 ), Inc( 2 ), Minor Ticks( 0 )}
)
)
);