Create numeric codes for the nominal variable


Discuss the following:

Enter the following dataset into SPSS. Create numeric codes for the nominal variables, then use "values" to show the meaning of the numbers:

ID Age Jog_YN Weight Take_Vit
1 20 N 180 Y
2 30 N 150 N
3 33 N 175 N
4 40 N 163 N
5 41 N 190 N
6 43 N 171 Y
7 45 N 130 N
8 50 N 188 N
9 52 N 164 N
10 55 N 170 N
11 21 Y 136 Y
12 22 Y 155 Y
13 24 Y 160 Y
14 27 Y 142 N
15 30 Y 170 Y
16 32 Y 125 Y
17 33 Y 151 N
18 34 Y 134 Y
19 37 Y 115 Y
20 48 Y 170 Y

Q1. Check your data entry by getting descriptive statistics on all of the above variables. What is the mean age for the whole group? What is the SD for weight?

Q2. Test whether joggers are more likely than non-joggers to take vitamins: In other words, get a cross-tabulation of the two variables, request row and column percentages, and click on the "statistics" tab to request "chi-square".

a. What specific percentages from the table best answer the question as posed? What do they show?

b. Which two-tailed p-value from the chi-square table would you report? What does it show? Why did you pick that p-value?

Q3. Obtain a table showing mean, SD, and median age and weight for the joggers and non-joggers. You don't have to do a statistical test, just get the statistics requested. Briefly interpret the results.

Solution Preview :

Prepared by a verified Expert
Basic Statistics: Create numeric codes for the nominal variable
Reference No:- TGS01897515

Now Priced at $25 (50% Discount)

Recommended (93%)

Rated (4.5/5)