turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- p-value within tables

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

04-10-2011 05:03 AM

Hi,

Sorry if this is an old question but I cannot find a answer in the forum / support materials.

I'm new to SAS and am trying to create a table to compare baseline characteristics between two groups (intervention / no intervention).

Some of the baseline data is binary (eg diabetes / not) and some is numerical (eg age).

Using either proc report / tabulate I can show that between group 1 and 2 the average age / percent of diabetics looks roughly the same, but I am at a loss to show that they are 'statistically comparable' by incorporating p-values for each characteristic between groups.

Is it possible to incorporate this calculation or do I need to independently perform the calculation and subsequently incorporate this data to my table?

Many thanks for any help,

Jim

Sorry if this is an old question but I cannot find a answer in the forum / support materials.

I'm new to SAS and am trying to create a table to compare baseline characteristics between two groups (intervention / no intervention).

Some of the baseline data is binary (eg diabetes / not) and some is numerical (eg age).

Using either proc report / tabulate I can show that between group 1 and 2 the average age / percent of diabetics looks roughly the same, but I am at a loss to show that they are 'statistically comparable' by incorporating p-values for each characteristic between groups.

Is it possible to incorporate this calculation or do I need to independently perform the calculation and subsequently incorporate this data to my table?

Many thanks for any help,

Jim

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

04-10-2011 11:56 PM

Yes.You need to independently perform the calculation and subsequently incorporate this data to your table.

If they were matched obs then firstly calculate their difference x=a-b ,secondly to test whether x equal zero.

If they were independently then use proc ttest or proc nparm1way to calculate the p-value.

Ksharp

If they were matched obs then firstly calculate their difference x=a-b ,secondly to test whether x equal zero.

If they were independently then use proc ttest or proc nparm1way to calculate the p-value.

Ksharp

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

04-11-2011 10:35 AM

Many thanks,

Jim

Jim