親愛的社區成員們,
我是一名教授,正在(逐步)將新的 JMP Pro 內容融入我的化學課程中。其中一個主題是 Tukey 的單自由度非加性檢驗,用於檢驗非重複因子設計中的非加性。請問 JMP Pro 是否有其他方法可以執行此檢驗(我在網路上沒有找到相關資訊)。
謝謝
麗塔
我不認為有任何內置的方法來獲得這個測試,但你可以使用一些 JSL 來構建它。 步驟是: 擬合您的 2 向方差分析模型。 保存預測值。 廣場他們。 現在再次擬合 2-way 模型,但將平方值添加為一列。 該測試是您的非附加測試。 我已經包含了一個示例數據集和一個執行此操作的腳本。 這是我使用的腳本,該腳本是針對此示例進行硬編碼的。
Names Default to Here(1);
dt = Current Data Table();
// Launch platform: Fit Least Squares
dt = Current Data Table();
Mod1 = dt << Fit Model(
Y( :Impurity ),
Effects( :Temp, :Pressure ),
Personality( "Standard Least Squares" ),
Emphasis( "Effect Leverage" ),
Run(
:Impurity << {Summary of Fit( 1 ), Analysis of Variance( 1 ),
Parameter Estimates( 1 ), Lack of Fit( 0 ), Scaled Estimates( 0 ),
Plot Actual by Predicted( 1 ), Plot Regression( 0 ),
Plot Residual by Predicted( 1 ), Plot Studentized Residuals( 0 ),
Plot Effect Leverage( 1 ), Plot Residual by Normal Quantiles( 0 ),
Box Cox Y Transformation( 0 )}
), Invisible
);
mod1 << Prediction Formula;
mod1 << Close Window();
// New formula column: Pred Formula Impurity^2
dt << New Formula Column(
Operation( Category( "Transform" ), "Square" ),
Columns( :Pred Formula Impurity )
);
// Change column name: Pred Formula Impurity^2 → Nonadd
dt:"Pred Formula Impurity^2"n << Set Name( "Non-Additive Test" );
// Launch platform: Fit Least Squares
dt << Fit Model(
Y( :Impurity ),
Effects( :Temp, :Pressure, :"Non-Additive Test"n ),
Personality( "Standard Least Squares" ),
Emphasis( "Effect Leverage" ),
Run(
:Impurity << {Summary of Fit( 0 ), Analysis of Variance( 0 ),
Parameter Estimates( 1 ), Sequential Tests( 1 ), Lack of Fit( 0 ), Scaled Estimates( 0 ),
Effect Tests( 0 ),
Plot Actual by Predicted( 0 ), Plot Regression( 0 ),
Plot Residual by Predicted( 0 ), Plot Studentized Residuals( 0 ),
Plot Effect Leverage( 0 ), Plot Residual by Normal Quantiles( 0 ),
Box Cox Y Transformation( 0 )}
)
);