cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-574689%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E7%94%A8%E4%BA%8E%E9%80%BB%E8%BE%91%E5%9B%9E%E5%BD%92%E7%9A%84%20Box%20Tidwell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-574689%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%97%A8%20JMP%20%E7%A4%BE%E5%8C%BA%EF%BC%8C%3C%2FP%3E%3CP%3E%E9%80%BB%E8%BE%91%E5%9B%9E%E5%BD%92%E7%9A%84%E5%81%87%E8%AE%BE%E4%B9%8B%E4%B8%80%E6%98%AF%E5%8F%98%E9%87%8F%E5%92%8C%E5%AF%B9%E6%95%B0%E5%87%A0%E7%8E%87%E7%9A%84%E7%BA%BF%E6%80%A7%E3%80%82%20%E4%BD%86%E6%98%AF%EF%BC%8C%E6%88%91%E4%BB%8D%E7%84%B6%E6%B2%A1%E6%9C%89%E5%BC%84%E6%B8%85%E6%A5%9A%E5%A6%82%E4%BD%95%E5%9C%A8%20JMP%20%E4%B8%AD%E5%AF%B9%E6%AD%A4%E8%BF%9B%E8%A1%8C%E6%B5%8B%E8%AF%95%E3%80%82%20%E6%88%91%E5%9C%A8%E5%88%AB%E5%A4%84%E7%9C%8B%E5%88%B0%E7%9A%84%E5%85%B7%E4%BD%93%E6%B5%8B%E8%AF%95%E6%98%AFBox%20Tidwell%E6%B5%8B%E8%AF%95%E3%80%82%20%E6%9C%89%E6%B2%A1%E6%9C%89%E5%8A%9E%E6%B3%95%E5%9C%A8%20JMP%20%E4%B8%8A%E8%BF%9B%E8%A1%8C%E6%AD%A4%E6%B5%8B%E8%AF%95%EF%BC%9F%20%E5%A6%82%E6%9E%9C%E5%81%9A%E4%B8%8D%E5%88%B0%E8%BF%99%E4%B8%80%E7%82%B9%EF%BC%8C%E6%98%AF%E5%90%A6%E6%9C%89%E5%8F%A6%E4%B8%80%E7%A7%8D%E6%96%B9%E6%B3%95%E6%9D%A5%E6%B5%8B%E8%AF%95%E9%80%BB%E8%BE%91%E5%9B%9E%E5%BD%92%E6%A8%A1%E5%9E%8B%E7%9A%84%E7%BA%BF%E6%80%A7%E5%BA%A6%EF%BC%9F%3C%2FP%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-574689%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E9%AB%98%E7%BA%A7%E7%BB%9F%E8%AE%A1%E5%BB%BA%E6%A8%A1%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E5%9F%BA%E7%A1%80%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90%E4%B8%8E%E5%BB%BA%E6%A8%A1%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Choose Language Hide Translation Bar
View Original Published Thread

0 Kudos

用于逻辑回归的 Box Tidwell

嗨 JMP 社区,

逻辑回归的假设之一是变量和对数几率的线性。 但是,我仍然没有弄清楚如何在 JMP 中对此进行测试。 我在别处看到的具体测试是Box Tidwell测试。 有没有办法在 JMP 上进行此测试? 如果做不到这一点,是否有另一种方法来测试逻辑回归模型的线性度?

谢谢!

This post originally written in English (US) has been computer translated for you. When you reply, it will also be translated back to English (US).

3 Comments
Sarah-Sylvestre
Staff
Status changed to: Acknowledged

Hi @aande2, thank you for your suggestion! We have captured your request and will take it under consideration.

SamGardner
Level VII
Status changed to: Investigating
 
SamGardner
Level VII
Status changed to: Not Planned For Now

Hello @aande2 after some research we have decided to not pursue this.  You can do this in JMP manually by adding in the interactions or each continuous term with its log transform. That is, if Logit(Y) = aX, then fit the model Logit(Y) = a X + b X*Ln(X).  If the parameter estimate for the X*Ln(X) effect is significant, then Logit(Y) is deemed not linearly dependent on X. 

 

Run this script to see how to do this:

 

dt=Open( "$SAMPLE_DATA/Ingots.jmp" );

// Logistic regression model
dt << Fit Model(
	Freq( :count ),
	Y( :ready ),
	Effects( :heat, :soak ),
	Personality( "Nominal Logistic" ),
	Run( Likelihood Ratio Tests( 1 ), Wald Tests( 0 ) )
);

// model with Box Tidwell effects
dt <<Fit Model(
	Y( :ready ),
	Effects( :heat, :soak, :heat * :"Log[heat]"n, :soak * :"Log[soak]"n ),
	Target Level( "Ready" ),
	Personality( "Nominal Logistic" ),
	Run( Likelihood Ratio Tests( 1 ), Wald Tests( 0 ) )
);