Programming the statistical procedures from SAS

How to cross tabulate statistical significance using CHISQ

Reply
Regular Contributor
Posts: 188

How to cross tabulate statistical significance using CHISQ

Hi,

I have a situation where i have values for products in 1,0.

I want to compare all vs all products and need chisq statistics for them.

like for A vs B, B vs C. and statistical significance for all of those values?

Thanks

Trusted Advisor
Posts: 2,114

Re: How to cross tabulate statistical significance using CHISQ

Check out the documentation for PROC FREQ and its TABLES statement.

SAS/STAT(R) 13.1 User's Guide

Regular Contributor
Posts: 188

Re: How to cross tabulate statistical significance using CHISQ

The freq and tables statement though computes the frequencies of 1,0 for each product. I want the CHISQ statistic for all product vs product comparison. If I run at one time, it give only overall CHISQ

Super User
Posts: 18,563

Re: How to cross tabulate statistical significance using CHISQ

Post a sample of your data. Any reason you can't do comparisons selectively or are you trying to adjust your p-values?

Regular Contributor
Posts: 188

Re: How to cross tabulate statistical significance using CHISQ

the data would be like:

PRODUCTVALUE
A1
A0
A0
A1
A1
B0
B0
B1
C0
C1
C0
C1

I want comparison of A vs B, A vs C and C vs A. One method is subsetting data for each one. But I want to do it without subsetting similar to ANOVA.

Super User
Posts: 18,563

Re: How to cross tabulate statistical significance using CHISQ

I think Proc CatMod is what you're looking for, but not sure it does chisquare analysis.

Regular Contributor
Posts: 188

Re: How to cross tabulate statistical significance using CHISQ

well, i had tried logistic regression. But the p values, are actually the probability of intercept being 0/1 for that particular variable, and not for statistical significance of CHISQ

Ask a Question
Discussion stats
  • 6 replies
  • 268 views
  • 0 likes
  • 3 in conversation