previous
home
2 dimensional histogram
You can draw 2 dimensional histogram. To start, click "2D Histogram" tab on the application.
If you use the sample data,
click here, and save
it in the appropriate directory (or folder).
When you draw the histogram of the sample data,
- Click "Open data file", and specify the data file
prepared according to the above instruction.
- When clicking the "Show histogram" button bellow, the histogram is displayed.
Data
- Each label for data can be set in the first row in the data file. The label can not include spaces. Each label has to be delimited by space or tab.
- Data must be inputted by normal width.
- The data must be inputted in order of x and y which
are delimited by space or tab. Change the line, and input the data of the
following row similarly until the input of the last data ends, as follows.
x1  | y1 |
x2  | y2 |
. | . |
. | . |
. | . |
xn  | yn |
- In addition, you can use the table data form in the data file. You may
include the column data in the data file which are not used to make
the histgram.
In that case, the specification of columns in the data file used to make the histogram is needed at the line "Data columns" in the following "Input" instruction.
Inputs
- Click "Open data file" and specify the data
file prepared according to the above instruction.
- When the labels for data are used, check the "Data labels".
- The columns in the data file to be used to make a histogram can be
specified at the line "Data columns". The columns must be
specified in order of the column of x and the column of y which are delimited by space. For instance, when x is
put at the first column and y at the fifth column in the data file,
specify "1 5", and check the "Data columns" box.
- The range for x axis in the histogram can be specified at
the line "x data range". In that case, specify the
range for x in the histogram (the minimum and the maximum values
must be delimited by space), and check the "x data range" box. For instance,
when you want to assume the range for x in the histogram to be 0 x 15,
specify "0 15", and check the "x data range" box.
- Like the range for x axis, the range for y axis in the histogram can be specified at
the line "y data range". In that case, specify the range for y in the histogram (the minimum and the maximum values
must be delimited by space), and check the "y data range" box. For instance,
when you want to assume the range for y in the histogram to be 0 y 15,
specify "0 15", and check the "y data range" box.
- The number of channels for x in the histogram can be specified at the line
"Number of x channels". When the number of channels has been
specified, the "Number of x channels" box at the line must be checked.
- The number of channels for y in the histogram can be specified at the line
"Number of y channels". When the number of channels has been
specified, the "Number of y channels" box at the line must be checked.
- The value of the weight for the histogram can be changed at the line
"Weight", if necessary. When the value of the weight has
been changed, the "Weight" box at the line must be checked.
- The class interval for x in the histogram can be set at
the line "x intervals" arbitrarily.
Specify the values of the following
class delimiting by space from the minimum value of the class to the
maximum value one by one. And check the "x interval" box. In this case, the
setting of the number of channels at the line "Number of x channels" becomes
invalid. Moreover, when the range for x in the histogram at the line
"x data range" is set at the same time, the priority is
given to the set at the line "x intervals".
- The class interval for y in the histogram can arbitrarily be set at
the line "y intervals". Specify the values of the following
class delimiting by space from the minimum value of the class to the
maximum value one by one. And check the "y interval" box. In this case, the
setting of the number of channels at the line "Number of y channels" becomes
invalid. Moreover, when the range for y in the histogram at the line
"y data range" is set at the same time, the priority is
given to the set at the line "y intervals".
- The title for the histogram can be specified at the line "Graph title". Click the "Set" button after describing it.
- The label of the x axis in the histogram can be specified
at the line "Label of x axis". Click the "Set" button after describing it.
- The label of the y axis in the histogram can be specified
at the line "Label of y axis". Click the "Set" button after describing it.
- The label of the z axis in the histogram can be specified
at the line "Label of z axis". Click the "Set" button after describing it.
- The explanatory note (legend) of the histogram can be specified
at the line "Legend of data". Click the "Set" button after describing it.
Outputs
- When the "Show histogram" button is clicked, the histogram is displayed.
- When the "Show frequency table summary" button is clicked, the summary of the histogram is displayed.
- When the "Show frequency table" button is clicked, the frequency table is displayed.
- When the "Show contour" button is clicked, the contour of the
histogram is drawn.
- When the "Show data summary" button is clicked, the statistics of the
data used to make the histogram is displayed.
Fitting a function to the histogram
You can fit a function model to the histogram.
- Input a function model to be fitted at the line "Function f(x,y)", and
click the "Set" button. About the input of the function,
refer here.
- This fitting algorithm requires the specification of initial values
of the parameters included in the function model. Then, you must input the initial values of the parameters at the line "Parameters" which must be delimited by space, and click the "Set" button.
- The range for x data to be fitted can be specified at the line "x
data range". In that case, specify the range for x axis (the numerical
values must be delimited by space), and check the "x data range" box. For instance,
when you want to assume the range for x to be 0 x 15,
specify "0 15", and check the "x data range" box.
- Like the range for x data, the range for y data to be fitted can be specified at the line "y data range". In that case,
specify the
range for y in the plot (the minimum and the maximum values
must be delimited by space), and check the "y data range". For instance,
when you want to assume the range for y in the histogram to be 0 y 15,
specify "0 15", and check the "y data range".
- The explanatory note (legend) of the function can be specified
at the line "Legend". Click the "Set" button after describing it.
- When you use the second order derivatives of the function with
respect to the parameters in computation of the curvature matrix
elements and the parameter's errors, check the "2nd order
derivatives" box.
- A result of fitting can be displayed when "Fit"
button is clicked, and the fitted function is
also drawn in the graph.
- When the "Show error matrix" button is clicked, the elements of the
error matrix is displayed.
- When the "Show residual graph" button is clicked, the plot of the residuals is displayed.
- When the "Show residuals" button is clicked, the data of the residuals is displayed.
Kazushi Neichi
Department of Business Administration, Tohoku Gakuin University