Calculation

Reply
New Contributor
Posts: 4

Calculation

Hi there, could someone please help me with the structure of the answer to the following question: Calculate SEX frequencies(variable SEXCDL) and percent of total frequency based on the rawdata.demog dataset. Save results in ascending frequency order as d_freq in derived library. Dont print results in output window.
Super User
Posts: 12,148

Re: Calculation

Posted in reply to Lombardc1

This sounds a lot like homework. So I'm going to suggest looking at the documentation for Proc Freq statement, out=option on a Tables statement and Proc Sort.

 

 

New Contributor
Posts: 4

Re: Calculation

Posted in reply to Lombardc1
Hi thank you for response. Not homework:-). I am doing this for my own research as BA and are in process to experience with SAS.
Regular Contributor
Regular Contributor
Posts: 221

Re: Calculation

Posted in reply to Lombardc1

Throw out a small sample data set, the results you want (even if just a description), and what you have tried.

Super User
Posts: 21,546

Re: Calculation

Posted in reply to Lombardc1

Lombardc1 wrote:
Hi thank you for response. Not homework:-). I am doing this for my own research as BA and are in process to experience with SAS.

Post what you've tried. We'll be happy to help you debug. The basics is PROC FREQ are straightforward and there are many examples online. 

 

If you're training for a BA the process to a solution is just as important. 

List the requirements. 

Explore your options

Pilot a solution

Implement solution

 

For programming solutions I recommend breaking it into pseudocode at least. 

 

 

Ask a Question
Discussion stats
  • 4 replies
  • 81 views
  • 0 likes
  • 4 in conversation