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
 All Forums
 Origin Forum
 Origin Forum
 Sum of "binned" data

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
DerekK Posted - 02/17/2016 : 1:50:44 PM
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
2   L A T E S T    R E P L I E S    (Newest First)
DerekK Posted - 02/17/2016 : 2:39:07 PM
Snow
That works! Thanks, Derek
snowli Posted - 02/17/2016 : 2:21:35 PM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000