Help using Base SAS procedures

request for survey data anlysis

Reply
Contributor
Posts: 43

request for survey data anlysis

Hi all,
Could any one guide me steps for analysing my survey data
I want to find the correlation between two variable using scatterplot
data is like this
satisfied informed
2 3
1 2
6 5
3 4
3 1
2 2
where 1 - very well satisfied/informed
2- well satisfied/informed
and so onn
please correct me if i am wrong
1. find the frequencies of both satisfoed and informed ( how many 1's,2's... in each category using proc freq)
2. need to plot on graph and find the Rsquare value

thanks in advance
N/A
Posts: 0

Re: request for survey data anlysis

ods html;
ods graphics on;

title 'Fish Measurement Data';
proc corr data=fish1 nomiss plots=matrix;
var Height Width Length3 Weight3;
run;

ods graphics off;
ods html close;

From Proc Corr doc., ex 1.7

However, this is for continuous data and your data is categorical. Check also proc freq with the measures option
Super User
Posts: 9,691

Re: request for survey data anlysis

Hi.
tjeller is right.Your data is ordinal categorical data ,better to use proc freq' measure options.
and what is your meaning at the first question?Does say the frequencies of each group of the satisfoed and informed? then use list option.
[pre]
proc freq data=sashelp.class;
tables sex*name /list;
run;
[/pre]

Ksharp
Contributor
Posts: 43

Re: request for survey data anlysis

Thanks to you both for your kind response.
reg. forst question , I have 1500 responses just quoted from 1-5 for satisfied and 1-6 for informed.
I mean i need to group them how many 1s,2s.... for satisfied and same for the informed and then plot the graph

please guide me the right way to do
Ask a Question
Discussion stats
  • 3 replies
  • 106 views
  • 0 likes
  • 3 in conversation