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
 Histogram analysis

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
MustangoO Posted - 05/17/2023 : 11:27:08 AM
Hello! I have questions about the normal distribution (lognormal). I have a data distribution.

1. Using the command - select column - plot - histogram and then change Bin Size (5), I get a histogram in the coordinates Count-my data. I also turn on the distribution (double-click on the graph - distribution - curve type - lognormal).

2. Then I highlight the column with the data, Statistics - Descriptive Statistics - Frequency Counts - change number of bins (5) and
create standart table with Bin Center and Count. Then select column Bin Center and Count and plot the graph. This graph i copy on my histogram. In the end, on the graph i select points - analysis - Fitting - Non linear fitting - choose LogNormal Function and fit it.

As a result, I get the graph shown in the screenshot, where the red curve is obtained through automatic construction in the histogram menu, and the blue curve is obtained through the analysis menu.

Question - why don't the curves match if Bin number, size, minimum and maximum is equal in each case.
8   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 05/19/2023 : 08:45:03 AM
You could use menu Plot->Statistical->Histogram to make the plot. Then double-click on the plot. In the Plot Details dialog, go to Distribution tab, where you can add the distribution curve. The added curve should auto-rescale with the bin size.


James
MustangoO Posted - 05/19/2023 : 02:40:23 AM
Ah i see. Could you then help me to build the data distribution curve correctly so that it changes along with the change of the bin size? Or give a link to the section in Origin Help.
YimingChen Posted - 05/18/2023 : 3:20:52 PM
I see. The distribution curves on your graph are generated from the distribution fit tool. In this case, once the curves are created, they will not change with the histogram bin size.

MustangoO Posted - 05/18/2023 : 3:03:44 PM
I'm using OriginPro 2021 (9.8.0.200)
YimingChen Posted - 05/18/2023 : 09:10:48 AM
The magnitude of the distribution curve should change with the bin size as it scales with npts * binSize. Which version of Origin are you using? I couldn't reproduce your issue on Origin 2023b.

James
MustangoO Posted - 05/17/2023 : 4:25:33 PM
Bin size = 20 https://disk.yandex.ru/i/6nZ33VzQ9xDJIA

Bin size =5 https://disk.yandex.ru/i/AG6k5Vw7RgsPVQ
MustangoO Posted - 05/17/2023 : 4:23:04 PM
Thanks for the answer!
But i have a one more question.

I read this article (https://www.originlab.com/doc/Quick-Help/CurveFit-on-Histogram) and plot new histogram with different Distribution - normal, lognormal and Weibull. Then I decided to change the bin size, but the distribution curves have not changed and now they don't look right. How can I rearrange these curves to fit the histogram?


YimingChen Posted - 05/17/2023 : 12:25:27 PM
Please refer to this FAQ page. It is not suggested to fit on the binned data. On the other hand, the distribution curve on the histogram is obtained by performing distribution fit on raw data.

https://www.originlab.com/doc/Quick-Help/CurveFit-on-Histogram

James

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