Combined Frequency/Stats Tables

Example 2 – DEMOG Displaying P-Values from User-defined Procedures

The following example displays P-values from statistical procedures specified by the programmer. The CR Toolkit will display p-values that are passed to DEMOG, AE2 or TABLE3. Any statistical method may be used so long as the dataset containing p-values conforms to CR Toolkit standards. The code for preparing the _statsin dataset is presented in Displaying P-values on CR Toolkit Tables.

%demog(in=demo0,
	cvars=age,
	dvars=race,
	totalg=N,
	statdata=_statsin,
	suffix=b);