Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • conditional tabulation

    Hello,
    I have query about conditional tabulation.
    I have three variables. X, Y and Z. X has three numbers which are 1, 2 and 3. Y denotes three categories which are Industry1 Industry2 and Industry3. Z shows the year value as Year1, Year2 and Year3.

    I have following two queries.

    1. I want to know frequency of Variable X based on categories of Variable Y. In other words it will tell me frequency of number 1, 2 and 3 in each Industry.
    2. Additionally, I also want to know the frequency of each number in every industry (Variable Y) in every year (Variable Z).

    How can I do that? Thanks a lot.

  • #2
    solved the problem through following codes

    1. by Y, sort : tabulate X
    2. by Y Z, sort : tabulate X

    Comment

    Working...
    X