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
 Forum for Origin C
 Adding on to descriptive statistics
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tcumby

USA
1 Posts

Posted - 04/19/2011 :  12:11:40 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release : 8.5.0 SR1
Operating System: Windows XP SP3

Hello,

I'm trying to add another entry to Origin's descriptive statistics output that is standard deviation/mean and have Origin output it with the rest of the descriptive statistics. I can see in 'stat_utils.c' where to add my variable, but what is not clear is how to incorporate my new variable into the statistics dialog box as well as how to have Origin output the value into the results worksheet. I was hoping that someone here might have some insight.


Thanks,
Ty

minimax

357 Posts

Posted - 04/19/2011 :  11:11:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Ty,

First of all, the quantity you need, "standard deviation/mean", is already an output in descriptive statistics tool.

Its label name is "Coefficient of Variance", under Quantities to Compute branch - Moments.

On the other hand, it is complicated to modify the Statistics on Columns tool to add additional output quantities.

We suggest you could modify another simpler tool "stats" if needed.

It is an X-Function in Origin.

You can run script "stats -d" to see its dialog.

As to how to modify X-Function, you may refer to following help:
http://ocwiki.originlab.com/index.php?title=Category:X-Function_Programming

Hope it helps.

Max
OriginLab Technical Support
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