JPH0696105A - Statistical analyzer - Google Patents
Statistical analyzerInfo
- Publication number
- JPH0696105A JPH0696105A JP19981992A JP19981992A JPH0696105A JP H0696105 A JPH0696105 A JP H0696105A JP 19981992 A JP19981992 A JP 19981992A JP 19981992 A JP19981992 A JP 19981992A JP H0696105 A JPH0696105 A JP H0696105A
- Authority
- JP
- Japan
- Prior art keywords
- data
- processing
- statistical analysis
- executed
- list
- 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.)
- Pending
Links
- 238000012545 processing Methods 0.000 claims abstract description 66
- 238000006243 chemical reaction Methods 0.000 claims abstract description 42
- 238000007619 statistical method Methods 0.000 claims abstract description 34
- 238000000034 method Methods 0.000 claims description 89
- 238000012937 correction Methods 0.000 claims description 17
- 238000011002 quantification Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 5
- 238000007405 data analysis Methods 0.000 claims 1
- 238000004458 analytical method Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000556 factor analysis Methods 0.000 description 1
- 238000012847 principal component analysis method Methods 0.000 description 1
- 238000000611 regression analysis Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、表形式で配置された
複数の非数量データに対して、数量化分類法に基づいて
統計分析処理を施す統計分析装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a statistical analysis device for performing statistical analysis processing on a plurality of non-quantitative data arranged in a table format based on a quantification classification method.
【0002】[0002]
【従来の技術】近年、パーソナルコンピュータ等の性能
の向上に伴い、統計分析処理に適した様々な表計算ソフ
トウェアが開発されている。2. Description of the Related Art In recent years, as the performance of personal computers and the like has improved, various spreadsheet software suitable for statistical analysis processing has been developed.
【0003】この表計算ソフトウェアで使用される統計
分析法の1つとして、数量分類化法がある。One of the statistical analysis methods used in this spreadsheet software is the quantity classification method.
【0004】この数量化分類法は、アンケート結果や天
気、曜日等の非数量データを対象とするものであるが、
数量データを対象とする一般の統計分析手法(例えば、
重回帰分析法、判別分析法、因子・主成分分析法等)と
ほぼ同等な分析結果を得るようになっている。この数量
化分類法には、1類から4類までの4つの分析法があ
る。This quantification classification method is intended for non-quantitative data such as questionnaire results, weather, and days of the week.
General statistical analysis methods for quantitative data (for example,
Multiple regression analysis methods, discriminant analysis methods, factor / principal component analysis methods, etc.) are obtained. There are four analysis methods from Class 1 to Class 4 in this quantification classification method.
【0005】このような数量化分類法を実行するプログ
ラムに、表計算ソフトウェアからデータを転送する場合
は、カテゴリーデータを転送しなければならない。When data is transferred from spreadsheet software to a program that executes such a quantified classification method, category data must be transferred.
【0006】この転送方法としては、従来、非数量デー
タをそのまま転送する方法と、この非数量データをコー
ドデータに変換して転送する方法が考えられている。Conventionally, as this transfer method, a method of transferring non-quantity data as it is and a method of converting the non-quantity data into code data and transferring the code data have been considered.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、前者の
方法では、非数量データが長大な文字列で表されるた
め、大きなメモリ空間が必要になるとともに、データ照
合を高速で行うには、大きなコンピュータパワーが必要
であるという問題があった。However, in the former method, since non-quantitative data is represented by a long character string, a large memory space is required, and a large computer is required to perform data collation at high speed. There was a problem that it needed power.
【0008】これに対し、後者の方法は、入力データが
A,B,C,…のようなコードデータにより表されるた
め、上述したような問題は生じない。On the other hand, in the latter method, since the input data is represented by code data such as A, B, C, ..., The above problem does not occur.
【0009】しかし、この方法の場合、統計分析処理に
先立って、利用者がコードデータを用意しなければなら
ないという問題と、このデータ表現が人間にとってわか
り難いため、間違いが起きやすいという問題があった。However, this method has a problem that the user has to prepare the code data prior to the statistical analysis process and a problem that the data expression is difficult for a human to understand, and thus an error is likely to occur. It was
【0010】そこで、この発明は、小さなメモリ空間お
よびコンピュータパワーで統計分析処理を行うことがで
き、かつ、利用者の負担や間違いを軽減することができ
る統計分析装置を提供することを目的とする。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a statistical analysis device which can perform statistical analysis processing with a small memory space and computer power, and which can reduce a user's burden and mistakes. .
【0011】[0011]
【課題を解決するための手段】上記目的を達成するため
に、この発明は、入力された非数量データをコードデー
タに変換する手段と、この手段の変換出力に対して、数
量化分類法に基づいて統計分析処理を施す手段と、この
手段の処理結果に含まれるコードデータを非数量データ
に戻す手段とを設けるように構成したものである。In order to achieve the above object, the present invention provides means for converting input non-quantitative data into code data, and a quantification classification method for the conversion output of this means. A means for performing statistical analysis processing on the basis of this and a means for returning the code data contained in the processing result of this means to non-quantity data are provided.
【0012】[0012]
【作用】上記構成によれば、カテゴリーデータは、非数
量データの形態で統計分析装置に入力される。この入力
データは、装置内部で自動的にコードデータに変換され
た後、統計分析処理に供される。この処理結果は、コー
ドデータを非数量データに戻された後、出力される。According to the above configuration, the category data is input to the statistical analysis device in the form of non-quantitative data. This input data is automatically converted into code data inside the device and then subjected to statistical analysis processing. This processing result is output after the code data is converted back to non-quantity data.
【0013】これにより、利用者は、カテゴリーデータ
を非数量データで扱うことができるため、利用者の負担
および間違いが軽減される。As a result, the user can handle the category data as non-quantitative data, so that the user's burden and mistakes can be reduced.
【0014】また、統計分析処理をコードデータに基づ
いて実行することができるため、メモリ空間およびコン
ピュータパワーを節約することができる。Since the statistical analysis processing can be executed based on the code data, the memory space and computer power can be saved.
【0015】[0015]
【実施例】以下、図面を参照しながら、この発明の実施
例を詳細に説明する。Embodiments of the present invention will now be described in detail with reference to the drawings.
【0016】図1は、この発明の一実施例の要部の動作
を示すフローチャートであり、図2は、一実施例の構成
を示すブロック図である。FIG. 1 is a flow chart showing the operation of the main part of one embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of one embodiment.
【0017】ここで、まず、図2を参照しながら、一実
施例の構成を説明する。First, the configuration of one embodiment will be described with reference to FIG.
【0018】図において、11は、統計分析処理等の各
種処理を実行する中央処理装置(以下、「CPU」とい
う)である。12は、利用者の外部操作により各種デー
タを装置内部に入力するためのキーボードである。13
は、キーボード12から入力されたデータやCPU11
の処理結果等を保持するための磁気ディスクである。In the figure, reference numeral 11 denotes a central processing unit (hereinafter referred to as "CPU") which executes various processes such as a statistical analysis process. Reference numeral 12 denotes a keyboard for inputting various data into the apparatus by a user's external operation. Thirteen
Is the data input from the keyboard 12 or the CPU 11
It is a magnetic disk for holding the processing result of the above.
【0019】14は、CPU11の制御プログラムを格
納する読出し専用メモリ(以下、ROM」という)であ
る。15は、CPU11が各種処理を実行する際の作業
メモリとして使用されるランダムアクセスメモリ(以
下、「RAM」という)である。Reference numeral 14 is a read-only memory (hereinafter referred to as ROM) that stores a control program for the CPU 11. Reference numeral 15 is a random access memory (hereinafter referred to as “RAM”) used as a work memory when the CPU 11 executes various processes.
【0020】16は、CPU11の処理結果等を画像表
示するためのディスプレイ装置である。17は、同じ
く、この処理結果等を紙に印字して出力するためのプリ
ンタである。18は、CPU11とキーボード12等と
を接続するバスである。Reference numeral 16 denotes a display device for displaying the processing result of the CPU 11 and the like as an image. Similarly, 17 is a printer for printing out the processing result on paper and outputting it. A bus 18 connects the CPU 11 to the keyboard 12 and the like.
【0021】上記構成において、図1を参照しながら動
作を説明する。The operation of the above configuration will be described with reference to FIG.
【0022】図1においては、(1)入力データの格納
処理、(2)データ変換処理及び一覧表作成処理、
(3)変換表及び一覧表の修正処理、(4)統計分析処
理、(5)データ逆変換処理、(6)分析結果の出力処
理が順次実行される。以下、これらの処理を順に説明す
る。In FIG. 1, (1) input data storage processing, (2) data conversion processing and list creation processing,
(3) Conversion table and list correction processing, (4) statistical analysis processing, (5) data inverse conversion processing, (6) analysis result output processing are sequentially executed. Hereinafter, these processes will be described in order.
【0023】(1)入力データ格納処理 この入力データ格納処理においては、入力データを磁気
ディスク13に格納する処理が実行される(ステップS
1)。データの入力処理は、例えば、キーボード12を
使って利用者により行われる。この入力データは、カテ
ゴリーデータを表形式で配置した構成となっている。 (1) Input Data Storing Process In this input data storing process, a process of storing the input data in the magnetic disk 13 is executed (step S
1). The data input process is performed by the user using the keyboard 12, for example. This input data has a structure in which category data is arranged in a table format.
【0024】図3は、入力データの一例を示す図であ
る。図示の入力データは、数量化分類1類のデータで、
例えば、駅の売店等に対する新聞の配布量を予測するた
めのデータである。このデータは、「天気」、「曜
日」、「前日の特定チームの野球の勝負」(以下、「前
日の野球の勝負」という)、「前日の競馬の有無」の4
つの項目からなる。各項目のカテゴリーデータは、非数
量データで表されている。例えば、「天気」のカテゴリ
ーデータは、「晴」、「曇り」、「雨」の3つの非数量
データで表されている。FIG. 3 is a diagram showing an example of input data. The input data shown in the figure is the data of the quantification class 1,
For example, it is data for predicting the distribution amount of newspapers to station shops and the like. This data includes 4 items: "weather", "day of the week", "game of baseball of specific team the day before" (hereinafter referred to as "game of baseball of the day before"), "presence or absence of horse race on the previous day".
It consists of one item. The category data for each item is represented by non-quantitative data. For example, the category data of “weather” is represented by three non-quantity data of “fine”, “cloudy”, and “rainy”.
【0025】このような入力データを磁気ディスク13
に格納する場合は、1行を1レコードとするように格納
される。したがって、図3の場合、レコードの数は、R
1〜R5の5個となる。Such input data is transferred to the magnetic disk 13
In the case of storing in, each row is stored as one record. Therefore, in the case of FIG. 3, the number of records is R
There will be 5 from 1 to R5.
【0026】入力データの格納処理が済むと、非数量デ
ータをコードデータに変換する処理と、この変換結果の
修正等に使用される一覧表を作成する処理が実行され
る。これらの処理は、同時並列進行の形で実行される。When the storage process of the input data is completed, the process of converting the non-quantity data into the code data and the process of creating the list used for correcting the conversion result are executed. These processes are executed in the form of simultaneous parallel progress.
【0027】(2)データ変換処理及び一覧表作成処理 これらの処理においては、まず、1レコード分のデータ
を磁気ディスク13からRAM15に転送する処理が実
行される(ステップS2)。この転送処理は、先頭側の
レコードからなされる。したがって、この場合は、レコ
ードR1が、図4(a)に示すように、RAM15に格
納される。 (2) Data conversion process and list creation process In these processes, first, a process of transferring one record of data from the magnetic disk 13 to the RAM 15 is executed (step S2). This transfer processing is performed from the record on the head side. Therefore, in this case, the record R1 is stored in the RAM 15 as shown in FIG.
【0028】この転送処理が済むと、RAM15から1
項目分の非数量データを読み出し、このデータが最初に
現れたデータか否かを判定する処理が実行される(ステ
ップS3)。When this transfer processing is completed, the RAM 15 is updated to 1
A process of reading the non-quantity data for the item and determining whether or not this data is the data that first appears (step S3).
【0029】この判定処理は、先頭側の項目からなされ
る。したがって、この場合、項目「天気」の非数量デー
タ「晴」について、これが最初に現れたデータか否かを
判定する処理が実行される。今の例の場合、この非数量
データ「晴」は、最初に現れたデータであるから、最初
に現れたデータと判定される。This determination processing is performed from the head item. Therefore, in this case, with respect to the non-quantity data “fine” of the item “weather”, a process of determining whether or not this is the data that first appears. In the case of the present example, this non-quantitative data “fine” is the data that first appeared, so it is determined that the data first appeared.
【0030】このような判定結果が得られると、判定対
象となった非数量データ「晴」に対して、コードデータ
を割り当てる処理が実行される(ステップS4)。この
割当て処理は、例えば、磁気ディスク13からRAM1
5に予め転送しておいた一覧表を用いて行われる。When such a determination result is obtained, a process of assigning code data to the non-quantity data "fine" which is the determination target is executed (step S4). This allocation process is performed, for example, from the magnetic disk 13 to the RAM 1
5 is carried out using the list previously transferred.
【0031】図5は、この一覧表の一例の構成を示す図
である。図示の如く、この一覧表は、コードデータの欄
と、各項目の欄とからなり、各項目ごとに、コードデー
タと非数量データとの対応関係及びこの非数量データの
出現頻度を表すようになっている。コードデータの欄に
は、予め、複数のコードデータ、例えば、「A」,
「B」,「C」,「D」,「E」,…が書き込まれてい
る。FIG. 5 is a diagram showing an example of the structure of this list. As shown in the figure, this list consists of a column for code data and a column for each item. For each item, the correspondence relationship between code data and non-quantitative data and the appearance frequency of this non-quantitative data are shown. Has become. In the column of code data, a plurality of code data, for example, “A”,
“B”, “C”, “D”, “E”, ... Are written.
【0032】このような構成において、上記割当て処理
は、「天気」の非数量データの欄に、非数量データ
「晴」を書き込むことによりなされる。例えば、非数量
データ「晴」にコードデータ「A」を割り当てる場合
は、この非数量データ「晴」はコードデータ「A」と同
じ行に書き込まれる。この様子を図6(a)に示す。In such a configuration, the above-mentioned allocation processing is performed by writing the non-quantity data "fine" in the column of the non-quantity data "weather". For example, when the code data “A” is assigned to the non-quantity data “fine”, the non-quantity data “fine” is written in the same line as the code data “A”. This state is shown in FIG.
【0033】このような割当て処理を実行することによ
り、非数量データ「晴」は、コードデータ「A」と対応
した状態で保存されることになる。By executing such allocation processing, the non-quantity data "fine" is stored in a state corresponding to the code data "A".
【0034】コードデータの割当て処理が終了すると、
非数量データ「晴」の出現頻度を1だけインクリメント
する処理が実行される(ステップS5)。この処理も、
上記一覧表を使って行われる。これにより、この非数量
データ「晴」の出現頻度は、図6(a)に示すように
“1”となる。When the code data allocation process is completed,
A process of incrementing the appearance frequency of the non-quantity data “fine” by 1 is executed (step S5). This process also
This is done using the list above. As a result, the appearance frequency of the non-quantity data “fine” becomes “1” as shown in FIG.
【0035】このインクリメント処理が終了すると、非
数量データ「晴」をコードデータAに変換する処理が実
行される(ステップS6)。これにより、RAM15に
格納されたレコードR1の項目「天気」の非数量データ
「晴」は、図4(b)に示すように、コードデータ
「A」に変換される。When the increment process is completed, a process of converting the non-quantity data "fine" into the code data A is executed (step S6). As a result, the non-quantity data “fine” of the item “weather” of the record R1 stored in the RAM 15 is converted into code data “A” as shown in FIG. 4B.
【0036】この変換処理が終了すると、上述したよう
な処理が項目数分繰り返されたか否かを判定する処理が
実行される(ステップS7)。今の場合は、先頭の項目
「天気」についてしか処理が実行されていないので、繰
り返されていないと判定される。When this conversion process is completed, a process for determining whether or not the above-described process has been repeated for the number of items is executed (step S7). In this case, the process is executed only for the first item "weather", so it is determined that the process is not repeated.
【0037】このような判定結果が得られると、ステッ
プS3に戻り、次の項目の非数量データに対して上述し
たような処理が実行される。したがって、この場合は、
項目「曜日」の非数量データ「月」に対して上述したよ
うな処理が実行される。When such a determination result is obtained, the process returns to step S3, and the above-described processing is performed on the non-quantity data of the next item. So in this case,
The above-described processing is executed for the non-quantity data “month” of the item “day of the week”.
【0038】以下、同様に、レコードR1の全ての項目
に対して上述したような処理が実行される。これによ
り、レコードR1の全ての項目の非数量データは、図4
(c)に示すように、いずれもコードデータ「A」に変
換される。また、各非数量データの出現頻度は、図6
(b)に示すように“1”に設定される。Similarly, the above-mentioned processing is executed for all the items of the record R1. As a result, the non-quantitative data of all the items of the record R1 are shown in FIG.
As shown in (c), both are converted into code data “A”. In addition, the appearance frequency of each non-quantity data is shown in FIG.
It is set to "1" as shown in (b).
【0039】この後、全てのレコードR1〜R5につい
て上述したような処理が実行されたか否かを判定する処
理が実行される(ステップS8)。今の場合は、先頭の
レコードR1についてしか処理が実行されていないの
で、繰り返されていないと判定される。After this, a process for determining whether or not the above-described process has been executed for all the records R1 to R5 is executed (step S8). In this case, since the process is executed only for the first record R1, it is determined that the process is not repeated.
【0040】このような判定結果が得られると、ステッ
プS2に戻り、次のレコードに対して、上述したような
処理が実行される。したがって、この場合は、レコード
R2に対して上述したような処理が実行される。When such a determination result is obtained, the process returns to step S2, and the above-described processing is executed for the next record. Therefore, in this case, the above-described processing is performed on the record R2.
【0041】このレコードR2の項目「天気」,「前日
の競馬の有無」の非数量データは、レコードR1と同じ
「晴」,「あり」である。したがって、この場合、ステ
ップS3の判定結果は、最初に現れたデータでないとな
る。The non-quantity data of the items "weather" and "presence or absence of horse race on the previous day" of the record R2 are the same "clear" and "present" as in the record R1. Therefore, in this case, the determination result of step S3 is not the first appearing data.
【0042】このような判定結果が得られると、コード
データの割当て処理(ステップS5)を実行する必要が
ない。したがって、この場合は、出現頻度のインクリメ
ント処理(ステップS5)とデータ変換処理(ステップ
S6)だけが実行される。When such a determination result is obtained, it is not necessary to execute the code data allocation process (step S5). Therefore, in this case, only the appearance frequency increment process (step S5) and the data conversion process (step S6) are executed.
【0043】これに対し、項目「曜日」,「前日の野球
の勝負」の非数量データは、レコードR1と異なる。こ
れにより、この場合は、コードデータの割当て処理(ス
テップS5)が実行される。On the other hand, the non-quantity data of the items "day of the week" and "game of baseball day before" is different from the record R1. As a result, in this case, the code data allocation process (step S5) is executed.
【0044】以上から、レコードR2の処理が終了した
時点では、コードデータへの変換内容は、図4(d)に
示すようになり、一覧表は、図6(c)に示すようにな
る。From the above, when the processing of the record R2 is completed, the contents converted into the code data are as shown in FIG. 4 (d), and the list is as shown in FIG. 6 (c).
【0045】レコード2の処理が終了すると、レコード
R3,R4,R5に対して、順次上述したような処理が
実行される。これにより、図4(e)に示すような入力
データの変換表が得られる。また、図7(a)に示すよ
うな一覧表が得られる。When the processing of the record 2 is completed, the above-described processing is sequentially executed on the records R3, R4 and R5. As a result, a conversion table of input data as shown in FIG. 4 (e) is obtained. Moreover, a list as shown in FIG. 7A is obtained.
【0046】以上により、データ変換処理と一覧表作成
処理(正確には、記入処理)が終了する。これらの処理
が終了すると、変換表および一覧表の修正処理が開始さ
れる。As described above, the data conversion process and the list creation process (correctly, the entry process) are completed. When these processes are completed, the conversion table and list modification processing is started.
【0047】(3)変換表および一覧表の修正処理 この修正処理においては、まず、一覧表を出力する処理
が実行される(ステップS9)。この出力処理は、例え
ば、RAM15に格納されている一覧表データをディス
プレイ装置16とプリンタ17に供給することによりな
される。これにより、一覧表は、画像と紙により利用者
に提供されることになる。 (3) Conversion Table and List Correction Process In this correction process, first, a list output process is executed (step S9). This output processing is performed, for example, by supplying the list data stored in the RAM 15 to the display device 16 and the printer 17. As a result, the list is provided to the user in the form of images and paper.
【0048】利用者に一覧表が提供されると、この利用
者により、例えば、同一データグループ化作業と低
出現頻度データグループ化作業がなされる。ここで、こ
れらの作業の内容及び必要性を説明する。When the list is provided to the user, the user performs the same data grouping work and the low appearance frequency data grouping work, for example. Here, the content and necessity of these operations will be described.
【0049】まず、の同一データグループ化作業と
は、各項目ごとに、同じ意味を有するとみなすことがで
きるにもかかわらず、異なる文字列で表現された複数の
非数量データ(以下、「同一データ」という)を検出
し、これらの中から1つの非数量データ(以下、「特定
データ」という)を選定する作業である。First, although the same data grouping work of (1) can be regarded as having the same meaning for each item, a plurality of non-quantitative data represented by different character strings (hereinafter referred to as “identical data”). This is the work of detecting "data") and selecting one non-quantitative data (hereinafter referred to as "specific data") from these.
【0050】上述したような同一データが存在すると、
後述する統計分析処理の分析精度が低下することがあ
る。この問題を解決するためには、例えば、同一データ
を特定データで置き換えることが考えられる。そこで、
この実施例では、利用者に同一データの検出作業と特定
データの選定作業を行わせ、この作業結果に基づいて、
装置内部で自動的に同一データを特定データに置き換え
るようになっている。If the same data as described above exists,
The analysis accuracy of the statistical analysis processing described below may decrease. In order to solve this problem, it is possible to replace the same data with specific data, for example. Therefore,
In this embodiment, the user is made to perform the same data detection work and specific data selection work, and based on this work result,
The same data is automatically replaced with specific data inside the device.
【0051】図7(a)の一覧表においては、項目「前
日の野球の勝負」の非表示データ「なし」と「無し」
は、文字列が異なるものの同じ意味を有するとみなすこ
とができる。したがって、この場合は、非数量データ
「なし」と「無し」が同一データとして検出される。そ
して、この2つの非数量データ「なし」,「無し」のう
ちの一方、例えば、非数量データ「なし」が特定データ
として選定される。これにより、非数量データ「無し」
は、装置内部で自動的に非数量データ「なし」に置き換
えられる。In the list of FIG. 7 (a), non-display data "none" and "none" of the item "baseball game of the previous day"
Can be considered to have the same meaning but different strings. Therefore, in this case, the non-quantity data “none” and “none” are detected as the same data. Then, one of the two non-quantity data “none” and “none”, for example, the non-quantity data “none” is selected as the specific data. As a result, non-quantity data "none"
Are automatically replaced with non-quantity data “none” inside the device.
【0052】次に、の低頻度データグループ化作業と
は、各項目ごとに、極端に出現頻度の低い非数量データ
(以下、「低頻度データ」という)を検出し、これと類
似する非数量データ(以下、「類似データ」という)を
検出する作業である。Next, the low-frequency data grouping work is to detect non-quantitative data (hereinafter referred to as "low-frequency data") having extremely low occurrence frequency for each item, and perform similar non-quantitative data. This is an operation of detecting data (hereinafter referred to as “similar data”).
【0053】上述したような低頻度データが存在する
と、数量化分類の場合、分析結果に誤差を含み易くな
る。この問題を解決するためには、例えば、低頻度デー
タを類似データで置き換えることが考えられる。そこ
で、この実施例では、利用者に低頻度データの検出と類
似データの検出作業を行わせ、この作業結果に基づい
て、装置内部で自動的に低頻度データを類似データに置
き換えるようになっている。The presence of such low-frequency data makes it easy to include an error in the analysis result in the case of quantification classification. In order to solve this problem, it is possible to replace low-frequency data with similar data, for example. Therefore, in this embodiment, the user is made to perform the detection work of low-frequency data and the detection of similar data, and based on the result of this work, the low-frequency data is automatically replaced with similar data. There is.
【0054】図7(e)の一覧表においては、上述した
ような低頻度データは存在しない。したがって、今、仮
に、項目「天気」の非数量データ「晴」,「曇り」,
「雨」の出現頻度をそれぞれ“100”,“200”,
“1”として、上記作業を説明する。In the list of FIG. 7E, the low frequency data as described above does not exist. Therefore, suppose now that the non-quantitative data of the item "weather" is "clear", "cloudy",
The appearance frequency of "rain" is "100", "200",
The above work will be described as "1".
【0055】この場合、非数量データ「雨」の出現頻度
は、他の非数量データ「晴」,「曇り」の出現頻度に比
べ極端に低い。したがって、この場合は、非数量データ
「雨」が低頻度データとして検出される。また、この非
数量データ「雨」は、「晴れ」より「曇り」に類似す
る。したがって、この場合は、非数量データ「曇り」が
類似データとして検出される。これにより、非数量デー
タ「雨」は、装置内部で自動的に「曇り」に置き換えら
れる。In this case, the appearance frequency of the non-quantity data "rain" is extremely lower than the appearance frequencies of the other non-quantity data "clear" and "cloudy". Therefore, in this case, the non-quantity data “rain” is detected as the low frequency data. The non-quantity data "rain" is more similar to "cloudy" than "clear". Therefore, in this case, the non-quantity data “cloudy” is detected as similar data. As a result, the non-quantity data “rain” is automatically replaced with “cloudy” inside the device.
【0056】なお、上述した,の作業は、装置内部
で自動的に行うようにしてもよい。しかしながら、この
ようにすると、装置の負担が極めて大きくなるととも
に、必ずしも精度の高い作業を行うことができない。ま
た、装置内部で行うと、作業精度に自由度を持たせるこ
とが困難となる。そこで、この実施例では、上記作業を
利用者により実行するようにしている。The above operations may be automatically performed inside the apparatus. However, in such a case, the load on the device becomes extremely large, and it is not always possible to perform highly accurate work. Further, if it is performed inside the device, it becomes difficult to give the working accuracy a degree of freedom. Therefore, in this embodiment, the above-mentioned work is executed by the user.
【0057】上述した,の作業が終了すると、この
作業結果に基づいて、変換表と一覧表を修正するための
修正命令を入力する作業が実行される。この入力作業
は、キーボード12を使って利用者によりなされる。When the above-mentioned work is completed, the work of inputting a correction command for correcting the conversion table and the list is executed based on the work result. This input work is performed by the user using the keyboard 12.
【0058】このとき、CPU11においては、修正命
令の入力の有無を判定する処理が実行されている(ステ
ップS10)。これにより、修正命令が入力されると、
この修正命令で指定される処理が実行される(ステップ
S11)。At this time, the CPU 11 is executing a process of determining whether or not a correction command is input (step S10). As a result, when a correction command is input,
The process designated by this modification command is executed (step S11).
【0059】この場合、修正命令が同一データグループ
化作業に関するものであれば、変換表上では、同一デー
タを特定データに置き換える処理が実行される。また、
一覧表上では、低頻度データを削除する処理と、低頻度
データの出現頻度をクリアする処理と、類似データの出
現頻度をインクリメントする処理が実行される。In this case, if the modification instruction is related to the same data grouping work, a process of replacing the same data with specific data is executed on the conversion table. Also,
On the list, a process of deleting low-frequency data, a process of clearing the appearance frequency of low-frequency data, and a process of incrementing the appearance frequency of similar data are executed.
【0060】先の例で言えば、変換表は、図4(e)に
示す状態から同図(f)に示す状態に変換される。すな
わち、項目「前日の野球の勝負」のコードデータDがコ
ードデータCに書き換えられる。In the above example, the conversion table is converted from the state shown in FIG. 4E to the state shown in FIG. That is, the code data D of the item "game of baseball on the day before" is rewritten to the code data C.
【0061】また、一覧表は、図7(e)に示す状態か
ら同図(b)に示す状態に変換される。すなわち、項目
「前日の野球の勝負」における非数量データ「無し」が
削除される。また、この非数量データ「無し」の出現頻
度がクリアされ、逆に、非数量データの出現頻度が
“1”から“2にインクリメントされる。Further, the list is converted from the state shown in FIG. 7 (e) to the state shown in FIG. 7 (b). That is, the non-quantity data “none” in the item “baseball game of the previous day” is deleted. Further, the appearance frequency of the non-quantity data “none” is cleared, and conversely, the appearance frequency of the non-quantity data is incremented from “1” to “2”.
【0062】なお、詳細は省略するが、修正命令が低頻
度データグループ化作業に関するものである場合も同様
に、変換表上では、コードデータの書換え処理がなさ
れ、一覧表上では、低頻度データの削除処理と、出現頻
度の書換え処理がなされる。Although details are omitted, similarly, when the correction instruction is related to the low-frequency data grouping work, the code data is rewritten on the conversion table, and the low-frequency data is displayed on the list. Is deleted and the appearance frequency is rewritten.
【0063】この修正処理が終了すると、修正された一
覧表を磁気ディスク13に転送する処理が実行される
(ステップS12)。この転送処理が終了すると、統計
分析処理がなされる(ステップS13)。なお、修正命
令がなかった場合は、ステップS11の修正処理は実行
されず、ステップS12の転送処理が実行される。When this correction process is completed, a process of transferring the corrected list to the magnetic disk 13 is executed (step S12). When this transfer process is completed, a statistical analysis process is performed (step S13). If there is no correction instruction, the correction process of step S11 is not executed, but the transfer process of step S12 is executed.
【0064】(4)統計分析処理 この統計分析処理は、RAM15に残されている変換表
を用いて実行される。したがって、この統計分析処理
は、コードデータを使って行われることになる。これに
より、この処理を小さなメモリ空間とコンピュータパワ
ーで実行することができる。 (4) Statistical Analysis Processing This statistical analysis processing is executed using the conversion table left in the RAM 15. Therefore, this statistical analysis processing is performed using the code data. This allows this process to be executed with a small memory space and computer power.
【0065】この統計分析処理が終了すると、この分析
結果に含まれるコードデータを非数量データに戻すデー
タ逆変換処理が実行される(ステップS14)。When this statistical analysis process is completed, a data inverse conversion process for returning the code data included in this analysis result to the non-quantity data is executed (step S14).
【0066】(5)データ逆変換処理 このデータ逆変換処理は、磁気ディスク13に格納され
ている一覧表を参照しながら実行される。この逆変換処
理が終了すると、分析結果を出力する処理が実行される
(ステップS15)。 (5) Data Reverse Conversion Processing This data reverse conversion processing is executed with reference to the list stored in the magnetic disk 13. When this inverse conversion process ends, a process of outputting the analysis result is executed (step S15).
【0067】(6)分析結果の出力処理 この分析結果の出力処理は、ディスプレイ装置16やプ
リンタ17に分析結果を供給することにより行われる。
これにより、利用者は、画像と紙により分析結果を入手
することができる。この場合、分析結果の表示方法とし
ては、表、グラフ等様々な手法が用いられる。 (6) Analysis Result Output Processing This analysis result output processing is performed by supplying the analysis result to the display device 16 and the printer 17.
Thereby, the user can obtain the analysis result by the image and the paper. In this case, various methods such as tables and graphs are used as the method of displaying the analysis result.
【0068】この出力処理が終了すると、分析結果をR
AM15から磁気ディスク13に転送する処理が実行さ
れる(ステップS16)。以上により、処理が終了した
ことになる。When this output process is completed, the analysis result is converted to R
A process of transferring from the AM 15 to the magnetic disk 13 is executed (step S16). With the above, the processing is completed.
【0069】以上詳述したこの実施例によれば、次のよ
うな効果が得られる。According to this embodiment described in detail above, the following effects can be obtained.
【0070】(1)まず、装置内部に、非数量データを
コードデータに変換する機能と、コードデータを非数量
データに変換する機能を設けたので、統計分析処理をコ
ードデータに基づいて実行することができる。また、デ
ータの入力作業や分析結果の解析作業を非数量データに
基づいて行うことができる。(1) First, since a function for converting non-quantitative data into code data and a function for converting code data into non-quantitative data are provided inside the apparatus, statistical analysis processing is executed based on the code data. be able to. Further, data input work and analysis result analysis work can be performed based on non-quantity data.
【0071】これにより、統計分析処理を小さなメモリ
空間およびコンピュータパワーで実行することができ
る。また、データ入力作業や分析結果の解析作業におけ
る利用者の間違いを軽減することができる。As a result, the statistical analysis processing can be executed with a small memory space and computer power. Further, it is possible to reduce mistakes of the user in the data input work and the analysis result analysis work.
【0072】(2)また、所定事項を記載した一覧表の
提供機能と、変換表及び一覧表の修正機能を設けたの
で、統計分析処理の処理結果の精度を高めることができ
る。(2) Since the function of providing the list in which the predetermined items are described and the function of correcting the conversion table and the list are provided, the accuracy of the processing result of the statistical analysis processing can be improved.
【0073】(3)また、利用者に一覧表を提供するこ
とにより、同一データグループ化作業と低頻度データグ
ループ化作業を利用者に行わせるようにしたので、変換
表や一覧表の修正を簡単な構成で正確に行うことができ
るとともに、この修正の自由度を高めることができる。(3) Further, by providing the list to the user, the user can perform the same data grouping work and the infrequent data grouping work. Therefore, the conversion table and the list can be corrected. This can be performed accurately with a simple configuration, and the degree of freedom of this correction can be increased.
【0074】(4)また、予め、未記入の一覧表を用意
しておき、データ変換処理と並行してこの一覧表にデー
タを書き込むようにしたので、データ変換処理が終了し
た時点で、すぐに、所定事項が記入された一覧表を利用
者に提供することができる。(4) Further, since the blank table is prepared in advance and the data is written in this table in parallel with the data conversion processing, the data conversion processing is completed immediately. In addition, it is possible to provide the user with a list in which predetermined items are entered.
【0075】以上、この発明の一実施例を詳細に説明し
たが、この発明は、このような実施例に限定されるもの
ではない。Although one embodiment of the present invention has been described in detail above, the present invention is not limited to such an embodiment.
【0076】(1)例えば、先の実施例では、修正命令
に基づいて、一覧表も修正する場合を説明した。しか
し、この一覧表をデータ逆変換処理にのみに利用するの
であれば、修正しなくても、データ逆変換処理を行うこ
とができる。したがって、この場合は、一覧表を修正す
る必要はない。(1) For example, in the above embodiment, the case where the list is modified based on the modification command has been described. However, if this list is used only for the data reverse conversion process, the data reverse conversion process can be performed without modification. Therefore, in this case, it is not necessary to modify the list.
【0077】(2)また、先の実施例では、予め未記入
の一覧表を形成しておく場合を説明した。しかし、この
発明では、データ変換処理が終了した後に、一覧表を最
初から形成するようにしてもよい。(2) Further, in the above embodiment, the case where the blank table is formed in advance has been described. However, in the present invention, the list may be formed from the beginning after the data conversion process is completed.
【0078】(3)また、先の実施例では、変換結果を
修正するための各種作業を利用者に行わせる場合を説明
した。しかし、この発明では、この作業を装置内部で自
動的に行うようにしてもよい。(3) Further, in the above embodiment, the case where the user is made to perform various works for correcting the conversion result has been described. However, in the present invention, this work may be automatically performed inside the device.
【0079】(4)また、先の実施例では、統計分析処
理に先立って、一覧表を利用者に提供することにより、
変換表を修正する場合を説明した。しかし、変換表の修
正機能を省略する場合は、一覧表の提供機能も省略する
ようにしてもよい。(4) In the above embodiment, the list is provided to the user prior to the statistical analysis processing.
The case of modifying the conversion table has been described. However, when the correction function of the conversion table is omitted, the provision function of the list may be omitted.
【0080】(5)このほかにも、この発明は、その要
旨を逸脱しない範囲で種々様々変形実施可能なことは勿
論である。(5) In addition to this, it goes without saying that the present invention can be variously modified and implemented without departing from the scope of the invention.
【0081】[0081]
【発明の効果】以上詳述したように、この発明によれ
ば、小さなメモリ空間およびコンピュータパワーで統計
分析処理を行うことができ、かつ、利用者の負担や間違
いを軽減することができる統計分析装置を提供すること
を目的とする。As described above in detail, according to the present invention, statistical analysis processing can be performed with a small memory space and computer power, and a user's burden and mistakes can be reduced. The purpose is to provide a device.
【図1】この発明の一実施例の動作を説明するためのフ
ローチャートである。FIG. 1 is a flow chart for explaining the operation of an embodiment of the present invention.
【図2】この発明の一実施例の構成を示すブロック図で
ある。FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.
【図3】入力データ表の一例を示す図である。FIG. 3 is a diagram showing an example of an input data table.
【図4】変換表の生成動作を説明するための図である。FIG. 4 is a diagram for explaining a conversion table generation operation.
【図5】一覧表の一例を示す図である。FIG. 5 is a diagram showing an example of a list.
【図6】一覧表の生成動作を説明するための図である。FIG. 6 is a diagram illustrating a list generation operation.
【図7】一覧表の生成動作を説明するための図である。FIG. 7 is a diagram for explaining a list generation operation.
11…CPU、12…キーボード、13…磁気ディス
ク、14…ROM、15…RAM、16…ディスプレイ
装置、17…プリンタ、18…バス。11 ... CPU, 12 ... Keyboard, 13 ... Magnetic disk, 14 ... ROM, 15 ... RAM, 16 ... Display device, 17 ... Printer, 18 ... Bus.
Claims (2)
に対して、数量化分類法に基づいて統計分析処理を施す
統計分析装置において、 前記非数量データを入力するデータ入力手段と、 このデータ入力手段により入力された前記非数量データ
をコードデータに変換するデータ変換手段と、 このデータ変換手段により変換された前記コードデータ
に対して、前記数量化分類法に基づいて統計分析処理を
施す統計分析手段と、 この統計分析手段の処理結果に含まれる前記コードデー
タを前記非数量データに戻すデータ逆変換手段と、 このデータ逆変換手段の変換処理を施された前記処理結
果を出力するデータ出力手段とを具備したことを特徴と
する統計分析装置。1. A statistical analysis device for performing statistical analysis processing on a plurality of non-quantitative data arranged in a tabular form based on a quantification classification method, and data input means for inputting the non-quantitative data, Data conversion means for converting the non-quantitative data input by the data input means into code data, and statistical analysis processing based on the quantified classification method for the code data converted by the data conversion means. Statistical analysis means, data inverse conversion means for returning the code data included in the processing result of the statistical analysis means to the non-quantity data, and data for outputting the processing result subjected to the conversion processing of the data inverse conversion means A statistical analysis device comprising: an output unit.
記非数量データの出現頻度を検出する出現頻度検出手段
と、 前記データ入力手段により入力された前記非数量データ
と、前記データ変換手段により変換された前記コードデ
ータと、前記出現頻度検出手段により検出された前記出
現頻度との対応を示す一覧表を出力する一覧表出力手段
と、 前記データ変換手段により変換されたコードデータを修
正するための修正命令を入力する修正命令入力手段と、 この修正命令入力手段により入力された前記修正命令に
基づいて、前記データ変換手段により変換された前記コ
ードデータを修正するデータ修正手段とを具備したこと
を特徴とする請求項1記載の統計分析装置。2. Appearance frequency detection means for detecting the appearance frequency of the non-quantity data input by the data input means, the non-quantity data input by the data input means, and conversion by the data conversion means. List output means for outputting a list showing the correspondence between the code data and the appearance frequencies detected by the appearance frequency detection means, and a correction for correcting the code data converted by the data conversion means A correction command input unit for inputting a command; and a data correction unit for correcting the code data converted by the data conversion unit based on the correction command input by the correction command input unit. The statistical analysis device according to claim 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19981992A JPH0696105A (en) | 1992-07-27 | 1992-07-27 | Statistical analyzer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19981992A JPH0696105A (en) | 1992-07-27 | 1992-07-27 | Statistical analyzer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0696105A true JPH0696105A (en) | 1994-04-08 |
Family
ID=16414172
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19981992A Pending JPH0696105A (en) | 1992-07-27 | 1992-07-27 | Statistical analyzer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0696105A (en) |
-
1992
- 1992-07-27 JP JP19981992A patent/JPH0696105A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0133869B2 (en) | ||
| JP2959069B2 (en) | Slip input processor | |
| JPH0696105A (en) | Statistical analyzer | |
| JPH10198741A (en) | Table data processing device and its program recording medium | |
| JPH11250037A (en) | Content editing device and recording medium | |
| JP3395372B2 (en) | Table processing equipment | |
| JPS5968041A (en) | Card image processing data processor with line retrieving function | |
| JPH0573284A (en) | Drawing processor and its method | |
| JP2831866B2 (en) | Spreadsheet software cooperation processing device | |
| JPH0689282A (en) | Specified data position correcting and displaying method | |
| JP2003346074A (en) | Apparatus, method and program for creating table | |
| JP2003099166A (en) | Vehicle data input control method | |
| JP3002017B2 (en) | Data processing device | |
| JPH08305777A (en) | Table data processing device | |
| JPH10334162A (en) | Data processing device and storage medium | |
| JPH06231152A (en) | Form processing method | |
| JP2000276535A (en) | Automatic Spreadsheet Formula Generation Method and Recording Medium Recording the Processing Program | |
| JP2003228686A (en) | Tabular data file reference processing system, tabular data file reference processing method, and tabular data file reference processing program | |
| JPH11184729A (en) | Bug information management display method and device | |
| JPS62248035A (en) | Program correcting system | |
| JPH11161719A (en) | Spreadsheet high-speed update method and spreadsheet, and storage medium storing spreadsheet high-speed update program | |
| JPS60252941A (en) | Input processing system for registered data | |
| JPS59103130A (en) | Card image processing data processor having card repeating function | |
| JPH10149357A (en) | Undo processing device and undo processing method | |
| JPH08272874A (en) | Form designing system |