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
 Fitting using a Poisson distribution
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

spouvrea

USA
Posts

Posted - 09/25/2007 :  7:16:58 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi.
I would like to add a new fitting equation, to fit a histogram using the Poisson distribution. How can I do that?
Thanks

Mike Buess

USA
3037 Posts

Posted - 09/25/2007 :  9:20:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In all Origin versions you can use LabTalk's poisson function...
quote:
Poisson(npts, mean, seed)
The poisson(npts, mean, seed) function returns npts number of random integers having a Poisson distribution with mean mean. Seed is optional.

In Origin 7.0 or 7.5 you can also use nag_poisson_dist, see

Help> Programming> Origin C Language Reference> Global Functions> NAG Functions> Simple Calculations on Statistical Data


For general instructions on defining new fitting functions see

http://www.originlab.com/www/helponline/origin/Defining_a_New_Function_.htm

- and -

Help> Origin> Tutorials> Origin Tutorials> Tutorial 11... Defining a New Fitting Function


As for fitting a histogram see this topic...

http://www.originlab.com/forum/topic.asp?TOPIC_ID=6082


Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 09/25/2007 9:51:14 PM

Edited by - Mike Buess on 09/25/2007 9:59:55 PM
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