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
 Lognormal: distribution vs fitting

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
Theiden Posted - 09/25/2019 : 7:39:25 PM
Hello,
Could anyone explain me, please, the reason for this:
From a data distribution I've plotted a histogram. Going in the plot details menu, distribution tab I've selected the lognormal curve (black curve in figure). Since I need the parameters of the curve, I've also opened the bin worksheet, plotted the data points and performed the curve fitting (offset y0 fixed or not at 0) but the resulting fitting (red curve in figure) is very different from the previous one (and it seems even worse). Why? some suggestions?

Another thing: Does the xc parameter from the lognormal fit represent the mean or the median?

Thank you very much!
4   L A T E S T    R E P L I E S    (Newest First)
Theiden Posted - 10/15/2019 : 12:25:31 PM
Hi James,

So do you confirm that there is noway to perform a distribution with two peaks?

Which formula should I use to convert xc, w, mu and sigma in mean, median and SD?

Thanks
Theiden
YimingChen Posted - 10/11/2019 : 4:03:50 PM
Hi Theiden,

1) Well, you can get good estimate of the dist function as long as you have enough samples falling into each bin that can be used to approximate relative density. You will also need to normalize the fitted curve function to 1 in order to be as dist function.

2) Yes, you can get the standard error of parameters after performing curve fitting.

Thanks,
James
Theiden Posted - 10/11/2019 : 07:01:52 AM
Thank you for your answer, it was very useful.

But at this point I have other two questions:

1) if I have a distribution with two population (two peaks), can't I use the Distribution fit? The only way is to use the multiple peak fit on the bin considering the approximation that you mentioned, right? I suppose that if the bin size is small enough the approximation should be nice, or not?

2) I see that in the Distribution fit report there is the mean and median with their standard deviation (very useful because I have to describe my distribution in the form M+-SD). But is there a way to extract this information also from the xc and w parameters of the curve fit?

Thank you
YimingChen Posted - 09/26/2019 : 10:56:31 AM
Hi,

If you want to run a distribution fit on your raw data, please go to menu Statistics: Descriptive Statistics: Distribution Fit... where you can choose lognormal distribution. When you have a histogram plot, if you perform a nonlinear curve fit on the binned data, what you end up fitting is the binned data not the raw data, which is not accurate. While the distribution curve turned on in the histogram is accurate since it's equivalent to running distribution fit on raw data.

xc parameter in lognormal fit is neither mean nor median. If you check the formula, xc is like a scaling factor. And estimated ln(xc) value is the mean of ln(x).

Thanks
James

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