Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
Shunee
Level I

How to use Get Effect Pvalues in JSL?

I try to use Get Effect Pvalues to identify the effect pvalues from a nominal fit model's effect summary. Unfortunately, it could not work.

Model = PreviousFitmodel << Run ;

P = Model << Get Effect PValues;

Show(P);

 

 

1 REPLY 1
Highlighted
txnelson
Super User

Re: How to use Get Effect Pvalues in JSL?

The Get Effect PValues message is only available to the Least Squares and the Parametric Survival Personalities for the Fit Model Platform.  Here is an example from the Scripting Index to show it's usage:

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/VA Lung Cancer.jmp" );
obj = Fit Model(
	Y( :Time ),
	Effects( :Age, :Diag Time ),
	Personality( Parametric Survival ),
	Censor( :censor ),
	Run Model
);
p = obj << Get Effect PValues;
Show( p );

I am not sure what your "PreviousFitmodel" refers to.  I assume it is not invoking a Fit Model Platform.

The Effects Summary pValues for any of the other platforms can always be extracted by messaging the Effect Summary Table Box(), and using the << get message for the appropriate column in the Table Box()

Jim
Article Labels

    There are no labels assigned to this post.