here. Suppose for example that we had a male who was Hispanic and to make it
easy
they answered let's say 6 on each of these questions.
OK, so our gender male they would get a 1 for gender
so enter 1, for ethnicity
they're Hispanic so they would get a 4. Now this answer here,
other ethnicity, only applies if someone answered other or a 5 and they stated
something if they did then we would type it in such as biracial but they did
not so we're going to just press Delete there so we just skip over it.
Let's say the person was 25 and then recall they answered a 6 on all five of
the items on the Satisfaction with Life Scale.
OK so that looks good. Say the second person is female, so a 2
they were Caucasian let's say so 3 here so we're going to skip other
ethnicity
they were 21 and then they answered say 7s on the Satisfaction with Life
Scale. OK and then one more let's say another female so that will be a 2 and
this person was Other for race and they were biracial
they wrote it on the form so we would put that and then their age was 32 and
this person answered 3 on the first three questions and 4 on the last two
and we would see that just by looking at their form and seeing what they circled.
OK so that's a basic example for entering data creating a data file from
a questionnaire and entering some values as well.
Now we'll do analysis in a minute but there's one other thing that you might
want to consider.
Often if we have hard copies of these surveys if we've
administered them to people by hand
then often we'll want to keep track of each individual survey with a number.
We'll have a ID number on the survey such as this may be 001 if it's the first
person the next one could be 002 and so forth.
So if I want to record that then what I want to do is make a modification to this
data set here let's take a look at that, that can be very useful.
This will illustrate how to enter or insert a variable and how to insert it
where you want it to be and also how to create an ID variable which will not be a
number but instead it will be treated as text and I'll show you what I mean here.
So let's go right here click on gender and then right-click the mouse button
and then select Insert Variable and notice how that put it right before
gender
it's just what we want to that's perfect. We'll call this ID and then under
Type we're going to select string.
Click OK and then let's go ahead and go to Data View and notice how that's
once again to the left of gender and then we'll type 001 for the first
person,
002 for the second, 003 and we could just do that all the way down as we
had more people, or what have you.
OK I'll go and delete these two though
select those and press the Delete key and then that looks good. We've got our
data set here and we could run some basic analyses such as we could run
actually one more thing let's take a look at this before we do that let's go
ahead and click on this button here
this is known as our Value Labels button. If I click on that
notice what happens here we have our males and females they're displayed and
then the ethnicity is displayed and then here if someone answered a 1 or a 7
that label of either Strongly Agree or Strongly Disagree displays as you can
see here Strongly Agree. if I click on that again it turns it off and you can
leave it on if you want it's just a preference and then let's go to do a
basic analysis so let's find the frequency
of these two variables here so how many males there are how many females and
then how many of each of ethnicity.
Now obviously when we only have three people we could just look at this and tell very
quickly but pretend we have hundreds of people or what have you.
So we to to Analyze, Descriptive Statistics