How to output results of age based on groups?

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

fscussel
Posts: 8
Joined: Mon Oct 03, 2011 4:49 am

How to output results of age based on groups?

Postby fscussel » Mon Oct 03, 2011 4:21 pm

One of my fields is Age. How can output it as groups like

10-19
20-29
30-39
...
90-99???
statman
Administrator
Posts: 2756
Joined: Tue Jun 12, 2007 12:08 pm
Location: Florida, USA

Re: How to output results of age based on groups?

Postby statman » Mon Oct 03, 2011 4:45 pm

A bit more info would really help - See the note below

If your data are age numbers and you want to display them as categories then look into RECODE and COMPUTE to see which one you are comfortable with
See the note below

NOTE: Please read the Posting Guidelines and always tell us your OS, the SPSS version and information about your study and data!

Statman
Statistical Services
fscussel
Posts: 8
Joined: Mon Oct 03, 2011 4:49 am

Re: How to output results of age based on groups?

Postby fscussel » Mon Oct 03, 2011 5:08 pm

statman wrote:A bit more info would really help - See the note below

If your data are age numbers and you want to display them as categories then look into RECODE and COMPUTE to see which one you are comfortable with
yes I have a data field of patient age and I would like to see my output as "how many patients do I have of ten to nineteen years old" "20 to 29" and so on, like a graphic divided by decades and numbers of patients in each decade.


I really need help with this. thanks
GerineL
Moderator
Posts: 1477
Joined: Tue Jun 10, 2008 4:50 pm

Re: How to output results of age based on groups?

Postby GerineL » Tue Oct 04, 2011 10:34 am

look into recode.

however, we don't know anything about your variables so is hard to say.
fscussel
Posts: 8
Joined: Mon Oct 03, 2011 4:49 am

Re: How to output results of age based on groups?

Postby fscussel » Tue Oct 04, 2011 1:50 pm

Gutnre wrote:look into recode.

however, we don't know anything about your variables so is hard to say.
what else do you need to know? here is the picture:
spss1.jpg
SPSS2.jpg
You do not have the required permissions to view the files attached to this post.
GerineL
Moderator
Posts: 1477
Joined: Tue Jun 10, 2008 4:50 pm

Re: How to output results of age based on groups?

Postby GerineL » Tue Oct 04, 2011 2:36 pm

did you look into recode yet?

Now it seems like you have a different question.
please be precise:

variable is now age (ranging between 12 and 88, interval level), I want to make these specific categories.
fscussel
Posts: 8
Joined: Mon Oct 03, 2011 4:49 am

Re: How to output results of age based on groups?

Postby fscussel » Tue Oct 04, 2011 5:56 pm

Gutnre wrote:did you look into recode yet?

Now it seems like you have a different question.
please be precise:

variable is now age (ranging between 12 and 88, interval level), I want to make these specific categories.
I've tried recode but I don't have enough knowledge to operate it.

Yes variable is age ranging between 20 and 80 (I have input the exact age of each patient) and I would like to output by intervals, like

20-29 years old ------------ 15%
30-39 years old ------------ 5%
40-49 years old ------------ 27%

and so on...
fscussel
Posts: 8
Joined: Mon Oct 03, 2011 4:49 am

Re: How to output results of age based on groups?

Postby fscussel » Wed Oct 05, 2011 4:39 pm

ok I finally found how to do it in the recode, read some help and got it right.

Now I have a little more complex question, if you guys could help please:

http://www.spssforum.com/viewtopic.php? ... 204#p17204

Who is online

Users browsing this forum: No registered users and 1 guest

cron