你好。我正在尝试使用几个不同的变量(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 )}
)
)
);