Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proc Univariate ,Tabulate needed-not sure!

Status
Not open for further replies.

irinnew

Technical User
Mar 19, 2005
81
US
Hi Experts,

I need scores among product and gender groups (N; Mean; std values for Total_score)
I have a dataset with total_score, product and gender.
In other words I need a table like the following:
***************************************
N Mean Std
Total_score product1(M)
Total score product1(M)
Total_sore product2( F)
Total score product2(F)
*******************************************************
1.Actually I know how to do it for products and gender SEPARATELY:

proc univariate data=baselineProd;
by product;
var total_score_f;
title 'Summary Descriptive Statistics for BaseLine by Product';
run;

proc univariate data=baselineGen;
by gender;
var total_score_f;
title 'Summary Descriptive Statistics for BaseLine by Gender';
run;
***********************************************************

2. I assume that the second part of the task should be done through proc tabulate…Something like…or maybe I am wrong….

Proc tabulate data=baseline;
Class product gender;
Var total score;
Table…….;
Run;

Anyway I have no idea WHAT and HOW I should specify in TABLE statement?

Could you please give me a hand?

Thank you in advance,

Irin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top