Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65050

Cross tabulation for 4 variables with 900 observations

$
0
0
Hi all,

I have been trying to figure this one out from a Stata manual on crosstabulation but the result I am getting is lengthy (9 pages) when I used the command . table result visit eweid udderhalf . Another command . table result visit eweid udderhalf returns `too many variables specified`. Below is the description of my dataset and what I would like to do:

I have a dataset where milk samples were collected from each half (left and right) of the udder of sheep at 2 sampling visits (1 and 2) and cultured for bacterial isolation. Each of the sheep unique id (eg, 111675) appeared 4 times in the dataset and the bacteriology result contains 6 different pathogens and the negative, there are empty cells as well for a situation where no milk was found in an udder half. Udder half and bacteriology result are presented as string variables. I want to produce a crosstabulation in order to investigate whether the bacteriology result of a particular udder half of a particular animal was of the same status during first and second visit or has changed in-between. Is there any further statistics that I can run to answer my question?

Best regards,

Aminu.

Viewing all articles
Browse latest Browse all 65050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>