cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-652868%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EJSL%3A%20How%20to%20Save%20Simulation%20Formula%20of%20the%20best%20fitted%20distribution%20in%20a%20new%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-652868%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThe%20procedure%20I%20hope%20to%20achieve%20is%3C%2FP%3E%3CP%3E1)%20fit%20all%20distributions%20to%20a%20column%3C%2FP%3E%3CP%3E2)%20use%20%22Save%20Simulation%20Formula%22%20of%20the%20best%20fitted%20distribution%3C%2FP%3E%3CP%3E3)%20but%20instead%20of%20%22Save%20Simulation%20Formula%22%20to%20the%20original%20table%2C%20I%20want%20to%20save%20it%20to%20a%20new%20table%20with%2010%20rows.%20This%20means%20the%20saved%20formula%20will%20generate%2010%20values%20from%20that%20best%20fitted%20distribution%20in%20this%20new%20table.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20challenge%20I%20have%20now%20is%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20when%20using%20Fit%20Distribution('All')%2C%20the%20Fit%20Handle%5B%5D%20can't%20find%20any%20specific%20distribution.%20I%20was%20hoping%26nbsp%3BFit%20Handle%5B1%5D%20will%20give%20me%20the%20best%20fit.%26nbsp%3B%3C%2FP%3E%3CP%3E2)%20I%20am%20not%20sure%20how%20to%20let%26nbsp%3B%22Save%20Simulation%20Formula%22%26nbsp%3B%20to%20save%20to%20a%20non-original%20table.%3C%2FP%3E%3CP%3EPlease%20help%20me.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-652868%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EAutomation%20and%20Scripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-653421%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20JSL%3A%20How%20to%20Save%20Simulation%20Formula%20of%20the%20best%20fitted%20distribution%20in%20a%20new%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-653421%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ESolved%20by%20fitting%20fixed%20set%20of%20distribution%20instead%20of%20fit%20all.%3C%2FP%3E%3CP%3EThe%20second%20challenge%20solved%20by%20just%20get%20formula%20from%20original%20table%20and%20create%20a%20new%20table%20with%20it%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-802269%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20JSL%3A%20How%20to%20Save%20Simulation%20Formula%20of%20the%20best%20fitted%20distribution%20in%20a%20new%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-802269%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F48471%22%20target%3D%22_blank%22%3E%40worldkeeping%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20looking%20into%20a%20similar%20challenge%2C%20could%20you%20provide%20more%20detail%20for%20the%20process%20you%20used%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EBen%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
worldkeeping
Level II

JSL: How to Save Simulation Formula of the best fitted distribution in a new table?

The procedure I hope to achieve is

1) fit all distributions to a column

2) use "Save Simulation Formula" of the best fitted distribution

3) but instead of "Save Simulation Formula" to the original table, I want to save it to a new table with 10 rows. This means the saved formula will generate 10 values from that best fitted distribution in this new table.

 

The challenge I have now is 

1) when using Fit Distribution('All'), the Fit Handle[] can't find any specific distribution. I was hoping Fit Handle[1] will give me the best fit. 

2) I am not sure how to let "Save Simulation Formula"  to save to a non-original table.

Please help me. 

1 ACCEPTED SOLUTION

Accepted Solutions
worldkeeping
Level II

Re: JSL: How to Save Simulation Formula of the best fitted distribution in a new table?

Solved by fitting fixed set of distribution instead of fit all.

The second challenge solved by just get formula from original table and create a new table with it

View solution in original post

2 REPLIES 2
worldkeeping
Level II

Re: JSL: How to Save Simulation Formula of the best fitted distribution in a new table?

Solved by fitting fixed set of distribution instead of fit all.

The second challenge solved by just get formula from original table and create a new table with it

Re: JSL: How to Save Simulation Formula of the best fitted distribution in a new table?

Hi @worldkeeping ,

 

I'm looking into a similar challenge, could you provide more detail for the process you used?

 

Thanks,

Ben

“All models are wrong, but some are useful”