Warning: include(/home/duxus/public_html/idiomas/ingles.inc) [function.include]: failed to open stream: No such file or directory in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 412

Warning: include() [function.include]: Failed opening '/home/duxus/public_html/idiomas/ingles.inc' for inclusion (include_path='.:/usr/share/pear:/home/duxus/public_html:/home/duxus/public_html/lab') in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 412

Warning: include(/home/duxus/public_html/idiomas/biblioteca/ingles.inc) [function.include]: failed to open stream: No such file or directory in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include() [function.include]: Failed opening '/home/duxus/public_html/idiomas/biblioteca/ingles.inc' for inclusion (include_path='.:/usr/share/pear:/home/duxus/public_html:/home/duxus/public_html/lab') in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include(/home/duxus/public_html/idiomas/cadastro/ingles.inc) [function.include]: failed to open stream: No such file or directory in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include() [function.include]: Failed opening '/home/duxus/public_html/idiomas/cadastro/ingles.inc' for inclusion (include_path='.:/usr/share/pear:/home/duxus/public_html:/home/duxus/public_html/lab') in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include(/home/duxus/public_html/idiomas/comprar/ingles.inc) [function.include]: failed to open stream: No such file or directory in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include() [function.include]: Failed opening '/home/duxus/public_html/idiomas/comprar/ingles.inc' for inclusion (include_path='.:/usr/share/pear:/home/duxus/public_html:/home/duxus/public_html/lab') in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include(/home/duxus/public_html/idiomas/contato/ingles.inc) [function.include]: failed to open stream: No such file or directory in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include() [function.include]: Failed opening '/home/duxus/public_html/idiomas/contato/ingles.inc' for inclusion (include_path='.:/usr/share/pear:/home/duxus/public_html:/home/duxus/public_html/lab') in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include(/home/duxus/public_html/idiomas/detalhes/ingles.inc) [function.include]: failed to open stream: No such file or directory in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include() [function.include]: Failed opening '/home/duxus/public_html/idiomas/detalhes/ingles.inc' for inclusion (include_path='.:/usr/share/pear:/home/duxus/public_html:/home/duxus/public_html/lab') in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include(/home/duxus/public_html/idiomas/downloads/ingles.inc) [function.include]: failed to open stream: No such file or directory in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include() [function.include]: Failed opening '/home/duxus/public_html/idiomas/downloads/ingles.inc' for inclusion (include_path='.:/usr/share/pear:/home/duxus/public_html:/home/duxus/public_html/lab') in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include(/home/duxus/public_html/idiomas/recuperar/ingles.inc) [function.include]: failed to open stream: No such file or directory in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: include() [function.include]: Failed opening '/home/duxus/public_html/idiomas/recuperar/ingles.inc' for inclusion (include_path='.:/usr/share/pear:/home/duxus/public_html:/home/duxus/public_html/lab') in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 415

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/storage/7/39/9b/duxus/public_html_old/acesso.inc:415) in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 1057

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/storage/7/39/9b/duxus/public_html_old/acesso.inc:415) in /home/storage/7/39/9b/duxus/public_html_old/acesso.inc on line 1057

| |
Home Products & Services Educational Downloads Risk Platform Forum Wiki Duxus

Manual and Help for Excel addin Metrixus - Metrics for Financial Market

-> Content

Previous: 2.2. System Tools

Next: 2.2.5. Skewness


2.2.4. Histogram

Histograms are frequency diagrams to a data set, where the absciss axis or horizontal axis or 'X' axis represent the range of response variable. Into ordinates axis or vertical axis or 'Y' axis we have the value frequency of this variable.

The most popular histograms are the representative gaussian or normal curves and have a characteristic bell-shaped. Histograms usually use data grouping to compose its classes or ranges.

The histograms are graphical displays of a variable behavioring, also can help on this behavior explanation. Through this graphics comes immediatelly the identification of mode's value or the modal class from the sample or population.
Simmetry measure how skewness and measure of the "peakedness" kurtosis also are visible in a histogram.
Other convenient information in histograms is in the cumulative frequency, which give the probability density functions.

2.2.4.1. Histogram Command

Access:

  • Menu - Metrixus | Histogram
  • -Metrixus Toolbar

Description: Create a histogram like graphic to the cells interval selected. Allow sample (n-1) or populational (n) calculus and the inclusion of means and standard deviation for each histogram range. Through normalization option, its possible to create histograms to probability density function modeling. This command creates a new file which contain the results.

The data region or interval must be a contiguous interval whith at least two numeric fields. Fields with text format or empty will be disconsidered. The data interval must be selected before using this command.
The max number of ranges to the histogram depends of data amount, not exceeding 50 ranges (or classes). The default are 15 classes or half of data amount, or which is the lesser.

Histograms are used to represent data graphically, but when this data are prices or quotation of a financial asset, its interesting plot the histogram of this assets returns. Hypothesis about the type of distribuction of an asset return are based in this histograms, so its utility. From the option Histogram of returns from asset prices, all analised data are considered as assets quotations and transformed in returns through the time, musting data, so, sorted by time.

Important: In the histogram of returns, to the determination of statistics parameters of data - like media and standard deviation - is not aplied in any logari operator logarithmic to the quotation return. By this, the mean presented must be understood as ahope for returns and not the mean return, as well the standard deviation must be understood as volatileness of the returns hope!


Important: Also to the returns histogram, the data must be ordered. If exist more than one collumn in the cells interval, the data must be in order inside the lines and collumns. Any data from collumn A comes before any from collumn B! Data in line 1 from collumn A comes before from data in line 2 and collumn A!

Generating graphics or worksheets whithout colors allow an easy data printing hereafter represent better running performance.

The result if generating a hsitogram its a new worksheet with the statistics data, this is, without any connection with the 'database' which generate the result. This worksheet will have the following informations, where n is the valid data amount (or amount -1 for the return histogram)
  • Mean: mean of data.
  • Median: center value of data. If it have two central values, will show the arithmetic mean of these values.
  • Mode: mean value of the range or class whith bigger frequency or occurrence. If exist more than one mode, show empty.
  • Maximum: maximum data value.
  • Minimum: data minimun value. Text and empty cells are disconsidered.
  • St. Dev.: standard deviation. If exist only one data in range, shows empty.
    • Population:
    • Sample:
  • Skewness: data simmetry measure. So, a negative measure indicates data moved to the right and a positive measure indicates data moved to left. If n is less than 3, shows empty.
    • Population:
    • Sample:
  • Exc. Kurt.: measure of the "peakedness" of data in relatinh with normal curve (kurtosis=0). Also knows as excess kurtosis. So, a negative measure indicates "peakedness" relating the normal curve and a positive indicates "peaks" relating to the normal. If n less tha 4, shows empty.
    • Population:
    • Sample:
The option of histogram normalization result in a second histogram where the frequency of each range or class its divided by the data amount and ranges width. This way, a histogram with total area (integral) equals 1 is obtained. A cumulative frequency line also its showed and, in function of normalization, corresponds to the function of cumulative probability density. Although be less intuitive represent the histogram normalization using this way on contrary percentuals or proportions in each range, this normalization its indicated to draw functions of probability density.

The option of indicators for ranges adds to the histogram a line which represent the standard deviation of each range, allowing to analyse the data dispersion inside the classes.

Usage sample with data:

Data Histogram – parameters:
  • Data interval D7:M16 (100 data)
  • Ranges (or classes) 15
  • Sample
  • Include statistics indicators
  • Add normalized histogram
  • Color graphics
  • Data

7.927136.7102910.2513212.072879.229369.748688.6510210.7706411.3489813.28971
8.011096.8904610.3019412.160649.283089.799138.7133110.8249311.4126013.50137
8.091677.0484210.3527512.252789.336299.849468.77437 10.8798311.4776913.76158
7.839366.4986310.2008711.988919.175079.698068.5874010.7169211.2866913.10954
8.244217.3184910.4550912.453069.441369.949868.8932310.9917011.6128414.65268
7.747226.2384210.1505411.908339.120179.647258.5223110.6637111.2256312.95158
8.169277.1898510.4037912.349989.389049.899698.8343210.9354011.5443914.10750
7.546945.3473210.0501411.755799.008309.544918.3871610.5586411.1067712.68151
8.316767.4369010.5066912.563109.4933110.000008.9512011.0488011.683246.71029
7.650025.8925010.1003111.830739.064609.596218.4556110.6109611.1656812.81015

Results:

Sample100
Mean9.967
Median9.975
Mode10.000
Maximum14.653
Minimum5.347
St. Dev.1.949
Skewness0.002
Exc. Kurt.-0.363

Ranges<= Inf.< Sup.*Freq.Range MeanRange St. Dev.Norm.Freq. N.Accum.
15.355.9725.620.3910.0320.032
25.976.5926.370.1820.0320.064
36.597.2156.910.2130.0810.145
47.217.8357.540.1740.0810.226
57.838.4588.120.1950.1290.355
68.459.07118.770.2060.1770.532
79.079.69119.390.1770.1770.709
89.6910.311310.000.2080.2100.919
910.31 10.931110.610.1790.1771.096
1010.9311.551111.230.20100.1771.273
1111.5512.17811.880.19110.1291.402
1212.1712.79512.460.17120.0811.483
1312.7913.41413.040.21130.0641.547
1413.4114.03213.630.18140.0321.580
1514.0314.65214.380.39150.0321.612
*To the last range <= Sup.

Histogram containing range indications and the standard deviation of each range.

Histograma= Histogram ; Ocorrências= Occurrences ; Faixas= Ranges
DP/Faixas= St. Dev./Ranges ; Freq.= Frequency ; DP Fx= St. Dev. Fx

Normalized Histogram.
The cumulative frequency line (left axis) represent the cumulative probability function and the area above the line is 1, considering the range width equal to the maximum range value minus the minimum value divided by the range amount.

Histograma Normalizado= Normalized histogram ; Freq. Normalizadas= Normalized Frequencies
Faixas= Ranges ; Freq. N.= N. Freq. ; Acum=Accumulated

Usage sample with quotations:

Histogram of quotations returns - parameters:
  • Data interval C18:M37 (220 quotations)
  • Ranges (or classes) 15
  • Sample
  • Include statistics indicators
  • Add normalized histogram
  • Graphics in black and white
  • Generate histogram of returns
  • Data – quotations of an asset in time ordered by lines and after by columns

58.2058.0047.0046.5044.0046.0057.5057.0035.5034.0141.30
59.9058.0048.5045.5041.5046.0057.5053.80 35.5036.3141.30
61.2052.0048.0043.0044.5046.0056.5052.7032.5037.0040.50
61.0047.0048.5545.5042.5047.0055.0053.8034.6035.7041.00
61.0050.0050.0045.0043.0047.5053.6054.5038.0035.5039.50
60.0045.5053.5147.0043.0047.7054.6144.5036.00 36.4040.00
63.0043.0055.0048.0044.0049.0055.0044.5036.8036.5040.00
61.5046.9953.5048.5044.0050.0056.0046.0039.5037.5039.00
61.0048.0054.0050.5046.0049.5057.2045.0038.0038.0039.00
59.5050.0053.0050.5044.5049.0056.1045.5039.5038.5036.50
59.0049.0054.0048.0045.5050.5057.0044.0039.0040.0036.50
60.5045.0052.6045.0047.5051.5056.5041.9038.0040.0036.00
59.8045.0051.0041.0048.0051.9957.0041.0036.0042.0034.80
60.0043.5049.8038.0047.9952.0058.5040.0133.0043.8033.00
60.0041.0048.0043.2048.0051.0057.5039.0032.5043.0033.00
61.0038.5045.5048.0048.0052.0057.0039.0032.5044.0030.01
60.0038.1147.50 45.0047.4054.9956.0038.0033.0044.5033.00
60.0044.9846.0044.0046.5056.1058.0038.0034.5045.5033.00
60.5143.0050.0044.7045.5057.9957.5037.5034.4044.0032.00
61.2843.4948.5046.5046.0057.29 57.0036.0033.2142.0032.50

Results:

Sample219
Mean-0.177%
Median0.000%
Mode-0.161%
Maximum18.027%
Minimum-18.349%
St. Dev.4.220%
Skewness0.190
Exc. Kurt.3.017

The amount of data for returns its equal to the amount of data for quotations -1.
All the returns has out in percentual format.

Ranges<= Inf.< Sup.*Freq.Range meanRange St. Dev.Norm.Freq. N.Accum.
1-18.349%-15.924%1-18.349%0.000%10.1880.188
2-15.924%-13.499%00.000%0.000%20.0000.188
3-13.499%-11.074%00.000%0.000%30.0000.188
4-11.074%-8.649%5-9.382%0.607%40.9411.130
5-8.649%-6.223%7-7.311%1.011%51.3182.448
6-6.223%-3.798%19-5.108%0.577%63.5786.025
7-3.798%-1.373%47-2.476%0.663%78.85014.875
8-1.373%1.052%59-0.207%0.625%811.10925.985
91.052%3.477%51 1.992%0.659%99.60335.588
103.477%5.902%164.494%0.626%103.01338.601
115.902%8.327%7 7.038%0.582%111.31839.919
128.327%10.752%49.441%0.578%120.75340.672
1310.752%13.177%111.111%0.000%130.18840.860
1413.177%15.602%113.684%0.000%140.18841.048
1515.602%18.027%118.027%0.000%150.18841.237
*To the last range <= Sup.

Histogram if quotations returns informed.

Histograma= Histogram ; Ocorrências= Occurrences ; Faixas= Ranges
DP/Faixas= St. Dev./Ranges ; Freq.= Frequency ; DP Fx= St. Dev. Fx


Histograma Normalizado= Normalized histogram ; Freq. Normalizadas= Normalized Frequencies
Faixas= Ranges ; Freq. N.= N. Freq. ; Acum=Accumulated


Topo



-> Content

Previous: 2.2. System Tools

Next: 2.2.5. Skewness

Home | Company information | Tools | CED | Papers | News | Partners | Clients | Templates | Careers | Contact
©All rights reserved - Élin Duxus - Brazil - 2002 - 2012



Warning: include(/home/duxus/public_html/TextoDiv_en.inc) [function.include]: failed to open stream: No such file or directory in /home/storage/7/39/9b/duxus/public_html_old/rodapext_en.inc on line 41

Warning: include() [function.include]: Failed opening '/home/duxus/public_html/TextoDiv_en.inc' for inclusion (include_path='.:/usr/share/pear:/home/duxus/public_html:/home/duxus/public_html/lab') in /home/storage/7/39/9b/duxus/public_html_old/rodapext_en.inc on line 41