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
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