Creating a Frequency Variable

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

skinfreak
Posts: 13
Joined: Fri Apr 04, 2008 8:21 pm
Location: Pontypridd, Wales

Creating a Frequency Variable

Postby skinfreak » Sun Mar 15, 2009 10:46 pm

I have a set of responses for a test-retest. In order to calculate stats such as kappa or spearman's rho I need to create a frequency variable. How can I do this?

Example, two questions, identical categories plus a frequency:

Var1: Question 1 - 1,2,3,4,5
Var2: Question 1 (retest) - 1,2,3,4,5
Var3: Frequency

The output would then be:

1 1 0
1 2 0
1 3 0
1 4 0
1 5 0
1 6 0
2 1 0
snip
6 5 0
6 6 1

Thoughts?

Who is online

Users browsing this forum: No registered users and 1 guest

cron