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
 How to plot cumulative probability in Origin?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

catusf

2 Posts

Posted - 07/01/2009 :  06:08:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I would like to plot the cumulative probability (as described in here http://stattrek.com/Help/Glossary.aspx?Target=Cumulative_probability) for a set of data. How do I accomplish that in Origin?

Thanks

Dan

Origin Ver. 8.0 and Service Release SR1
Operating System: Windows Vista

Hideo Fujii

USA
1582 Posts

Posted - 07/01/2009 :  5:18:57 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear Catusf,

I think if you start from raw data, then you can just plot the "Histogram + Probability"; if has binned data, then you can use the Sum function in the Set Column Value tool to get the cumulative sum.

If it is the later case, let's say that you have the probability values:
{0.1, 0.2, 0.3, 0.4} (the total is 1.0)
to make a cumulative plot.

1) Put your data in a column, say in column B, but the first cell in the column starts with 0. So your column would be {0, 0.1, 0.2, 0.3, 0.4}.

2) Add a new column ("C") by choosing "Column: Add New Columns".

3) Highlight the column C, and choose "Column: Set Column Values" menu.

4) In the formula box, you put the following assignment formula:
sum(col(B))

5) Plot the result column C.

I hope the above method works for your purpose.

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 07/01/2009 5:20:17 PM
Go to Top of Page

catusf

2 Posts

Posted - 07/05/2009 :  07:25:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It is exactly what I need. Thank you Hideo.

Dan
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