cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Lalit_Rolaniya
Level II

Sorting the level after analysis

I analyzed the data in a split-plot design and in the post-hoc test (LSMeans Differences Student's t) the levels by default were arranged according to the least Sq mean. I tried to sort them based on levels and for individual tables; I got success. But I want to know how we can change these settings (sort by levels) by default for all analyses. 

3 REPLIES 3
txnelson
Super User

Re: Sorting the level after analysis

Here is an example of how to do the sorting using JSL

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Drug.jmp" );
obj = Fit Model(
	Y( :y ),
	Effects( :Drug, :x ),
	Personality( Standard Least Squares ),
	Emphasis( Effect Leverage )
);
myobj = obj << Run(
	:Drug << {LSMeans Student's t( .05, Connecting Letters Report( 1 ) )}
);
objr = obj << report;
Report(myobj)["Response y","Drug","LSMeans Differences Student's t",TableBox(1)] << sort by column( "Level", ascending = 1);

txnelson_0-1686740842383.png

 

Jim
Lalit_Rolaniya
Level II

Re: Sorting the level after analysis

Can we do this without JSL?, If possible than please let me know

txnelson
Super User

Re: Sorting the level after analysis

I am not aware of a preferences setting to have the table sorted by level automatically.  I suggest that you add this request to the JMP Wish List.

Jim

Recommended Articles