Note: I made this set up, it's to get the general idea. I have 50 columns like this.
Gender 0 = Male, Gender 1 = Female. I want test the proportions for a difference. Where for example Men buy 4/7 of item one and Females do 3/7. I read a bunch of documentation, but all I can find is using proc freq. Can someone help me to figure out how to do this?
A better topic for the SAS Statistical Procedures forum.
You seem to be missing a denominator. Or maybe you need to frame the question more completely. Are there 7 people? Probably not. Does each person examine an item and decide to buy it or not? Those answers are important to determining the correct or best test.
Just looking at the question as you have stated it, is 4/7 = 3/7? That is really a one-sample test of a proportion, is 4/7 = 0.5 . You can get that from FREQ using the BINOMIAL option.
> Clearly 4/7 is not =.5. Like I said, this is a VERY
> simplified data set. I have much more complex
> numbers and more of them. It was just away to show
> how my data is laid out.
Hard for me to believe you really have "complex numbers". Complex as in: square root of negative 1.
If you meant to say that you have a more complex dataset ... its really hard for us to know what to advise, as we can only see a very simple problem. If Doc's restatement of the issue doesn't meet your needs, then we need a much more clear description of what data you have, and what statistical comparisons you want to perform.
I need to test for a difference between 50 items by gender. I have listed 3. I need to run a test of proportions against 0 and 1 for item 1. I need to also do the same thing for item 2, all the way up to item 50. I know it's easy to eyeball these, but i have to do it for 50 items where it gets a little more complicated.