## Type of variable, mean and type of test

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Marc25
Posts: 2
Joined: Fri Jun 10, 2016 6:40 pm

### Type of variable, mean and type of test

Hello,
I am doing my thesis and I use SPSS for the first time. Please help me even if my questions seem stupid.
First question.
I classified the age of the beginning of the symptoms in 5 intervals:
20 years or less.
From 21 to 30 years.
From 31 to 40 years.
From 41 to 50 years.
51 years or more.
In this case what is the variable type in SPSS. Is it scale or nominal or ordinal.
If I want to make Contingency table with the variable " Sex of the patient " to determine if 2 variables are linked, which statistical test should I use (Khi2 or correlation or other). Because I read on Web that the test khi2 is used only for 2 nominal variables.
2nd question.
I classified the time needed for diagnosis as follows:
less than 1 year.
1 year.
2 years.
3 years.
4 years.
5 years.
6 years.
8 years.
9 years.
10 years or more.
So in this case could I calculate the mean and how. I need an urgent answer.
thank you very much
statman
Posts: 2760
Joined: Tue Jun 12, 2007 12:08 pm
Location: Florida, USA

### Re: Type of variable, mean and type of test

Nominal type but you also mention means so if want mean of categories then ???? Else clarify

And ...........
See the note below

Statman
Statistical Services
Marc25
Posts: 2
Joined: Fri Jun 10, 2016 6:40 pm

### Re: Type of variable, mean and type of test

statman wrote:Nominal type but you also mention means so if want mean of categories then ???? Else clarify

And ...........
Thank you very much statman. If i understand well, what tou said is that I can't calculate mean for these variables. But i can use Chi2 test for the Contingency table with the variable " age of onset" and the variable " Sex of the patient " to demonstrate that the age of onset of the disease is earlier in men (20 to 40 years in men versus 40-60 in women). thank you again. You are very helpful

### Who is online

Users browsing this forum: letiziamdr and 2 guests