r/AskStatistics • • Sep 16 '24

Compare values of two different groups

Post image
0 Upvotes

7 comments sorted by

1

u/efrique PhD (statistics) Sep 16 '24

You're looking for a difference in proportion of 1s by year?

1

u/MaKoi-Fish Sep 16 '24

Yes

1

u/efrique PhD (statistics) Sep 16 '24

Chi squared test ...

1

u/MaKoi-Fish Sep 16 '24

I will be using that to find significant association, but I was more thinking of tabulating the data of all the batches with answers of multiple columns like c1, c2, etc. So far I'm getting separate tables for each of c1, c2, etc. using the crosstabs option. Any idea how to group multiple ones into a single table?

1

u/efrique PhD (statistics) Sep 17 '24

I'm not sure what you mean by "a single table" in this instance. If you want to deal with more than two of the variables, I'd be looking at logistic regression rather than a chi-squared test.

1

u/jive_cucumber Sep 16 '24

Frequency distribution. If you're testing significance than chi square. In SPSS it is under summary statistics I believe for the freq distribution.

1

u/MaKoi-Fish Sep 16 '24

I selected both the batch and the c1 column as variables but it's not showing up as proportions of 1 and 0 batch-wise... Instead, it shows proportions of 1 and 0 out of the whole entries and proportions of batches among the whole entries... What to do now