cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

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