Chapter Contents |
Previous |
Next |

The FREQ Procedure |

Procedure features: |
| |||||||||

Data set: |
COLOR |

This example

- creates a
one-way frequency tables using existing cell counts
- orders the values of the frequency table by their frequency in
the input data set
- computes the binomial proportion and the corresponding test statistic
- specifies the null hypothesis proportion for the asymptotic
test
of the binomial proportion
- specifies the confidence level for the confidence limits.

Program |

options nodate pageno=1 linesize=80 pagesize=40;

proc freq data=color order=freq; weight count; |

tables eyes/binomial alpha=.1; |

tables hair/binomial(p=.28); |

title 'Hair and Eye Color of European Children'; run; |

Output |

Chapter Contents |
Previous |
Next |
Top of Page |

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.