# Count percentage of Break Variables

6 messages
Open this post in threaded view
|
Report Content as Inappropriate

## Count percentage of Break Variables

 CONTENTS DELETED The author has deleted this message.
Open this post in threaded view
|
Report Content as Inappropriate

## Re: Count percentage of Break Variables

 Please define what you mean by "count percentage of break variables" preferably demonstrating with a simple numeric example of inputs and desired output!! --- deepanshu bhalla wrote Hi Team,   I want to calculate count percentage of break variables using Aggregate function.   Below the syntax which i used. In the syntax i  am calculating count of break variables .Is there any way we can calculate count percentage of break variables?   DATASET DECLARE demo003. AGGREGATE   /OUTFILE='demo003'   /BREAK=demo0003 QCL_1   /Num=N.     Where demo0003 and QCL_1 are variable names.   Note : I know how to use PIN or FIN function but it works only on aggregated variables.     Thanks in advance! Please reply to the list and not to my personal email. Those desiring my consulting or training services please feel free to email me. --- "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis." Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Open this post in threaded view
|
Report Content as Inappropriate

## Re : Count percentage of Break Variables

 CONTENTS DELETED The author has deleted this message.
Open this post in threaded view
|
Report Content as Inappropriate

## Re: Count percentage of Break Variables

 In reply to this post by David Marso DATA LIST FREE / Gender (F1)  Age (A10). BEGIN DATA. 1  20-24 1  25-29 2  25-29 2  29-34 1  29-34 2  34-above 1  20-24 1  20-24   2  20-24 1  20-24 END DATA. AGGREGATE OUTFILE * / BREAK Age Gender / N=N. WEIGHT BY N. AGGREGATE OUTFILE * / BREAK AGE / P1=PIN(GENDER,1,1)/P2=PIN(GENDER,2,2). LIST. AGE           P1    P2 20-24       80.0  20.0 25-29       50.0  50.0 29-34       50.0  50.0 34-above      .0 100.0 Number of cases read:  4    Number of cases listed:  4 David Marso wrote Please define what you mean by "count percentage of break variables" preferably demonstrating with a simple numeric example of inputs and desired output!! --- deepanshu bhalla wrote Hi Team,   I want to calculate count percentage of break variables using Aggregate function.   Below the syntax which i used. In the syntax i  am calculating count of break variables .Is there any way we can calculate count percentage of break variables?   DATASET DECLARE demo003. AGGREGATE   /OUTFILE='demo003'   /BREAK=demo0003 QCL_1   /Num=N.     Where demo0003 and QCL_1 are variable names.   Note : I know how to use PIN or FIN function but it works only on aggregated variables.     Thanks in advance! Please reply to the list and not to my personal email. Those desiring my consulting or training services please feel free to email me. --- "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis." Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Open this post in threaded view
|
Report Content as Inappropriate