Hi all,
My name is Bhaskar Gupta. I am not able to find out the means of different categories in different variables.
The variables and categories are as follows:
Variable 1:
Category 0: 108
Category1: 144
Category2: 56
Category3: 83
Category4: 9
Total: 400
Variable 2:
Category 0: 111
Category 1: 109
Category 2: 60
Category 3: 98
Category 4: 22
Total: 400
Variable 3:
Category 0: 109
Category 1: 166
Category 2: 78
Category 3: 31
Category 4: 16
Total: 400
I want to find out the means of different categories in different variables. For example:
For category 0, it should be equal to: 108+111+109/400 = 328/400= 0.82
Same for all the other categories.
I am not able to make the command for this.
I have tried a lot by myself, but everytime I tried I got 400/400=1
Kindly help me.
I will be very thankful.
My name is Bhaskar Gupta. I am not able to find out the means of different categories in different variables.
The variables and categories are as follows:
Variable 1:
Category 0: 108
Category1: 144
Category2: 56
Category3: 83
Category4: 9
Total: 400
Variable 2:
Category 0: 111
Category 1: 109
Category 2: 60
Category 3: 98
Category 4: 22
Total: 400
Variable 3:
Category 0: 109
Category 1: 166
Category 2: 78
Category 3: 31
Category 4: 16
Total: 400
I want to find out the means of different categories in different variables. For example:
For category 0, it should be equal to: 108+111+109/400 = 328/400= 0.82
Same for all the other categories.
I am not able to make the command for this.
I have tried a lot by myself, but everytime I tried I got 400/400=1
Kindly help me.
I will be very thankful.
Comment