
- •Дисциплина: Системы статистического анализа данных Лабораторная работа №1 Подготовка данных для проведения исследования.
- •Анкета «Избыточный вес»
- •1 Кодирование и кодировочная таблица
- •2 Матрица данных
- •3 Запуск spss
- •4 Редактор данных
- •4.1 Определение переменных
- •4.2 Ввод данных
- •5 Сохранение файла данных
- •6. Запуск statistica
- •4.2 Ввод данных
- •Индивидуальное задание:
2 Матрица данных
На основании результатов анкетирования составляется матрица данных, представляющая собой прямоугольную таблицу. При этом каждая строка соответствует одной анкете, а каждый столбец — одной переменной. В рассматриваемом случае матрица содержит 50 строк. Каждая строка включает 16 столбцов для переменных.
Предположим, что 50 анкет были заполнены следующим образом (табл 1.1):
Пол |
Возраст |
Рост |
Доход |
Питание |
оп_дв_апп |
серд_сос |
жел_киш |
дых_путей |
Эндокрин |
родст |
спорт_1 |
Вес_1 |
Диета |
Спорт_2 |
Вес_2 |
woman |
25 |
165 |
3000-5000 |
totally disagree |
yes |
no |
no |
no |
yes |
2 |
1 |
150 |
no |
3 |
121 |
man |
38 |
178 |
3000-5000 |
totally disagree |
yes |
no |
yes |
no |
no |
1 |
1 |
120 |
no |
3 |
100 |
woman |
41 |
167 |
0-3000 |
agree |
yes |
no |
no |
no |
no |
0 |
2 |
130 |
no |
3 |
105 |
woman |
20 |
150 |
0-3000 |
disagree |
no |
no |
yes |
no |
no |
2 |
0 |
100 |
no |
3 |
91 |
woman |
26 |
162 |
5000+ |
hard to answer |
no |
yes |
no |
yes |
yes |
1 |
0 |
120 |
no |
3 |
111 |
woman |
35 |
156 |
is not |
totally agree |
yes |
no |
no |
yes |
no |
2 |
0 |
121 |
no |
3 |
95 |
woman |
46 |
175 |
3000-5000 |
agree |
no |
no |
no |
no |
no |
3 |
0 |
133 |
no |
2 |
76 |
woman |
38 |
167 |
0-3000 |
hard to answer |
no |
no |
no |
yes |
no |
3 |
0 |
145 |
yes |
2 |
72 |
woman |
28 |
160 |
0-3000 |
agree |
no |
no |
no |
no |
no |
0 |
1 |
100 |
is not |
2 |
85 |
man |
44 |
190 |
5000+ |
disagree |
no |
no |
no |
no |
no |
1 |
1 |
101 |
yes |
1 |
107 |
woman |
35 |
164 |
5000+ |
agree |
no |
yes |
yes |
no |
no |
0 |
0 |
99 |
no |
2 |
95 |
woman |
22 |
156 |
3000-5000 |
agree |
yes |
yes |
no |
no |
yes |
0 |
0 |
154 |
no |
3 |
65 |
woman |
27 |
155 |
0-3000 |
disagree |
no |
yes |
no |
no |
no |
1 |
0 |
80 |
is not |
3 |
75 |
man |
33 |
176 |
3000-5000 |
disagree |
no |
no |
yes |
no |
no |
0 |
0 |
131 |
no |
3 |
76 |
woman |
54 |
160 |
0-3000 |
totally disagree |
no |
no |
yes |
no |
no |
3 |
1 |
98 |
no |
3 |
89 |
man |
53 |
189 |
3000-5000 |
hard to answer |
yes |
no |
no |
no |
no |
0 |
0 |
77 |
no |
0 |
96 |
man |
42 |
179 |
0-3000 |
hard to answer |
no |
no |
no |
yes |
no |
0 |
2 |
99 |
no |
3 |
95 |
woman |
30 |
178 |
is not |
hard to answer |
no |
no |
no |
no |
no |
0 |
0 |
96 |
no |
3 |
75 |
woman |
27 |
167 |
0-3000 |
hard to answer |
no |
yes |
no |
no |
no |
1 |
0 |
121 |
no |
3 |
77 |
woman |
42 |
170 |
3000-5000 |
disagree |
no |
yes |
no |
no |
no |
1 |
0 |
120 |
yes |
3 |
80 |
woman |
37 |
169 |
is not |
agree |
yes |
yes |
yes |
no |
no |
2 |
0 |
133 |
yes |
2 |
85 |
man |
41 |
185 |
5000+ |
hard to answer |
yes |
no |
no |
yes |
no |
2 |
2 |
154 |
no |
2 |
80 |
man |
44 |
189 |
0-3000 |
hard to answer |
yes |
no |
yes |
no |
no |
2 |
1 |
161 |
no |
1 |
102 |
woman |
23 |
168 |
0-3000 |
hard to answer |
no |
no |
no |
no |
no |
2 |
1 |
90 |
no |
2 |
55 |
man |
45 |
190 |
0-3000 |
hard to answer |
yes |
no |
no |
no |
no |
2 |
0 |
88 |
is not |
2 |
95 |
woman |
36 |
172 |
3000-5000 |
totally disagree |
yes |
yes |
no |
no |
yes |
2 |
0 |
105 |
no |
2 |
74 |
man |
41 |
185 |
3000-5000 |
totally disagree |
no |
no |
yes |
no |
no |
2 |
0 |
103 |
yes |
2 |
94 |
woman |
57 |
176 |
0-3000 |
totally disagree |
no |
no |
no |
no |
no |
3 |
0 |
127 |
no |
2 |
98 |
woman |
26 |
152 |
0-3000 |
totally agree |
no |
no |
yes |
no |
yes |
1 |
0 |
93 |
no |
2 |
68 |
man |
45 |
192 |
5000+ |
hard to answer |
no |
no |
no |
no |
no |
3 |
3 |
87 |
no |
2 |
97 |
woman |
37 |
168 |
is not |
hard to answer |
no |
yes |
yes |
no |
no |
3 |
0 |
109 |
is not |
2 |
95 |
woman |
21 |
160 |
3000-5000 |
hard to answer |
no |
no |
no |
yes |
no |
0 |
0 |
161 |
no |
2 |
62 |
woman |
29 |
157 |
0-3000 |
0 |
yes |
yes |
no |
no |
no |
4 |
0 |
130 |
no |
2 |
74 |
man |
35 |
178 |
3000-5000 |
hard to answer |
yes |
no |
yes |
no |
no |
0 |
0 |
141 |
no |
1 |
76 |
woman |
52 |
160 |
5000+ |
disagree |
yes |
no |
no |
no |
no |
0 |
1 |
111 |
no |
3 |
89 |
man |
46 |
189 |
3000-5000 |
disagree |
yes |
no |
no |
no |
no |
0 |
0 |
127 |
yes |
3 |
96 |
man |
41 |
179 |
0-3000 |
disagree |
no |
no |
yes |
no |
no |
4 |
0 |
98 |
no |
3 |
100 |
woman |
29 |
178 |
5000+ |
totally disagree |
yes |
yes |
no |
no |
no |
3 |
1 |
103 |
no |
2 |
75 |
woman |
27 |
167 |
0-3000 |
totally agree |
no |
yes |
no |
no |
yes |
3 |
2 |
112 |
no |
2 |
77 |
woman |
30 |
160 |
5000+ |
agree |
yes |
yes |
yes |
no |
no |
2 |
0 |
140 |
is not |
2 |
85 |
man |
46 |
190 |
is not |
agree |
no |
no |
no |
no |
yes |
2 |
0 |
151 |
no |
2 |
107 |
woman |
42 |
164 |
5000+ |
hard to answer |
no |
yes |
no |
no |
yes |
1 |
0 |
132 |
no |
2 |
95 |
woman |
32 |
166 |
3000-5000 |
hard to answer |
no |
no |
no |
no |
yes |
3 |
2 |
100 |
yes |
2 |
65 |
woman |
36 |
155 |
0-3000 |
disagree |
yes |
yes |
yes |
no |
no |
3 |
0 |
97 |
no |
3 |
75 |
man |
50 |
187 |
3000-5000 |
disagree |
yes |
no |
no |
no |
no |
3 |
0 |
81 |
no |
3 |
70 |
man |
49 |
184 |
is not |
totally disagree |
no |
no |
no |
no |
no |
0 |
3 |
89 |
is not |
3 |
86 |
woman |
28 |
159 |
5000+ |
totally disagree |
yes |
no |
no |
no |
no |
1 |
0 |
100 |
yes |
3 |
77 |
woman |
50 |
170 |
0-3000 |
hard to answer |
no |
no |
no |
no |
no |
1 |
0 |
163 |
yes |
1 |
90 |
woman |
48 |
174 |
3000-5000 |
hard to answer |
no |
no |
no |
no |
yes |
1 |
0 |
151 |
no |
3 |
78 |
woman |
40 |
166 |
3000-5000 |
disagree |
no |
yes |
no |
no |
no |
2 |
3 |
140 |
no |
3 |
84 |