cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Due to the recently reported Microsoft outage, users may be temporarily unable to access My JMP or experience a delay receiving their verification codes. If you have previously installed JMP on your computer, this outage should not impact your ability to access the software. My JMP services will be restored as soon as Microsoft resolves this issue.
  • 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
ACraig
Level II

Can you use JSL script to run the Means/ANOVA and Student's t within Fit Y by X

I am building a workflow and while recording I do the Fit Y by X and then do the Means/ANOVA and Means Comparisons -> Student's t. When I stop recording it only does the JSL script for the Fit X by Y:

Data Table( "My Table" )
 << Oneway(
	Y( :Percent Change ),
	X( :Estimate ),
	Means( 1 ),
	Mean Diamonds( 1 ),
	Each Pair( 1 ),
	SendToReport(
		Dispatch( {}, "Oneway Plot", FrameBox, {Frame Size( 474, 336 )} )
	)
)

Does anyone know how to add the code in to have the Means/ANOVA and Student's t run auotmatically?

3 REPLIES 3
jthi
Super User

Re: Can you use JSL script to run the Means/ANOVA and Student's t within Fit Y by X

Doesn't that script include all of those (Means(1) and Each Pair(1))?

-Jarmo
ACraig
Level II

Re: Can you use JSL script to run the Means/ANOVA and Student's t within Fit Y by X

I don't quite understand what you mean. 

jthi
Super User

Re: Can you use JSL script to run the Means/ANOVA and Student's t within Fit Y by X

I assume when you are recording the workflow, you will also select correct things from fit y by x platform? So you select Means

jthi_2-1724073370340.png

and means comparison

jthi_3-1724073383893.png

So you get report like this

jthi_0-1724073306330.png

when you close the report it should be recorded

jthi_1-1724073342952.png

Other option is to Save Script to Workflow (this way you don't have to close the report window)

jthi_4-1724073420401.png

 

 

-Jarmo

Recommended Articles