automated recode data to 3 tertiles

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

Posts: 1
Joined: Fri Feb 24, 2017 6:21 pm

automated recode data to 3 tertiles

Postby NeutrophilClair » Fri Feb 24, 2017 11:43 pm

I'm looking for a way to split data from scale to 3 ordinal categories. I have interrogated where the tertiles sit using frequency descriptives but with 20 data points I would like to expedite the process and elimenate any transcription errors by automating the split. Recode into different variables has the potential to contain a shortcut but I can't find it. Does anyone know how to make this happen? Many thanks
Posts: 119
Joined: Wed May 25, 2011 7:07 am

Re: automated recode data to 3 tertiles

Postby JonPedersen » Tue Feb 28, 2017 2:30 pm

You can use the rank command.
rank VARIABLES=MyScores /ntiles(3) into MyTertiles.

Who is online

Users browsing this forum: No registered users and 2 guests