cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to use Accelerated Life Testing (ALT) to evaluate reliability. Register for June 5 webinar, 2pm US Eastern Time.

Discussions

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

Get predicted values or prediction formula log linear model

I am trying with several ways to get the prediction formula or the values in my table after this code and it doesn't give it.

 

model = dt << Fit Model(
	Y( :RSF ),
	Effects( :BH ),
	LogVariance Effects( :Category & LogVariance ),
	Personality( "Loglinear Variance" ),
	Run(Save Prediction Formula),
	SendToReport(
		Dispatch(
			{"Loglinear Variance Fit", "Mean Model for RSF"},
			"Fixed Effect Tests",
			OutlineBox,
			{Close( 0 )}
		)
	)
);

model << Save Predicted;
model << Indiv Confidence Interval( 0.1 );
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Get predicted values or prediction formula log linear model

Enhanced log seems to capture these

jthi_0-1780487125631.png

View more...
/*:

// Save Columns: Prediction Formula
Local({obj},
	obj = Data Table("InjectionMolding") << Fit Model(
		Y(:Shrinkage),
		Effects(:MoldTemp, :Screw Speed, :MoldTemp * :Screw Speed),
		LogVariance Effects(:Hold Time & LogVariance),
		Personality("Loglinear Variance"),
		Run
	);
	obj << (:Shrinkage << Prediction Formula);
	obj << Close Window;
);


// Save Columns: Indiv Confidence Interval
Local({obj},
	obj = Data Table("InjectionMolding") << Fit Model(
		Y(:Shrinkage),
		Effects(:MoldTemp, :Screw Speed, :MoldTemp * :Screw Speed),
		LogVariance Effects(:Hold Time & LogVariance),
		Personality("Loglinear Variance"),
		Run
	);
	obj << (:Shrinkage << Indiv Confidence Interval);
	obj << Close Window;
);
-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Get predicted values or prediction formula log linear model

Enhanced log seems to capture these

jthi_0-1780487125631.png

View more...
/*:

// Save Columns: Prediction Formula
Local({obj},
	obj = Data Table("InjectionMolding") << Fit Model(
		Y(:Shrinkage),
		Effects(:MoldTemp, :Screw Speed, :MoldTemp * :Screw Speed),
		LogVariance Effects(:Hold Time & LogVariance),
		Personality("Loglinear Variance"),
		Run
	);
	obj << (:Shrinkage << Prediction Formula);
	obj << Close Window;
);


// Save Columns: Indiv Confidence Interval
Local({obj},
	obj = Data Table("InjectionMolding") << Fit Model(
		Y(:Shrinkage),
		Effects(:MoldTemp, :Screw Speed, :MoldTemp * :Screw Speed),
		LogVariance Effects(:Hold Time & LogVariance),
		Personality("Loglinear Variance"),
		Run
	);
	obj << (:Shrinkage << Indiv Confidence Interval);
	obj << Close Window;
);
-Jarmo

Recommended Articles