How to analyze matched case-control data in spss -
i using spss 22 mac.
i have dataset in 1 of variables id of matched control case.
the data looks kinda this:
id case animal fruit matched control outcome ___________________________________________________________________________ 1 yes horse apple 4 died 2 no elefant orange survived 3 yes horse banana 5 survived 4 no horse apple died 5 no shark apple died
where case 1 (horse, apple) matched control 4 (horse, apple) , case 3 (horse, banana) id matched control 5 (shark, apple) , control 2 should excluded analysis because not referenced case.
i to:
create table baseline characteristics of cases , controls:
case yes (n=2) case no (n=2) _______________________________________________________________ animal - horse (%) 2 (100%) 1 (50%) fruit - apple (%) 1 (50%) 2 (100%)
perform odds , risk ratios of outcome variable in cases vs. controls
note eventhough data avaiable id 2, doesnt included in analysis because doesnt have matched control, therefore it's not case.
how can achieve spss?
if use fuzzy extension command create case-control matches, can create dataset of matched pairs. otherwise join selected controls case data using match files table join. (you can if cases , controls in same dataset.)
Comments
Post a Comment