Thanks! That was a very good first hint! The example script is a good starting point!
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Diabetes.jmp" );
fm = dt << Fit Model(
	Y( :Y ),
	Effects(
		:Age, :Gender, :BMI, :BP, :Total Cholesterol, :LDL, :HDL, :TCH, :LTG,
		:Glucose
	),
	Personality( "Generalized Regression" ),
	Generalized Distribution( "Normal" ),
	Validation( :Validation ),
	Run(
		Fit(
			Estimation Method( Lasso( Adaptive ) ),
			Validation Method( Validation Column )
		)
	)
);
fm << (fit[1] << Relaunch with Active Effects);
 
Do you have any suggestions how I can extend this script in order to perform multiple regressions at once by using a loop?
I guess instead of Y I could use an array with multiple responses, however I struggle a bit with the fm object. I would like to use it to perform a Least Square regression with the outcome of each Relaunch with Active Effects