JPH0697448B2 - Small electronic calculator with graph display function - Google Patents
Small electronic calculator with graph display functionInfo
- Publication number
- JPH0697448B2 JPH0697448B2 JP60117509A JP11750985A JPH0697448B2 JP H0697448 B2 JPH0697448 B2 JP H0697448B2 JP 60117509 A JP60117509 A JP 60117509A JP 11750985 A JP11750985 A JP 11750985A JP H0697448 B2 JPH0697448 B2 JP H0697448B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- graph
- input
- key
- regression
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Calculators And Similar Devices (AREA)
- Digital Computer Display Output (AREA)
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 〔発明の技術分野〕 本発明は、グラフ表示機能を備えた小型電子式計算機に
関する。TECHNICAL FIELD OF THE INVENTION The present invention relates to a small electronic calculator having a graph display function.
従来、例えばパーソナルコンピュータ(パソコン)、ポ
ケットコンピュータ等の小型電子式計算機において、BA
SICのプログラムを作成し、データを入力することによ
ってグラフを表示できるようにしたものがある。Conventionally, in small electronic calculators such as personal computers (personal computers) and pocket computers, BA
Some SIC programs have been created and graphs can be displayed by entering data.
しかし、上記従来のグラフ表示機能を持つ小型電子式計
算機においては、グラフ専用のプログラムを組む必要が
あり、このためプログラムに慣れていない人はグラフ作
成が容易にできず、また、慣れている人であっても入力
操作が非常に面倒であった。However, in the above-mentioned conventional compact electronic calculator having a graph display function, it is necessary to build a program dedicated to the graph. Therefore, those who are not familiar with the program cannot easily create the graph, and those who are used to it Even then, the input operation was very troublesome.
本発明は上記の点に鑑みてなされたもので、簡単なキー
操作で統計グラフを作成し得ると共に、その統計グラフ
を基に回帰グラフを作成して表示し得るグラフ表示機能
を備えた小型電子式計算機を提供することを目的とす
る。The present invention has been made in view of the above points, and is capable of creating a statistical graph by a simple key operation, and a small electronic device having a graph display function capable of creating and displaying a regression graph based on the statistical graph. The purpose is to provide a formula calculator.
本発明は、統計データの入力に伴い、その点を即時表示
部にプロットし、その後上記データを基に回帰グラフを
作成して表示するようにしたものである。According to the present invention, as statistical data is input, the points are plotted on the immediate display unit, and then a regression graph is created and displayed based on the above data.
〔発明の第1実施例〕 以下図面を参照して本発明の実施例を説明する。第1図
において1はキー入力部で、置数キー2、ファンクショ
ンキー3、関数キー4、「,」キー5、「;」キー6、
Graphキー7、レンジデータを入力するためのRangeキー
8、統計データメモリを指定するLRキー9、グラフ作成
動作を実行させる実行(EXE)キー10、データ入力を指
定するDTキー11、入力データをクリアするCLキー12、回
帰グラフの表示を指示するLine1キー13を備えている。
そして、上記キー入力部1からの入力データは、制御部
20へ送られる。この制御部20は、各種制御プログラムを
記憶しており、上記キー入力部1にサンプリング信号を
与えると共に、数式記憶部19、演算部21、数式バッファ
22、表示バッファ23に制御指令を与える。また、上記制
御部20は、キー入力部1のキー操作に応じて演算部21、
数式バッファ22に演算データを与えると共に、RAM等に
より構成される記憶部24にアドレスデータ及び読出し/
書込み指令を与える。そして、上記演算部21は、数式記
憶部19、数式バッファ22及び記憶部24に接続される。上
記数式バッファ22は、入力バッファを兼ねており、キー
入力データを一時記憶すると共に、数式記憶部19から読
出される数式が書込まれるようになっている。また、演
算部21から出力されるデータは、表示バッファ23へ送ら
れる。この表示バッファ23は、テキスト表示バッファ23
a及びグラフ表示バッファ23bからなり、記憶部24からア
ドレスデコーダ25を介して送られてくるデータによりア
ドレス指定され、その指定アドレスに演算部21からのデ
ータが書込まれる。そして、表示バッファ23は、テキス
ト表示バッファ23a、グラフ表示バッファ23bに書込まれ
たデータを表示部26に出力して表示する。このデータを
表示部26は、Y軸方向のセグメント数がM例えば96、X
軸方向のセグメント数がN例えば64の構成となってお
り、X軸方向では最左端が最小値Xmin、最右端が最大値
Xmax、Y軸方向では最下端が最小値Ymin、最上端が最大
値Ymaxとして設定され、入力データ(X,Y)に対し、
(x,y)データにより座標位置が表示される。First Embodiment of the Invention An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, reference numeral 1 denotes a key input section, which includes a numeral key 2, a function key 3, a function key 4, a "," key 5, and a ";" key 6,
Graph key 7, Range key 8 for inputting range data, LR key 9 for specifying statistical data memory, Execute (EXE) key 10 for executing graph creation operation, DT key 11 for specifying data input, input data It has a CL key 12 for clearing and a Line 1 key 13 for instructing to display a regression graph.
The input data from the key input unit 1 is the control unit.
Sent to 20. The control unit 20 stores various control programs, gives a sampling signal to the key input unit 1, and also stores a mathematical expression storage unit 19, a calculation unit 21, and a mathematical formula buffer.
22 and gives a control command to the display buffer 23. In addition, the control unit 20 controls the operation unit 21 according to the key operation of the key input unit 1,
The arithmetic data is given to the mathematical expression buffer 22, and the address data and the read / write data are stored in the storage unit 24 configured by a RAM or the like.
Give a write command. Then, the arithmetic unit 21 is connected to the formula storage unit 19, the formula buffer 22, and the storage unit 24. The formula buffer 22 also functions as an input buffer, and temporarily stores key input data and writes a formula read from the formula storage unit 19. Further, the data output from the calculation unit 21 is sent to the display buffer 23. This display buffer 23 is a text display buffer 23.
It is composed of a and a graph display buffer 23b, is addressed by the data sent from the storage unit 24 via the address decoder 25, and the data from the arithmetic unit 21 is written to the designated address. Then, the display buffer 23 outputs the data written in the text display buffer 23a and the graph display buffer 23b to the display unit 26 for display. The display unit 26 displays this data when the number of segments in the Y-axis direction is M, for example, 96, X.
The number of segments in the axial direction is N, for example 64, and the leftmost end is the minimum value Xmin and the rightmost end is the maximum value in the X-axis direction.
Xmax, in the Y-axis direction, the bottom end is set as the minimum value Ymin and the top end is set as the maximum value Ymax. For input data (X, Y),
The coordinate position is displayed by the (x, y) data.
しかして、上記記憶部24には、統計データメモリ31、A
メモリ32、Bメモリ33、前回プロットメモリ34、今回プ
ロットメモリ35、レンジデータXmin、Xmax、Ymin、Yma
x、X軸スケールデータ(X軸目盛り幅)Xscale、Y軸
スケールデータ(Y軸目盛り幅)Yscale等のレンジ指定
データを記憶するレンジメモリ36、X軸データを記憶す
るXメモリ37、Y軸データを記憶するYメモリ38、xメ
モリ39、演算データメモリ40が設けられている。Then, in the storage unit 24, the statistical data memory 31, A
Memory 32, B memory 33, previous plot memory 34, current plot memory 35, range data Xmin, Xmax, Ymin, Yma
x, X-axis scale data (X-axis scale width) Xscale, Y-axis scale data (Y-axis scale width) Range memory 36 for storing range designation data such as Yscale, X-memory 37 for storing X-axis data, Y-axis data A Y memory 38, an x memory 39, and a calculation data memory 40 for storing the data are provided.
次に上記実施例の動作を説明する。まず、統計データを
プロットする場合の動作について第2図のフローチャー
トに従って説明する。最初に第2図のステップA1に示す
ように、置数キー2及びRangeキー8により、X軸,Y軸
のレンジ及びスケールの設定を行なう。すなわち、Rang
eキー8を操作すると、レンジ設定項目が表示部26に表
示されるので、Xmin、Xmax、…Ymax、Yscaleの順にデー
タを入力する。上記のレンジデータは、制御部20から記
憶部24へ送られ、レンジメモリ36に書込まれる。次いで
置数キー2及びDTキー11により2変数統計データを入力
する。この場合、回帰の種類に応じて次のようにX,Yの
統計データを入力する。Next, the operation of the above embodiment will be described. First, the operation of plotting statistical data will be described with reference to the flowchart of FIG. First, as shown in step A1 in FIG. 2, the X-axis and Y-axis ranges and scales are set by the numerical key 2 and the Range key 8. That is, Rang
When the e key 8 is operated, the range setting item is displayed on the display unit 26, and data is input in the order of Xmin, Xmax, ... Ymax, Yscale. The above range data is sent from the control unit 20 to the storage unit 24 and written in the range memory 36. Next, the two-variable statistical data is input by using the numeric key 2 and the DT key 11. In this case, the X and Y statistical data are input as follows according to the type of regression.
直線回帰 X(置数)「,」Y(置数)「DT」 対数回帰 「ln」X「,」Y「DT」 指数回帰 X「,」「ln」Y「DT」 べき乗回帰 「ln」X「,」「ln」Y「DT」 また、データを削除する場合には、上記DTキー11の代わ
りにCLキー12を操作する。そして、上記入力データX,Y
は、数式バッファ22に送られて一時記憶される。一方、
制御部20は、データX,Yが入力されるまでステップA2で
待機しており、データが入力されるとステップA3に進ん
でDTキー11とCLキー12の何れが操作されたかを判断し、
DTキー11が操作された場合であればステップA4に進む。
このステップA4では、入力されたX,Yデータを統計デー
タメモリ31に入力し、データ入力回数n、ΣX、ΣY、
ΣXY、ΣXの統計演算処理を行なう。その後、ステップ
A5、A6において上記データX,YをXメモリ37、Yメモリ3
8にそれぞれストアする。その後、ステップA7に示すよ
うに の演算を行なってX軸方向の位置データxを算出し、ス
テップA8において今回プロトメモリ35に書込む。次いで
ステップA9に示すように の演算によりデータYに対するY軸方向のドット位置y
を算出する。次にステップA10に示すように、上記ステ
ップA7、A9で算出したドット位置データ(x,y)をグラ
フ表示バッファ23bに書込む。そして、ステップA11にお
いてグラフ表示バッファ23bの内容に従って第3図
(a)に示すように表示部26上にプロット(A点)す
る。以下、同様にして入力データX,Yに従ってプロット
表示が行なわれる。Linear regression X (register) "," Y (register) "DT" Logarithmic regression "ln" X "," Y "DT" Exponential regression X ",""ln" Y "DT" Power regression "ln" X ",""Ln" Y "DT" When deleting data, the CL key 12 is operated instead of the DT key 11. And the above input data X, Y
Is sent to the formula buffer 22 and is temporarily stored therein. on the other hand,
The control unit 20 waits in step A2 until the data X and Y are input, and when the data is input, the process proceeds to step A3 to determine which of the DT key 11 and the CL key 12 has been operated,
If the DT key 11 is operated, the process proceeds to step A4.
In this step A4, the input X, Y data is input to the statistical data memory 31, and the data input count n, ΣX, ΣY,
Performs statistical calculation processing of ΣXY and ΣX. Then step
In A5 and A6, the above data X and Y are stored in X memory 37 and Y memory 3
Store at 8 respectively. Then, as shown in step A7 Is calculated to calculate the position data x in the X-axis direction and is written in the proto memory 35 this time in step A8. Then as shown in step A9 The dot position y in the Y-axis direction with respect to the data Y is calculated by
To calculate. Next, as shown in step A10, the dot position data (x, y) calculated in steps A7 and A9 is written in the graph display buffer 23b. Then, in step A11, it is plotted (point A) on the display unit 26 according to the contents of the graph display buffer 23b as shown in FIG. Thereafter, similarly, plot display is performed according to the input data X and Y.
また、統計データメモリ31に記憶されているX,Yデータ
をクリアする場合は、置数キー2より対応データを入力
した後、CLキー12を操作する。このCLキー12が操作され
た場合は、ステップA3からステップA12に進み、統計デ
ータメモリ31からX,Yデータを削除する。すなわち、
n、ΣX、ΣY、ΣXY、ΣXから入力されたX,Yの内容
を削除する。そして、ステップA13〜A17において、上記
ステップA5〜A9と同様にしてx、yデータを求め、ステ
ップA18に示すようにグラフ表示バッファ23bにおけるデ
ータ(x,y)を削除(反転)し、第3図(b)に示すよ
うに(x,y)のドットを消灯させる。When clearing the X and Y data stored in the statistical data memory 31, the CL key 12 is operated after inputting the corresponding data from the numerical keypad 2. When this CL key 12 is operated, the process proceeds from step A3 to step A12, and the X and Y data is deleted from the statistical data memory 31. That is,
The contents of X and Y input from n, ΣX, ΣY, ΣXY, and ΣX are deleted. Then, in steps A13 to A17, x and y data are obtained in the same manner as in steps A5 to A9, and the data (x, y) in the graph display buffer 23b is deleted (inverted) as shown in step A18. The dot (x, y) is turned off as shown in FIG.
しかして、回帰グラフを作成する場合は、上記のように
して入力データX,Yをプロット表示させた状態におい
て、Line1キー13を操作する。このLine1キー13の操作
は、第2図のステップA11に続くステップA19において検
出され、ステップA20において詳細を後述する回帰グラ
フが作成される。また、Line1キー13が操作されない場
合は、ステップA2に戻って次の入力データに備える。Then, when creating a regression graph, the Line 1 key 13 is operated with the input data X and Y displayed in a plot as described above. This operation of the Line 1 key 13 is detected in step A19 following step A11 in FIG. 2, and a regression graph whose details will be described later is created in step A20. If the Line 1 key 13 is not operated, the process returns to step A2 to prepare for the next input data.
次に上記ステップA20の回帰グラフ作成処理の詳細につ
いて第4図のフローチャートにより説明する。まず、ス
テップB1に示すように記憶部24内のxメモリ39の内容を
初期化、つまり、「1」にする。次いでステップB2に示
すように の演算により回帰線の係数Bを算出し、ステップB3にお
いて記憶部24内のBメモリ33にストアする。上記ステッ
プB2において、式中におけるX,Yの値は、直線回帰の場
合は、入力データX,Yがそのまま使用されるが、対数回
帰、指数回帰、ベキ乗回帰の場合は、次に示す値が使用
される。Next, the details of the regression graph creation processing in step A20 will be described with reference to the flowchart in FIG. First, as shown in step B1, the contents of the x memory 39 in the storage unit 24 are initialized, that is, set to "1". Then as shown in step B2 The coefficient B of the regression line is calculated by the calculation of and is stored in the B memory 33 in the storage unit 24 in step B3. In the step B2, the values of X and Y in the formula are the input data X and Y as they are in the case of linear regression, but the following values are used in the case of logarithmic regression, exponential regression, and power regression. Is used.
対数回帰…X→Xの値の対数 Y→Yの値 指数回帰…X→Xの値 Y→Yの値の対数 ベキ乗回帰…X→Xの値の対数 Y→Yの値の対数 その後、ステップB4に示すように の演算により回帰式の定数項Aを求め、ステップB5にお
いてAメモリ32にストアする。次にステップB6に示すよ
うに上記A,Bを数式記憶部19に入力し、回帰式「Y=F
(X)」を設定する。この回帰式は、回帰の種類によっ
て 直線回帰…Y=A+BX 対数回帰…Y=A+B・lnX 指数回帰…Y=A・eBX ベキ乗回帰…Y=A・XB となる。次いでステップB7において上記回帰式「Y=F
(X)」を数式バッファ22に入力する。そして、ステッ
プB8に示すように の演算によりドット位置xにおける実際の値Xを求め、
ステップB9においてXメモリ37にストアする。その後、
ステップB10,B11において、「Y=F(X)」の演算に
よりYの値を求め、Yメモリ38にストアする。更にステ
ップB12において、 の演算によりドット位置yを求める。そして、ステップ
B13、B14において、データ(x,y)を今回プロットメモ
リ35に入力後、グラフ表示バッファ23bに入力する。そ
の後、ステップB15に示すようにxメモリ39の保持デー
タが「1」であるか否かを判断し、「1」でなければス
テップB16に進んで今回プロットメモリ35、前回プロッ
トメモリ34に保持している今回プロットと前回プロット
により点灯したドットを結ぶドット(p,q)を求め、ス
テップB17に示すようにグラフ表示バッファ23bに入力す
る。その後、ステップB18において、グラフ表示バッフ
ァ23bの内容に従って第3図(c)に示すように表示部2
6にグラフを表示する。なお、第3図(c)は、直線回
帰についての表示例を示したものである。また、上記ス
テップB15において、メモリ39の内容が「1」であると
判断された場合は、直ちにステップB18に進んで始点位
置をグラフ表示する。その後、ステップB19において、
xメモリ39の内容xがX軸方向の総ドット数Mに等しく
なったか否かを判断し、等しくない場合はステップB20
に進み、x,yのデータをX0,y0メモリに書込み、更に
(x0,y0)データをステップB21において前回プロットメ
モリ34に転送する。そして、ステップB22に示すように
「x0+1」のデータをxメモリ39に書込んでステップB8
に戻る。以下、同様の動作を繰返し、X,Yの各データに
基づいて第3図(c)に示すように回帰グラフを作成す
る。そして、xメモリ39の内容xがMの値に達すれば、
ステップB19の判断結果がYesとなってグラフ作成処理を
終了する。Logarithmic regression ... Logarithm of X → X value Y → Y value Exponential regression ... X → X value Logarithmic power regression ... X → X value logarithm Y → Y value logarithm As shown in step B4 The constant term A of the regression equation is obtained by the calculation of and is stored in the A memory 32 in step B5. Next, as shown in step B6, the above A and B are input to the mathematical expression storage unit 19, and the regression equation “Y = F
(X) ”is set. The regression equation, a linear regression ... Y = A + BX logarithmic regression ... Y = A + B · lnX exponential regression ... Y = A · e BX powers regression ... Y = A · X B according to the type of regression. Then, in step B7, the above regression equation “Y = F
(X) ”is input to the formula buffer 22. And as shown in step B8 By calculating the actual value X at the dot position x,
In step B9, it is stored in the X memory 37. afterwards,
In steps B10 and B11, the value of Y is obtained by the calculation of “Y = F (X)” and stored in the Y memory 38. Further in step B12, The dot position y is obtained by the calculation of. And step
At B13 and B14, the data (x, y) is input to the plot memory 35 this time and then to the graph display buffer 23b. Then, as shown in step B15, it is determined whether the data held in the x memory 39 is "1". The dot (p, q) that connects the lit dots in the current plot and the previous plot is calculated and input to the graph display buffer 23b as shown in step B17. Then, in step B18, the display unit 2 is displayed according to the contents of the graph display buffer 23b as shown in FIG. 3 (c).
Display the graph on 6. Note that FIG. 3 (c) shows a display example of linear regression. When it is determined in step B15 that the content of the memory 39 is "1", the process immediately proceeds to step B18 and the starting point position is displayed in a graph. Then, in step B19,
It is judged whether or not the content x of the x memory 39 has become equal to the total number M of dots in the X axis direction, and if not equal, step B20.
In step B21, the x, y data is written in the X 0 , y 0 memory, and the (x 0 , y 0 ) data is transferred to the previous plot memory 34 in step B21. Then, as shown in step B22, the data of "x 0 +1" is written in the x memory 39, and step B8
Return to. Thereafter, the same operation is repeated, and a regression graph is created as shown in FIG. 3 (c) based on each data of X and Y. When the content x of the x memory 39 reaches the value of M,
The decision result in step B19 becomes Yes, and the graph creating process is ended.
〔発明の第2実施例〕 次に本発明の第2実施例について説明する。統計の処理
においては、度数入力する場合もあり、「x1,y1;n1DT」
とすると、(x1,y1)というデータをn1個入力すること
であるが、この場合、各(x,y)の点においてnという
重みを持つようにすれば、このような度数付き統計デー
タのプロットも可能である。第4図は、度数付き統計デ
ータのプロットを可能にした実施例を示すもので、グラ
フ表示バッファ23bにおける表示部26の1ビットに対応
するアドレスの記憶容量を例えば4ビット構成にし、そ
のドットにおける度数を記憶させ、そのアドレスの内容
が“0000"の時に限り、表示命令を出力しないようにす
る。その他は第1図に示した第1実施例と同様の構成で
あるので、第1図と同一符号を付して詳細な説明は省略
する。Second Embodiment of the Invention Next, a second embodiment of the present invention will be described. In the process of statistics, there are times when you need to enter a frequency, so "x 1 , y 1 ; n 1 DT"
Then, n 1 data of (x 1 , y 1 ) is input. In this case, if each point (x, y) has a weight of n, such a frequency It is also possible to plot statistical data. FIG. 4 shows an embodiment in which it is possible to plot statistical data with frequencies. For example, the storage capacity of an address corresponding to 1 bit of the display unit 26 in the graph display buffer 23b has a 4-bit configuration and the dot The frequency is stored and the display command is not output only when the content of the address is "0000". Others are the same as those in the first embodiment shown in FIG. 1, and therefore, the same reference numerals as those in FIG. 1 are given and detailed description thereof is omitted.
次に上記第2実施例の動作を第6図のフローチャートを
参照して説明する。まず、第6図のステップA1におい
て、第1実施例と同様にしてX軸、Y軸のレンジ及びス
ケールの設定を行なう。次いでステップA2に示すように
データX,Y,mの入力があるを否かを判断し、データ入力
があればステップA3に進む。このステップA3では、DTキ
ー11、CLキー12の何れが操作されたかを判断し、DTキー
11が操作された場合は、第1実施例と同様にステップA4
〜A9の処理を実行する。そして、ステップA9で求めたy
の値をステップA21において記憶部24内の今回プロット
メモリ35に書込む。次いでステップA22に進み、グラフ
表示バッファ23bの(x,y)におけるデータmを演算部21
に読出す。そして、ステップA23に示すように上記読出
しデータmに今回入力された度数データmを加算し、そ
の加算結果をステップA24においてグラフ表示バッファ2
3bの(x,y)に書込む。なお、データX,Yのみが入力され
て度数データmが入力されなかった場合は、グラフ表示
バッファ23b内のデータmに「+1」する。次いでステ
ップA25に示すように、グラフ表示バッファ23bの内容に
従って表示処理を行ない、その後、ステップA19に進ん
でLine1キー13が操作されたか否かを判断する。Line1キ
ー13が操作されていなければステップA2に戻って次のデ
ータ入力に備えるが、Line1キー13が操作されている場
合は、ステップA20に進んで第4図に示した回帰グラフ
作成処理を実行する。Next, the operation of the second embodiment will be described with reference to the flowchart of FIG. First, in step A1 in FIG. 6, the X-axis and Y-axis ranges and scales are set in the same manner as in the first embodiment. Next, as shown in step A2, it is determined whether or not the data X, Y, m are input, and if there is data input, the process proceeds to step A3. In this step A3, it is judged which of the DT key 11 and the CL key 12 has been operated, and the DT key
If 11 is operated, as in the first embodiment, step A4
~ Perform the processing of A9. Then, y obtained in step A9
The value of is written in the current plot memory 35 in the storage unit 24 in step A21. Next, in step A22, the data m in (x, y) of the graph display buffer 23b is calculated by the calculation unit 21.
Read to. Then, as shown in step A23, the frequency data m input this time is added to the read data m, and the result of the addition is added to the graph display buffer 2 in step A24.
Write to (x, y) in 3b. When only the data X and Y are input and the frequency data m is not input, the data m in the graph display buffer 23b is incremented by "+1". Next, as shown in step A25, display processing is performed according to the contents of the graph display buffer 23b, and then the process proceeds to step A19, where it is determined whether or not the Line 1 key 13 has been operated. If the Line1 key 13 has not been operated, the procedure returns to step A2 to prepare for the next data input. If the Line1 key 13 has been operated, the procedure proceeds to step A20 to execute the regression graph creation processing shown in FIG. To do.
また一方、ステップA3においてCLキー12の操作が検出さ
れた場合は、第1実施例と同様にステップA12〜A17の処
理を実行し、ステップA17で求めたデータyの値をステ
ップA26において今回プロットメモリ35に書込む。そし
て、ステップA27に示すようにグラフ表示バッファ23bの
(x,y)におけるデータmを演算部21に読出し、ステッ
プA28において上記データmから今回入力された度数デ
ータmを減算する。そして、上記の減算結果mをステッ
プA29に示すようにグラフ表示バッファ23bの(x,y)に
書込み、ステップA25においてグラフ表示バッファ23bの
内容をデータ表示部26に表示する。以下、同様の処理に
より、度数付き統計データのプロット表示を行なうこと
ができる。On the other hand, when the operation of the CL key 12 is detected in step A3, the processes of steps A12 to A17 are executed as in the first embodiment, and the value of the data y obtained in step A17 is plotted in step A26 this time. Write to memory 35. Then, as shown in step A27, the data m in (x, y) of the graph display buffer 23b is read to the arithmetic unit 21, and the frequency data m input this time is subtracted from the data m in step A28. Then, the subtraction result m is written in (x, y) of the graph display buffer 23b as shown in step A29, and the content of the graph display buffer 23b is displayed on the data display unit 26 in step A25. Thereafter, by the same process, the statistical data with frequency can be displayed in a plot.
なお、上記第2実施例では、同一データの重みをグラフ
表示バッファ23bに持たせるようにしたが、統計データ
メモリ31に入力データを全てストアし、同一データが入
力された場合にその重みをカウントして記憶するように
してもよい。In the second embodiment, the weight of the same data is given to the graph display buffer 23b, but all the input data are stored in the statistical data memory 31 and the weight is counted when the same data is input. Then, it may be stored.
以上詳記したように本発明によれば、予め設定されたX
軸範囲及びY軸範囲に基づいて、入力数値に対する統計
演算処理を行なって表示プロットデータを求め、その
後、特定キーが操作された際に上記特定キーの操作を検
出して回帰グラフを作成して表示するようにしたので、
X,Yデータを入力すると即座に表示部にプロットでき、
このためデータの分布状況が入力と共に視覚を通じて容
易に認識することができる。また、データがプロットさ
れた表示部に特定キーの操作により回帰グラフが表示で
きるので、回帰の状態、回帰グラフと実際のデータの分
布との比較等、統計分布の状態を容易に把握することが
できる。As described in detail above, according to the present invention, the preset X
Based on the axis range and the Y-axis range, a statistical calculation process is performed on the input numerical value to obtain display plot data, and then when the specific key is operated, the operation of the specific key is detected to create a regression graph. Since it was made to display,
If you input X, Y data, you can immediately plot on the display,
Therefore, the distribution status of the data can be easily recognized visually as well as input. In addition, since the regression graph can be displayed on the display part where the data is plotted by operating a specific key, it is possible to easily grasp the state of the statistical distribution such as the state of regression and the comparison between the regression graph and the actual data distribution. it can.
第1図ないし第4図は本発明の第1実施例を示すもの
で、第1図は回路構成を示すブロック図、第2図は統計
データのプロット処理動作を示すフローチャート、第3
図(a)〜(c)はグラフ表示例を示す図、第4図は回
帰グラフ作成処理の詳細を示すフローチャート、第5図
は本発明の第2実施例における回路構成を示すブロック
図、第6図は同実施例の統計データプロット処理動作を
示すフローチャートである。 1……キー入力部、2……置数キー、7……Graphキ
ー、8……Rangeキー、9……LRキー、10……DTキー、1
1……DTキー、12……CLキー、13……Line1キー、19……
数式記憶部、20……制御部、21……演算部、22……数式
バッファ、23……表示バッファ、23a……テキスト表示
バッファ、23b……グラフ表示バッファ、24……記憶
部、25……アドレスデコーダ、26……表示部、31……統
計データメモリ、34……前回プロットメモリ、35……今
回プロットメモリ、36……レンジメモリ、37……Xメモ
リ、38……Yメモリ、40……演算データメモリ。1 to 4 show a first embodiment of the present invention. FIG. 1 is a block diagram showing a circuit configuration, FIG. 2 is a flow chart showing a plotting operation of statistical data, and FIG.
(A) to (c) are diagrams showing graph display examples, FIG. 4 is a flowchart showing details of regression graph creation processing, and FIG. 5 is a block diagram showing a circuit configuration in a second embodiment of the present invention. FIG. 6 is a flow chart showing the statistical data plot processing operation of the embodiment. 1 ... Key input part, 2 ... Numeric key, 7 ... Graph key, 8 ... Range key, 9 ... LR key, 10 ... DT key, 1
1 …… DT key, 12 …… CL key, 13 …… Line1 key, 19 ……
Formula storage unit, 20 ... Control unit, 21 ... Arithmetic unit, 22 ... Formula buffer, 23 ... Display buffer, 23a ... Text display buffer, 23b ... Graph display buffer, 24 ... Storage unit, 25 ... ... Address decoder, 26 ... Display section, 31 ... Statistical data memory, 34 ... Previous plot memory, 35 ... Current plot memory, 36 ... Range memory, 37 ... X memory, 38 ... Y memory, 40 …… Calculation data memory.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭52−116050(JP,A) 特開 昭54−51752(JP,A) 特開 昭54−98532(JP,A) ─────────────────────────────────────────────────── ─── Continuation of front page (56) Reference JP-A-52-116050 (JP, A) JP-A-54-51752 (JP, A) JP-A-54-98532 (JP, A)
Claims (1)
示手段と、 この表示手段に表示可能なグラフの範囲データを記憶す
る範囲データ記憶手段と、 2変数統計データを入力する入力手段と、 この入力手段から入力された2変数統計データを上記表
示手段にプロット表示するプロット手段と、 回帰グラフ表示命令により、上記入力手段から入力され
た2変数統計データに基づき回帰式の係数Bと定数項A
を算出し、この係数Bと定数項Aを含む回帰式Y=f
(X)を決定する計算手段と、 この計算手段で得た回帰式にX値を変化させながら代入
しY値を求める演算手段と、 この演算手段で演算されたX、Y値により(X、Y)の
座標点を上記表示手段にプロットすることで回帰グラフ
を2変数統計データのプロット表示と同時に表示するグ
ラフ表示手段とを具備したことを特徴とするグラフ表示
機能を備えた小型電子式計算機。1. A dot matrix type display means capable of displaying a graph, a range data storage means for storing range data of a graph which can be displayed on the display means, an input means for inputting bivariate statistical data, and this input. Plotting means for plotting and displaying the two-variable statistical data input from the means on the display means, and a coefficient B and a constant term A of the regression equation based on the two-variable statistical data input from the input means by a regression graph display command.
And the regression equation Y = f including this coefficient B and the constant term A
The calculation means for determining (X), the calculation means for substituting the X value into the regression equation obtained by the calculation means to obtain the Y value, and the (X, Y value calculated by this calculation means Y) a small electronic computer having a graph display function, which is provided with a graph display unit for displaying the regression graph simultaneously with the plot display of the bivariate statistical data by plotting the coordinate points on the display unit. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60117509A JPH0697448B2 (en) | 1985-05-30 | 1985-05-30 | Small electronic calculator with graph display function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60117509A JPH0697448B2 (en) | 1985-05-30 | 1985-05-30 | Small electronic calculator with graph display function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61275958A JPS61275958A (en) | 1986-12-06 |
| JPH0697448B2 true JPH0697448B2 (en) | 1994-11-30 |
Family
ID=14713516
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60117509A Expired - Lifetime JPH0697448B2 (en) | 1985-05-30 | 1985-05-30 | Small electronic calculator with graph display function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0697448B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63118658U (en) * | 1987-01-22 | 1988-08-01 | ||
| JP7206619B2 (en) * | 2018-04-17 | 2023-01-18 | カシオ計算機株式会社 | Data processing method, data processing system and computer program |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5827542B2 (en) * | 1976-03-25 | 1983-06-10 | シャープ株式会社 | Small calculator with graph display |
-
1985
- 1985-05-30 JP JP60117509A patent/JPH0697448B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61275958A (en) | 1986-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS61269764A (en) | Small-sized electronic computer equipped with graph displaying function | |
| JPH0719240B2 (en) | Small electronic calculator with graph display function | |
| JPH0697448B2 (en) | Small electronic calculator with graph display function | |
| US5181273A (en) | Electronic apparatus having a calendar-display function | |
| JPH06168104A (en) | Electronic calculator | |
| JPH04436Y2 (en) | ||
| JPS61267856A (en) | Graph display device | |
| JPH06250978A (en) | Electronic computer | |
| JP5315712B2 (en) | Electronic device having arithmetic function and arithmetic processing program | |
| EP0350065B1 (en) | Electronic apparatus having a calendar-display function | |
| JPH01142969A (en) | Document editing device | |
| JP3392583B2 (en) | calculator | |
| JPH0625981B2 (en) | Small electronic calculator with mathematical function | |
| JP3274747B2 (en) | calculator | |
| JPH0619850A (en) | Electronic calculator with graph display function | |
| JP3978879B2 (en) | COMPUTER DEVICE AND RECORDING MEDIUM CONTAINING COMPUTER PROCESSING PROGRAM | |
| JP3711671B2 (en) | Electronic computing device | |
| JPH05173976A (en) | Electronic equipment with graph shadowing function | |
| JPH0612377A (en) | Small computer with process capability index calculation function | |
| JPH10260941A (en) | calculator | |
| JPS6225208B2 (en) | ||
| JPH09167005A (en) | Programmable controller | |
| JPH10222471A (en) | Graph drawing apparatus, graph drawing processing method, and recording medium storing graph drawing processing program | |
| JPS61275960A (en) | Small electronic calculator with graph display function | |
| JPH0721792B2 (en) | Small electronic calculator with mathematical function |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |