The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Two-way ANOVA
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Tryphon

36 Posts

Posted - 09/18/2015 :  10:21:06 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Dear,

I plan to buy the last Origin Pro version. In the programming guide, I see the possibility to use statistical tests straight in a script.

However, I am not sure if it is possible to use 2-way ANOVA test (or Kruskal Wallis ANOVA test) in a script.

Could you clarify this or describe a way to do this?

Thank you.

lkb0221

China
497 Posts

Posted - 09/18/2015 :  10:34:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
For LabTalk, you need to use xop X-Function:
http://www.originlab.com/doc/X-Function/ref/xop

For OriginC, you can use NAG lib.
Go to Top of Page

Tryphon

36 Posts

Posted - 09/18/2015 :  10:59:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you and have a nice day.
Go to Top of Page

Tryphon

36 Posts

Posted - 09/20/2015 :  2:35:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I saw th One way ANOVA example. I understand I can replace "oneway" by "twoway" in each command/variable name.

However, I cannot find documentation that explains how to select the columns using indexed input data option :

twowayGUI.GUI.InputData.Use = 0;

How to refer to the right variable strings :

? twowayGUI.GUI.InputData.Data.Factor_A$=Col(A); ?

? twowayGUI.GUI.InputData.Data.Factor_B$=Col(B); ?

? twowayGUI.GUI.InputData.Data.Factor_DATA$=Col(DATA); ?

Any idea ?

Edited by - Tryphon on 09/22/2015 09:52:24 AM
Go to Top of Page

lkb0221

China
497 Posts

Posted - 09/21/2015 :  10:54:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can use op_change XF to read the tree form an existing wks and see all the detailed settings.
Go to Top of Page

Tryphon

36 Posts

Posted - 09/22/2015 :  09:51:12 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
IT WORKS !!!!

(Invoking ANOVATwoWay in the menu and clicking on the ShowInfo of the result sheet (ANOVA2Way1) helps to understand which range to use with op_change)

Thank you.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000