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
 Origin Forum
 Sum of "binned" data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

DerekK

USA
14 Posts

Posted - 02/17/2016 :  1:50:44 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi
I am looking for a simple way (built-in graph or function, column formula, or script) to do the following...

I have 2 columns (XY data). X is the list of "bins" (integers, already in ascending order). Y are values. I would like to get the sum of the values in each bin (the sums of Y values that have the same X value). I tried the "2D Freq Count/Binning" but it did not do what I wanted. This is like a histogram, but instead of count, I need sum.

Thanks for the help!
-Derek

Origin Ver. and Service Release (Select Help-->About Origin): 2015 sr2
Operating System: win 7

snowli

USA
1381 Posts

Posted - 02/17/2016 :  2:21:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can highlight Y data and choose Analysis: Data Manipulation: Reduce Duplicated X.

There are many statistics of Y to choose from, mean, median, sum, max, sd, se, RMS.

Thanks, Snow
Go to Top of Page

DerekK

USA
14 Posts

Posted - 02/17/2016 :  2:39:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Snow
That works! Thanks, Derek
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