cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
yanee
Level III

Fit least square ==> asking for control level.

Hi,

 

I wrote below script (simple fit least square but the effects are categorical) and it worked fine on my system (JMP 15.1). When my college try this script on his computer (JMP 15.0).

 

When he ran this script, it showed pop up menu asking for control level - see picture.

I manually plotted the least square on his computer and it showed the same message - asking for control level.

If I clicked cancel, then the fit least square showed up.

How do we turn off this control level thing ?

 

yanee_0-1611198234081.png

 

 

for (i=1, i <= n items (temp_list), i++,
		vlb1 << append(
		fit = Fit Model(
		Y( temp_list[i] ),
		by(:class),
		Effects( :Name( "~DEVICE TYPE" ), :Name( "~STAGE" ) ),
		Personality( "Standard Least Squares" ),
		Emphasis( "Minimal Report" ),
		Run(
			Profiler(
				1,
				Confidence Intervals( 1 )
			)
		)
		
		);
		fit << prediction formula;
		)	
);

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
julian
Community Manager Community Manager

Re: Fit least square ==> asking for control level.

Hi @yanee,

It's hard to know for sure why this is happening, but I suspect your colleague has set a preference to perform Dunnett's test automatically, which requires the specification of a control level. That preference can be found under Preferences > Platforms > Effect Fit. 

pref.png

If you would like to ignore platform preferences when running your script, you can use Ignore Platform Preferences( 1 ) in your call to Fit Model(). Here's what that looks like:

 

for (i=1, i <= n items (temp_list), i++,
		vlb1 << append(
		fit = Fit Model(
		Ignore Platform Preferences( 1 ),
		Y( temp_list[i] ),
		by(:class),
		Effects( :Name( "~DEVICE TYPE" ), :Name( "~STAGE" ) ),
		Personality( "Standard Least Squares" ),
		Emphasis( "Minimal Report" ),
		Run(
			Profiler(
				1,
				Confidence Intervals( 1 )
			)
		)
		
		);
		fit << prediction formula;
		)	
);

I hope this helps!

@julian 

View solution in original post

1 REPLY 1
julian
Community Manager Community Manager

Re: Fit least square ==> asking for control level.

Hi @yanee,

It's hard to know for sure why this is happening, but I suspect your colleague has set a preference to perform Dunnett's test automatically, which requires the specification of a control level. That preference can be found under Preferences > Platforms > Effect Fit. 

pref.png

If you would like to ignore platform preferences when running your script, you can use Ignore Platform Preferences( 1 ) in your call to Fit Model(). Here's what that looks like:

 

for (i=1, i <= n items (temp_list), i++,
		vlb1 << append(
		fit = Fit Model(
		Ignore Platform Preferences( 1 ),
		Y( temp_list[i] ),
		by(:class),
		Effects( :Name( "~DEVICE TYPE" ), :Name( "~STAGE" ) ),
		Personality( "Standard Least Squares" ),
		Emphasis( "Minimal Report" ),
		Run(
			Profiler(
				1,
				Confidence Intervals( 1 )
			)
		)
		
		);
		fit << prediction formula;
		)	
);

I hope this helps!

@julian