{'fraction_non_alphanumeric': 0.022618529795563287, 'fraction_numerical': 0.0034797738147020443, 'mean_word_length': 5.371191135734072, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
COMPUTER DIAGNOSIS IN PSYCHIATRY: A BAYES APPROACH

Along with the recent work on standardizing definitions, interviews, and records in clinical psychiatry, there have been several attempts at designing computer models of the psychiatric diagnosis process (e.g., Spitzer's DIAGNO and Wing's CATEGO). Such models aid scientific evaluation of issues such as reliability and validity. Generally these models are judged upon how well they can replicate clinician's diagnoses when presented with unknown clinical cases. This paper presents a model based on applied probability theory, Bayes method, which has been tested successfully in other medical fields, but has only been proposed with sufficient testing in psychiatry (because of inadequate samples). It describes the logic of Bayes method, details the samples used to develop and test the model, and compares the results of the model with the performance of DIAGNO (a well established, different type of computer model), and discusses the implications of this. Bayes method requires estimates of the relative frequencies of relevant symptoms in specified diseases(e.g., the relative incidence of disturbed reality testing in paranoid schizophrenia as compared with that in alcoholism). In this study estimates of these frequencies are derived from a sample of patients and nonpatients interviewed by New York psychiatrists using spitzer's Current and Past Psychopathology scales (CAPPS). The formal mathematical procedure (Bayes method) which translates this information into predicted diagnoses is briefly described. The model is tested on a subset of this sample, and then on three completely separate samples: an inpatient group from Columbia and the Institute of Living, a group of women in a maternity clinic who were selected by a screening questionnaire for schizophrenia, and a mixed group of Italian inpatients and outpatients interviewed by Italian psychiatrists. The CAPPS records are processed by both Bayes method and DIAGNO, and the results compared. The agreement kamong clinician and computer varies between 40 and 70 per cent for Bayes method, and between 45 and 55 per cent for DIAGNO. The reasons for this difference are discussed. Finally a comparison of the advantages and disadvantages of the respective methods is presented.