cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar

I am very new user to JMP. Can you explain this function for me?

I am very new to the JMP program and I was assigned to translate this code into Python. I don't understand what is this function used for so I can't completely convert the code to Python.


col_string = ":FPC 1,:FPC 2,:FPC 3,:FPC 4,:FPC 5,:FPC 6,:FPC 7,:FPC 8,:FPC 9,:FPC 10";

 

// generate and evaluate a string that defines the Gen Reg Model for all FPCs

Eval(

Parse(

"GenRegFit = dT << Fit Model(

Validation( :Validation ),

Set Degree( 2 ),

Y( :average_leak ),

Effects(Factorial to Degree( "

|| col_string ||

")), 

Personality( \!"Generalized Regression\!" ),

Generalized Distribution( \!"LogNormal\!" ),

Run( Set Random Seed( "

|| Char( rand ) ||

" ), Fit( Estimation Method( Pruned Forward Selection ),

  Validation Method( \!"Validation Column\!" ) ),) );"

)

);
2 REPLIES 2
jthi
Super User

Re: I am very new user to JMP. Can you explain this function for me?

You most likely get most of the answers from JMP Help page https://www.jmp.com/support/help/en/18.1/#page/jmp/launch-the-generalized-regression-personality.sht... .

 

You can also run your command and from the resulting report go to red triangle and go to Relaunch Analysis to see how you fill in the platform (Fit Model in this case with Generalized Regression personality and LogNormal Distribution)

jthi_0-1738851176547.png

 

-Jarmo

Re: I am very new user to JMP. Can you explain this function for me?

This JMP script relies on a JMP platform that doesn't exist in any Python package. How much of a conversion to Python is necessary? Why convert to Python?

Recommended Articles