05-31-2018 10:15 AM
When I run the example code below in SAS EG, I'm only shown these results when I want to see results like this. Is there a reason why the Cell (1,1) Frequency (F), left-sided pr <= F, right-sided >=F, and two-sided Pr <= P are omitted from my results? Is the p-value I generated not two-sided? Thanks in advance!
data test; input comp95 religion $ count; cards; 1 independent 10 1 jewish 30 1 romancatholic 20 1 other 40 0 independent 46 0 jewish 51 0 romancatholic 32 0 other 34 ; run; proc freq data=test order=data; tables comp95*religion / chisq expected fisher; weight count; run;
05-31-2018 11:43 AM
Do you realize that you can insert images using the "Photos" icon in the menu? Posting links to images on other sites are very likely to break making your question less useful for others searching this forum.
06-04-2018 02:33 PM
As discussed in the documentation, you can ask for several kinds of p-values. The EXACT statement supports the POINT, MIDP, or MC (for Monte-Carlo) options. For example:
exact fisher / point;
06-05-2018 01:23 PM
You only get left and right sided p-values for 2x2 tables. For larger tables the one-sided p-values are not defined and you will only get a two-sided one