Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Truncating in two-way tables


From   Sara Mottram <[email protected]>
To   [email protected]
Subject   st: Truncating in two-way tables
Date   Mon, 24 Apr 2006 08:37:19 +0100

Hi,

I am trying to tabulate certain conditions related to the chest (read_trm), gathered from medical records, against whether or not a person describes themselves as having a chest condition (yes/no). I have included my code and a small amount of the table below (the -if- statement is there to chose only those conditions defined as being chest related). My problem is that the names of the conditions are being truncated and so I cannot tell what all of them say.
I notice that if I tabulate only the condition (read_trm) and do not include the second variable (i.e. a one-way table), I get more characters in the table but it is still truncated. I think this is to do with space in the results window, but is there any way that I can change this so that I can read all of the entries under 'Read term'?

Thanks in anticipation,
Sara


tab read_trm a101a if chest==1

| Chest problems
Read term | No Yes | Total
----------------------+----------------------+----------
"Chron obstruct pulmo | 0 1 | 1
"Pleural condition, u | 1 0 | 1
Abscess of lung/media | 1 0 | 1
Acute Tonsilitis | 1 0 | 1
Acute bacterial phary | 1 1 | 2
Acute bronchiolitis | 0 1 | 1
Acute bronchitis | 69 53 | 122
Acute erythematous to | 1 0 | 1
Acute exacerbation of | 1 15 | 16
Acute exacerbation of | 3 45 | 48
Acute exacerbation of | 0 3 | 3
Acute follicular tons | 2 0 | 2

--
Sara Mottram
Research Assistant: Biostatistics
Primary Care Musculoskeletal Research Centre
Primary Care Sciences
Keele University
Staffordshire, ST5 5BG
Tel: 01782 584711
Fax: 01782 583911
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index