Вы находитесь на странице: 1из 73

StatPac for Windows Tutorial

Hello, my name is David Walonick, and I'm the author of StatPac. I'm a
real person, and if you have a problem or question about this tutorial,
please email me at david!statpac.com
"his tutorial #ill sho# you ho# to use the soft#are. It takes about an hour
and #ill teach you the basics of the packa$e. If you're serious about
learnin$ StatPac for Windo#s, this is the place to start.
"o be$in usin$ StatPac, click on the colorful %ballons icon that #as placed on your desktop durin$ the
installation.

"he steps in runnin$ StatPac are the same as in all research&
'. Desi$n the study
(. )ollect the data
*. +un the analyses
,et's be$in by creatin$ a ne# study. )lick on the StatPac icon to launch the pro$ram. - blank Study Desi$n
screen #ith this header #ill be displayed.
- study desi$n consists of t#o parts&
"he first part is a description of the variables. "his information is stored in a file called a codebook. -ll codebook
file names end #ith a .cod e.tension. "he ri$ht side of the screen sho#s the current variables in the codebook.
Since #e haven't created any variables, none are listed.
"he other part of a study desi$n is a workspace. "he left side of the screen sho#s the contents of the #orkspace.
It's also blank since #e haven't loaded anythin$ yet. - #ide variety of files can be vie#ed in the #orkspace area.
/or e.ample, #hen creatin$ a ne# codebook, you may #ant to copy and paste te.t from a 0S Word document.
1ou #ould load the document into the #orkspace area, and then you could copy and paste it to the codebook.
"he #orkspace may hold a data entry form, lists of email addresses, or any te.t file.
While there are many #ays to desi$n a ne# study, the easiest is to use the Grid. "he 2rid button is at the top
ri$ht of the Study Desi$n screen.
Using the Grid to Create a New Study
)lick on the 2rid button to be$in desi$nin$ a ne# study. "he 2rid #ill be displayed.
- ro# in the 2rid represents a variable. If your study has 34 variables, there #ill be 34 ro#s in the 2rid. When you
start the 2rid, only one ro# #ill be sho#in$. 0ore ro#s #ill appear as needed as you enter the codebook. When
you enter a variable format for the current variable, a blank ro# for a ne# variable #ill appear.
"o be$in enterin$ information into the 2rid, click in the name field of the first ro#.
"he Variable Name is simply a name or phrase that may be used to reference the variable #hen desi$nin$
analyses. "he variable name is optional...you don't have to type a variable name, but its use is hi$hly
recommended. 1ou'll use the variable names in desi$nin$ analyses, so choose variable names that have
meanin$ to you. -s a $eneral rule, the variable name is a short #ord or abbreviation. It can't be only a number.
In this study, the first variable is $ender, so type 2ender as the variable name. It is often convenient to use
variable names that reference the question number on a survey 5e.$., 6', 6(, 6*a, 6*b, 6*c, 6%, etc.7.
Using the Grid to Create a New Study (Continued)
8se the "ab key to move to the ne.t field.
"he Variable Format defines the type and structure of the variable. It is the only information that's mandatory
#hen definin$ a ne# variable. 9nce you define the format, the variable #ill e.ist in the codebook.
StatPac supports t#o kinds of variables& numeric and alpha. :umeric variables may contain only numbers, #hile
alpha variables can use any character on the keyboard. 8se : or - to specify a variable as numeric or alpha,
follo#ed by the number of characters needed to hold responses to the variable.
We'll use a onecolumn alpha variable for $ender, so #e type -' in the format field 5- for alpha, ' for one
column7.
8se the "ab key to move to the ne.t field.
"he Variable Label is a #ritten description of the variable that #ill appear on the printouts. /or surveys, the
variable label is usually the question itself. 1ou can type anythin$ for the variable label, or you can leave it blank.
"here are no restrictions on the content or len$th of a variable label.
Press the "ab key to move to the ne.t field.
;alue labels are used to define the response cate$ories. "he $eneral format is code equals label. In our e.ample,
there are t#o value labels. 0<0ale and /</emale. "ype each value label on a separate line.
"he code on the left of the equals si$n is #hat the data entry person #ill type. -nd the te.t to the ri$ht of the
equals si$n is ho# that code #ill be labeled in reports. "he actual value label can be any len$th, but short value
labels produce easiertoread printouts.
;alue labels are optional, but their use is hi$hly recommended. "hey make reports easier to understand. "hey are
also used to create data entry forms, email, and Internet surveys, as #ell as determine #hat inputs #ill be
considered valid durin$ data entry. "hey can even be used to control branchin$.
:o# look at the labels of the ne.t three fields to the ri$ht #hich are marked #ith an =.
Missing OK refers to #hether the data entry person #ill be able to leave this variable blank durin$ data entry.
Auto Advance refers to #hether the data entry person #ill need to press >?nter@ to advance to the ne.t variable.
If -uto -dvance is checked, it #ill not be necessary to press >?nter@ to $o to the ne.t variable.
Caps Lock refers to the )aps ,ock key on the keyboard. When )aps ,ock is checked, all data entered for this
variable #ill be upper case. Since #e have coded the response cate$ories as 0<0ale and /</emale 5upper case
0 and /7, use the mouse to click on the )aps ,ock bo. to check it. "he first variable entry is no# completed and
the screen should look like the above illustration.
)lick on the :ame field in the second ro# of the $rid.
"he second variable in this e.ample a$e, so #e'll type -$e as the variable name.
Press the "ab key to move to the ne.t field 5/ormat7.
It #ill take t#o numeric characters to hold the respondent's a$e so #e'll $ive it a format of :( 5a numeric t#o
column variable7.
Press the "ab key to move to the ne.t field 5;ariable ,abel7.
"he variable label is the full te.t that #ill appear on the survey. So you mi$ht type& AWhat is your a$eBA
We don't need value labels for this variable since #e're $oin$ to be enterin$ the respondent's actual a$e. It's not a
coded response like the previous variable.
:o# #e've completed the second variable and the screen looks like this.
-lternatively, you can enter information that determines #hat #ill be valid data durin$ data entry. /or e.ample, if
our survey #ere limited to people 'C and older, you could enter 'CDD as the value label and an error messa$e
#ould be sho#n if someone tried to enter an a$e less than 'C.
"he ne.t variable in this e.ample is Erand Preference. )lick on the :ame field in the third ro# to be$in variable
three.
We'll make Erand Preference a numeric onecolumn variable and code the responses usin$ four value labels&
'<Erand =
(<Erand 1
*<Erand F
%<8ndecided

"he screen no# looks like this&
:otice that the #indo# #here you type the value labels is lar$er than a ro# in the $rid. When you move to the
ne.t variable, the #indo# is reduced to Gust one ro#. In the above screen, you only see 0<0ale and the other
value label 5/</emale7 is hidden. 8se the ri$ht mouse button to click on a previously entered field to see all the
value labels for that variable, and the ri$ht mouse button to reduce an enlar$ed #indo# to Gust one ro#.
:o# #e'll look at a completed codebook #ith a fe# more variables.
Here is the completed codebook #ith ten variables. Save the codebook and $ive it name by selectin$ /ile H Save
)odebook.
,et's take a look at the rest of the variables.
"he fourth variable asks& AHo# #ould you rate our productBA. 9nly the first value label is sho#in$ 5'<?.cellent7.
)lick on this field #ith the ri$ht mouse button to sho# the rest of the value labels.
:otice that only the anchors of the scale are labeled 5'<?.cellent and 3<Poor7. We could have assi$ned labels to
all of the codes. It Gust depends on #hat you #ant the printouts to look like #hen you perform an analysis.
?ven thou$h #e only labeled the anchors of the scale, the other codes #ere still included as value labels. "his is
so the data entry pro$ram #ill kno# that (, *, and % are also valid responses.
;ariable five asks& AWhat do you feel #ould be a fair price for our productBA. Since #e are askin$ for a numeric
response that could be any dollar amount, no value labels are specified.
"he format for the A/air PriceA variable #as set to :3 to accommodate responses from 4 to DD.DD. 5"he decimal
point takes one column7. -lternatively, #e could have specified the format as :3.( so that there #ould al#ays be
e.actly t#o places to the ri$ht of the decimal point.

;ariables si., seven, and ei$ht are part of the same multiple response question. "he question is AWhere did you
hear about our productB 5check all that apply7A and the value labels are '<+adio, (<"elevision, and
*<:e#spaper. Eecause a respondent could $ive up to three possible ans#ers, #e need three variables to hold
the responses. When creatin$ multiple response variables, there should be the same number of variables as
there are value labels.
"he #ay to create multiple response variables is to type the first one 5variable si.7. "ype I' at the end of the
variable name. "hen click on the ne.t ro# to be$in variable seven and click the Duplicate button at the top of the
screen. "hen click on the ne.t ro# to be$in variable ei$ht and click the Duplicate button a$ain. "he variable
names #ill automatically be appended #ith I( and I* because each variable must have a unique variable name.
;ariable nine asks& AWhere are you locatedBA and the value labels are&
'<:orth
(<South
*<?ast
%<West.
"he last variable is an openended question. It asks& AHo# could #e improve our productBA "he question calls for
a verbatim response, and it is defined it as an -'44 format, meanin$ that the response could contain up to '44
characters. If you #ere e.pectin$ very lon$ responses, you mi$ht specify a format of -'444. :o value labels
should be specified for openended questions because the respondent could say anythin$.
When you've finished the codebook, click on the Save button or choose /ile H Save )odebook. When creatin$
lar$e codebooks, it is a $ood idea to periodically click the save button to protect your #ork in the even of a
computer crash or po#er outa$e.
"o e.it the 2rid, select /ile, ?.it 2rid.
-fter e.itin$ the 2rid, you #ill see the variable names in the codebook section of the main desi$n screen
Using an MS Word Document to Create a New Study
0any surveys are initially developed usin$ a #ord processor such as 0S Word. StatPac provides an easy #ay to
create a codebook from a #ordprocessed document.
/irst, use your #ord processor to save the document in +ich "e.t /ormat 5.rtf7. "hen close your #ord processor.
+un StatPac and open the document in the A#orkspaceA area. Select /ile, 9pen, +ich "e.t /ile, and select the
document. "he survey #ill appear in the #orkspace area of the screen.
"he ne.t step is to evoke the Variable Detail #indo#. "he ;ariable Detail #indo# $ives you access to the same
information as the 2rid. Information chan$ed in the ;ariable Detail #indo# #ill also be chan$ed in the 2rid
"here are t#o #ays to evoke the ;ariable Detail #indo#. "he first is to use the menu to select ;ie#, ;ariable
Detail. "he second is to double click on the J:e#H in the codebook section on the ri$ht side of the screen. "he
;ariable Detail #indo# can be dra$$ed around the screen by A$rabbin$A any $rey area of the #indo#. "he fields
in the ;ariable Detail #indo# are sho#n belo#.
"he process of creatin$ a survey from a #ordprocessed document consists of copyin$ the information from the
#orkspace area to the ;ariable Detail #indo#. Special features make it easy to copy and paste information.
/irst, type a variable name and format. A2enderA #ould be a $ood name for the first variable 5althou$h many
people prefer to use variable names like A6'A, A6(A, etc.7. "he format be$ins #ith the letter A-A or A:A 5alpha or
numeric7 follo#ed by the number of characters reserved for the variable. In this e.ample, $ender #ill be entered
as A0A or A/A so the format is A-'A.
:o# #e copy the te.t from the #orkspace to the ;ariable Detail #indo#.
8se the left mouse button to hi$hli$ht the first question in the te.t. "hen use the left mouse button to click in the
variable label area of ;ariable Detail #indo#. "he te.t #ill be transferred to the #indo#. It is not necessary to use
?dit, )opy and ?dit, Paste. Kust hi$hli$ht the te.t and click in the ;ariable Detail #indo#.
"he value labels can be copied in a similar fashion.
8se the left mouse button to hi$hli$ht the value label and then click in the value labels area of ;ariable Detail
#indo#. "he te.t #ill be transferred to the #indo#. Ho#ever, the value labels te.t #ill need to be edited to add the
code and equals symbol.
-dd the code and equals symbol to the value labels te.t by typin$ them in the ;ariable Detail #indo#. ?ach value
label should appear on a separate line in the #indo#.
"he process consists of addin$ variables one at a time to the ;ariable Detail #indo#.
"here are t#o #ays to be$in a ne# variable. 8se the dropdo#n list in the ;ariable Detail #indo# to select the ne.t
variable, or double click in the blank space immediately belo# the last variable of the variable list.
?nter the ne# variable in the same manner as the previous variable. "ype a variable name and format, and then
add the variable label and value labels by copyin$ them from the #orkspace. )ontinue addin$ ne# variables until
the codebook is completed. 1ou can save the codebook at any time by selectin$ /ile, Save )odebook from the
menu.
Creating a orm for Data !ntry
"he Data ntr! Form is a template that can be used to enter and edit data. It is needed to collect information
from paper L pencil surveys and intervie#s. It is not needed for Internet or email surveys because the data is
electronically captured and no manual data entry is necessary.
"he Data ?ntry /orm can be created automatically or manually 5usin$ StatPac or your #ord processor7. When
you have finished desi$nin$ the codebook, the main screen #ill sho# the variables in the codebook and the
#orkspace area #ill be empty.
"here are t#o components to the form. 9ne is the te.t itself. "he te.t is simply the questions on the survey. "he
te.t can be typed directly into the #orkspace #indo#, loaded from an e.istin$ #ordprocessed document, or
automatically $enerated from the codebook. It may be formatted in any style you #ant.
"he other component is the data input "ields. Data input fields define #here the responses #ill be typed on the
form. "he form is a combination of te.t and data input fields. Data input fields are easy to identify because they
are sho#n on the form in yello#. "hey appear as a variable number enclosed in brackets. 8sually, a form #ill
have one data input field for each variable in the codebook.
"his is #hat a form mi$ht look like&
StatPac makes it easy to create a data entry form. -fter the codebook has been created, StatPac can
automatically create a Data ?ntry /orm containin$ both the te.t and data input fields.
"o automatically create a form, select Desi$n H Data 0ana$er /orm.
"he appearance of the form can be set #ith the ;ariable "e.t /ormattin$ parameters. )han$in$ these parameters
#ill alter the appearance of the form #hen it $ets created. )lick 9M to automatically create the form.
"his is the form that #as automatically created.
If you #ant to delete some or all of the variables from the form, hi$hli$ht the te.t and data input fields to be
deleted. "hen click the )ut Eutton 5or choose ?dit, Delete7 to delete the variables from the form. "o delete all the
variables on a form 5for e.ample, to Gust start over7, choose ?dit, Select -ll, and then click the )ut Eutton or
choose ?dit, Delete. "he codebook is not affected by any chan$es made to the form.
If you doubleclick on a data input field 5the yello# brackets7, the ;ariable Detail #indo# #ill sho# the information
for that variable. If the ;ariable Detail #indo# is already sho#in$, a sin$le click #ill s#itch the ;ariable Detail
#indo# to that variable.
"he final step is to save the form. Select /ile, Save Workspace to save the form.
Creating an "nternet Sur#ey
In order to sho# a survey on the Internet, you need a server to AhostA the survey. 1ou can host your surveys on
your o#n Web site server or the StatPac server.
If you #ill be usin$ the StatPac server, you may skip this section.
If you #ill be usin$ your o#n server, you need to tell StatPac about it. Select Server H Setup.
"he server setup #indo# #ill be displayed. "he online help and 8ser's 2uide contain detailed information and
e.amples on settin$ up your server.
"he left side of the screen contain the information required to connect to your /"P server.
StatPac supports t#o types of servers& '7 8ni. N ,inu. and (7 Windo#s :" N IIS. When you make a Server "ype
selection, the most likely Paths and /olders settin$s #ill be filled in. "he settin$s are probably correct but may
need to be chan$ed for you server.
"he domain name should be specified #ithout an http or ### prefi.. /or e.ample, yourdomain.com.
"he /"P Server is the address of the /"P server. It almost al#ays your domain name #ith an Aftp.A prefi.. /or
e.ample, ftp.yourdomain.com. It could even be an IP address.
1our 8sername and Pass#ord #ill be provided by your ISP. 8sernames and pass#ords are usually case
sensitive, so use care #hen enterin$ the information.
"he ri$ht side of the screen describes the folder structure.
Web surveys #ill not function properly unless you $et the settin$s ri$ht. "here is a $ood chance that the default
settin$s are correct, but not necessarily.
When you lo$ in to your server usin$ an /"P pro$ram, you'll be sittin$ in the Aftp lo$in folderA on the server. 1our
###root folder is the folder #here you put your Web site H"0, files. 1ou should see your Web site home pa$e in
that folder. It mi$ht be the /"P lo$in folder or it mi$ht be a subfolder -ll of these are likely subfolder names.
publicIhtml
###root
docs
yourdomain name.com
If your /"P lo$in folder is the same as your ###root folder, then leave this settin$ blank. If your ###root folder is
in a subfolder, specify the subfolder name.
"he )2I script folder is easy to identify because it is nearly al#ays called c$ibin or c$i. It is usually a subfolder of
the ###root folder. Specify the path as the full path to the folder be$innin$ at the /"P lo$in folder.
"he +esponse Stora$e /older is #here respondents ans#ers #ill be stored.
"he Server Path to Perl is the absolute path #here Perl is installed on your server.
If you #ill be usin$ your server to send email, you also need to specify a mail method and it's associated
information.
)reatin$ an Internet survey is easy. Select Desi$n H Internet Survey.
StatPac internet surveys are created from a script. "he first time you select Desi$n H Internet Survey, a default
script #ill be created. "he pro$ram mi$ht also chan$e the variable names in your codebook 5if necessary7
because Internet surveys cannot contain variable names #ith special characters or spaces.
8sually, the script #ill require minor editin$ 5especially the first time you create an online survey7. 1ou can edit the
settin$s directly in the script #indo# 5check Settin$s7, or you click the Settin$s button.
"he Primary Settin$s section of the script is very important. "hey should be set for each ne# survey because they
specify critical information that is likely to vary from survey to survey. "here are seven Primary settin$s.

Detailed information on these settin$s is in the 8ser's 2uide and online help.
"he U$% to sur#ey folder is the only critical settin$. It sets the server and optionally the folder #here the survey
#ill reside. It is the full 8+, to the folder that #ill hold the survey. -ll of the survey pa$es are uploaded to this
folder.
If you #ill be usin$ the StatPac server, specify& http://take-survey.com. If you #ant to use StatPac's secure SS,
server, add an https://www. prefi.& https://www.take-survey.com. 5StatPac #ill modify your settin$ to include the
proper folder #hen you upload your files to the server.7
If you #ill be usin$ your o#n server, specify the full 8+, to the folder that #ill hold your surveys. /or e.ample, if
your domain name is acme.com and you #ant to place the survey in a folder called AsurveysA, the settin$ #ould
be& http://www.acme.com/surveys
&TM% name sets the name for all survey pa$es. "he default #ill be the same as the codebook name but you may
chan$e it. "his #ill be the name of the survey on the Web and it #ill be part of the link to the survey. It may not
contain any spaces or special characters. /or e.ample, if you set the H"0, name to A"utorialA, the link to your
survey mi$ht be& http://www.acme.com/surveys/Tutorial.htm 5:ote that 8ni. and ,inu. servers are case
sensitive7.
'anner image(s) sets the ima$e5s7 that #ill be sho#n at the top of the pa$e. If you're doin$ a survey for a client,
it's probably your client's lo$o. If it's for your o#n company, it's probably your company lo$o.
&eading sets the te.t for the pa$e headin$. It is $enerally the title of the survey and #ill appear at the top of the
survey pa$e.
inish te(t sets the te.t for a link on the thank you pa$e and inish U$% sets the 8+, for the link. If you are
doin$ a survey for a client, this is probably a link to their home pa$e. If the survey is for your company, it's
probably a link to your home pa$e.
Coo)ie sets the type of cookie that #ill be used to prevent multiple submissions from the same computer. "he
valid settin$s are& :one, ID, Partial, or /ull.
-fter you've chan$ed the Primary settin$s, click 9M to e.it the editor. "hen click 9M to $enerate the html files for
the survey.
"he Primary script settin$s for a sample survey mi$ht be&
H"0,:ame<"utorial
EannerIma$e<c&Oima$esOlo$o.$if
Headin$<0y /irst Sample Survey
/inish"e.t<)lick here for the StatPac home pa$e
/inish8+,<http&NNstatpac.com
)ookie<:one
Web/older8+,<http&NNtakesurvey.com
)heck Settin$s to see these settin$s in the script.
"he survey #ill be sho#n in the Previe# #indo#. /or a multiple pa$e survey, you can select the pa$e you #ant to
look at by selectin$ ;ie#.
-fter e.aminin$ the survey, the process becomes one of ArefinementA& '7 chan$in$ the script, (7 re$eneratin$ the
H"0, files, and *7 vie#in$ the H"0, files to make sure they are the #ay you #ant.
/or e.ample, one thin$ #e'd #ant to chan$e is the A"ype Pa$e Headin$ HereA line. In the script 5or the editor7,
you'd chan$e the Headin$ line and click 9M to re$enerate the H"0, pa$es. ?ach time you chan$e the script, you
should re$enerate the H"0, so it uses the ne# settin$s.
"he ne.t fe# pa$es contain technical information on modifications that can be made to the script. 1ou may skip
over this section if you #ant.
"he script contains sections for the basic layout, pass#ords, colors, and the format for each variable.
"he last part of the script contains the commands that #ill create the internet survey variables. It's easy to identify
this section of the script because it be$ins #ith a line that says&
NNNNN S8+;?1 )+?-"I9: NNNNN
0ost of the time, the commands in the Survey )reation section of the script #ill create a nicely formatted survey.
Ho#ever, there are many reasons you mi$ht #ant to edit the script. /or e.ample, you mi$ht insert a line of te.t,
s#itch a $roup of radio button questions to matri. format, or be$in a ne# pa$e.
1ou could add a line at the be$innin$ Survey )reation section of the script that says&
"e.t<Please complete this survey by 9ctober *'st.
or you could be$in a ne# pa$e after the -$e question by insertin$ the #ord ANewPageA.
"e.t<Please complete this survey by 9ctober *'st.
Elank,ine
+adio 2ender
Elank,ine
"e.tEo. -$e
:e#Pa$e
+adio Erand
etc.
When StatPac creates a default script, it #ill choose the obGect that is most appropriate for each variable. 1ou can
chan$e the script if you feel that a different obGect #ould be better.
Here are the most common lines that can be inserted into the script to chan$e the appearance of the H"0,
pa$es.

Commands to dis*lay te(t

Headin$<"e.t Displays very lar$e te.t
"itle<"e.t Displays lar$e te.t
"e.t<"e.t Displays normal te.t
/ootnote<"e.t Sets the footnote te.t
Instructions<"e.t Displays te.t usin$ instructions color scheme
6uestion<"e.t Displays te.t usin$ question color scheme

Commands for s*acing and *agination

Elank,ine Inserts blank line
:e#Pa$e Ee$ins a ne# survey pa$e

Commands to insert images and lin)s

Ima$e</ilename5s7 Insert one or more ima$es
,ink8+,<8+, Sets the 8+, for the ne.t hyperlink
,ink"e.t<"e.t Sets the te.t for the ne.t link on the survey
,ink Inserts the hyperlink in the survey

Commands for hel* and *o*u* windows

Help,ink"e.t<"e.t Sets the te.t for the help link on the survey
Help"e.t<"e.t Sets the te.t that #ill appear in the popup help
#indo#
Help/ile:ame</ilename Sets the name of an e.istin$ popup help #indo#
file
HelpWindo# Inserts the help #indo# hyperlink into the survey
PopupStart Ee$in a popup #indo#
Popup?nd ?nd a popup #indo#

Commands to create o+,ects

+adio ;. Inserts radio buttons for variable .
+adio ;.;y Inserts horiPontal radio buttons for variables .y
5matri. format7
DropDo#n ;. Inserts a dropdo#n bo. for variable .
"e.tEo. ;. Inserts a sin$le or multiple line te.t bo. for
variable . 5dependin$ on the field #idth of the
variable7
"e.tEo. ;.;y Inserts te.t bo.es for variables .y into a sin$le
frame
)heckEo. ;.;y Inserts check bo.es for multiple response
variables .y
,istEo. ;. Inserts a list bo. for variable .

JH
1ou can insert these lines any#here in the Survey )reation section of the script.
Note- ;. and ;y refer to variable numbers or names. 1ou could, for e.ample, refer to variable one as ;' or
2ender and variable t#o as ;( or -$e.
/or e.ample, let's say that variables 63a to 63f #ere ,ikert scale items all containin$ the same response
cate$ories. When you create the default script, StatPac doesn't kno# that these items should be $rouped
to$ether, so each item #ill be specified as an individual radio button variable. "he default script mi$ht look like
this&
+adio 63a
Elank,ine
+adio 63b
Elank,ine
+adio 63c
Elank,ine
+adio 63d
Elank,ine
+adio 63e
Elank,ine
+adio 63f
Elank,ine
"o convert these to a horiPontal matri. format, you #ould chan$e the script so the items to be $rouped to$ether
are specified as a ran$e on a sin$le script line instead of each on their o#n script line.
+adio 63a 63f
Elank,ine
1ou probably #ould also #ant to add the preface question te.t&
6uestion<Please indicate your level of a$reement or disa$reement #ith the follo#in$ items.
+adio 63a 63f
Elank,ine
-lterin$ the synta. of the script commands can be used to modify the obGects. In the above e.ample, you could
modify the +adio command so it sho#s the radio buttons to the left of the te.t, labels only the scale anchors and
sho#s numeric codes.
6uestion<Please indicate your level of a$reement or disa$reement #ith the follo#in$ items.
+adio 5+?17 63a 63f
Elank,ine
1ou don't have to remember all the variations of each command. "o $et help on a command, set the cursor on
the command line, ri$ht click your mouse and select Help.
"he -dvanced Settin$s section of the script sets all the default attributes 5font faces, siPes, etc.7 for the survey.
"hese settin$s can also be used in the Survey )reation section to override the defaults and make chan$es Aon
the flyA. "o find out more about a command sho# the advanced script, ri$ht click on line, and select Help.
Here are e.amples of the obGects that can be used in an internet survey.
$adio .( /or/ $adio (*arameters) .(
"he +adio command #ill create a radio button for each value label. It is most appropriate #hen there are a small
number of choices. "he first form of the command #ill create all the radio button in a sin$le column. "he second
form of the command #ill allo# you to specify various display parameters. "he parameters are&
; H vertical or horiPontal
' ( one or t#o columns of radio buttons 5applies to vertical format only7
- ? label all points or label only the end points
1 : sho# numeric codes 5yes or no7
Parameters may be any combination in any order 5upper or lo#er case7. Here's an e.ample of a vertical, t#o
column set of radio buttons.
+adio 5;(7 -$e
$adio .( / .y /or/ $adio (*arameters) .( / .y
When your survey has a series of ,ikert scale or semantic differential scale items, a horiPontal radio button format
can be specified. )han$e the default script so the items to be $rouped to$ether are specified as a ran$e on a
sin$le script line instead of each on their o#n script line. "he second form of the command #ill allo# you to
specify various display parameters. "he parameters are&
, + radio buttons to left or ri$ht of te.t
- ? label all points or label only the end points
1 : sho# numeric codes 5yes or no7
+adio 5+?17 63a 63f
Dro*Down .( /or/ Dro*Down (*arameters) .(
"he dropdo#n menu is used #hen there are a lar$e number of possible cate$ories for the respondent to choose
from. "he most common e.ample of this is #hen askin$ for a country or state. "he first form of the command #ill
create a dropdo#n menu #here only one line sho#s until the menu is selected by the user. In the second form of
the command, you can specify the number of value labels to display before the dropdo#n occurs. 1 is the number
of lines you #ant to display before the user selects the menu. If y equals the number of value labels, then all the
value labels #ill be sho#n all the time.
Te(t'o( .( /or/ Te(t'o( (*arameters) .(
- "e.tEo. is used #hen requestin$ that the user type somethin$ rather than choose from a menu of items. "he
default script #ill use a te.tbo. if there are no value labels for a variable and the variable has a field #idth $reater
than '. When the field #idth for a variable is a lon$ alpha field 5$reater than -Q47, the te.tbo. #ill have multiple
lines and a scroll bar. If you #ant to force a lon$ alpha field to use a sin$le line "e.tEo., then use the command
format of& "e.tEo. 5'7 ;.
"he parameters for the te.tbo. are&
, ) left Gustify or center the "e.tEo. in the frame
n number of lines to sho# in the "e.tEo. 5' to 37
P : pro$ress bar or no pro$ress bar 5multiple line "e.tEo. only7
"he follo#in$ "e.tEo. #as centered, sho#s five lines, and sho# no pro$ress bar as the respondent is typin$&
"e.tEo. 5)3:7 6R
Te(t'o( .( / .y /or/ Te(t'o( (*arameters) .( /.y
0ore that one "e.tEo. can be inserted into a sin$le frame by specifyin$ a variable ran$e. /ields #ith less than %4
characters #ill sho#n as a sin$le line "e.tEo. and lon$er fields #ill be sho#n as a multiple line te.t bo. #ith a
scroll bar. In te seconf form of the command, parameters are used to control the number of lines in each "e.tEo.
and the location of the te.t.
, + " E set the te.t to the left, ri$ht, top, or bottom of the "e.tEo.
n number of lines to sho# in the "e.tEo. 5' to 37
/or e.ample, in the follo#in$ command, parameters #ere used to set the te.t to the ri$ht and to create sin$leline
"e.tEo.es&
6uestion<Please rank each of the follo#in$ by typin$ a ' for the most important, ( for the second most important,
and so on.
"e.tEo. 5+'7 "aste Packa$e
Chec)'o( .( / .y /or/ Chec)'o( (0) .( / .y
"he )heckEo. is used for multiple response. When creatin$ internet surveys #ith multiple response variables, the
codebook #ill have the same number of variables as there are value labels. "he first form of the command #ill
create all the )heckEo.es in a sin$le column. "he second form of the command #ill create t#o columns of
)heckEo.es.
)heckEo. HearI' HearI%
%ist'o( .(
"he ,istEo. may be used as an alternative to radio buttons. /unctionally, the ,istEo. is identical to the radio
buttons.
,istEo. +ace
-fter you have $enerated the survey and you are satisfied #ith it's appearance, you'll close the script #indo#.
StatPac #ill ask if you #ant to add some special variables to the codebook. "hese variables can be used to track
respondents and should usually be included.
"he final step is to upload the files to your #eb site. StatPac has a builtin /"P feature to automatically upload all
the necessary files to your server. Select Server H -uto "ransfer.
-uto "ransfer #ill upload all the files necessary to conduct the survey. "his includes all the survey pa$es, popup
pa$es, help pa$es, lo$in screen, and Perl scripts. 9n 8ni.N,inu. servers, it #ill also set the permissions for the
Perl scripts. "o evoke -uto "ransfer, click the Server button in the script #indo# or select Server H -uto "rasnfer,
0ake sure you're online, and click the 8pload Survey button to upload all the files to your server.
"he link to the survey #ill be copied to the clipboard upon completion of the upload. "o test your survey online,
open your bro#ser and paste 5)trl ;7 the 8+, into the address #indo#.
"est the survey 5enter dummy information as if you #ere a respondent7 and then click the Do#nload +esponses
button to do#nload the responses from your practice survey to a StatPac data file.
"he Delete tab in -uto "ransfer lets you delete a survey or a response file from the server. 1ou can either use the
Delete Survey button or the Delete +esponse button. If you are usin$ the StatPac server, you can optionally
check ASho# the files on the serverA and delete them there.
1ou'll use this screen to delete your test data before you $o live.

+e$istered o#ners of StatPac #ho have a current technical support and update a$reement #ill be able to create a
private folder on the StatPac server.
"he /older tab lets you select a private folder name.
1ou may choose any folder name that is not bein$ used by other StatPac users. 1our folder name may not
contain spaces or special characters. It #ill become part of the link to your surveys.
8sers #ith a current technical support and update a$reement may chan$e their private folder name at any time.
-ll H"0, files in your folder #ill be modified so they #ork #ith the ne# folder name. "he only e.ception is that
surveys in the guest folder #ill not be moved to a private folder #hen you chan$e folder names. -fter chan$in$
folder names, the link to your survey #ill incorporate the ne# folder name instead of the previous folder name.
1ou can also manually upload files to and from the server. /"P 5file transfer protocol7 is the method used to
transfer files. -uto "ransfer also uses /"P... it Gust happens Abehind the scenesA.
Demo users all share the folder name of A$uestA and therefore #ill not have /"P access to the StatPac server.
When usin$ your o#n server, you #ill have complete /"P navi$ation.
Select Server H /"P H and choose the server you #ant to access.
"#o panes #ill be displayed. "he top pane is your server and the bottom pane is your local computer. 1ou can
dra$ and drop files from one pane to the other. Hi$hli$ht one or more files in one pa$e. "o select multiple files use
the J)trlH or JShiftH keys. Dra$ and drop the file5s7 on the other pane
"he current folder is sho#n in the te.t on top of the pane. "hat is the folder #here files #ill be dropped. "o drop
file5s7 to a folder, first double click on that folder to make it the current folder. "hen you can dra$ and drop to and
from that folder.
When usin$ the StatPac server, you #ill only have access to t#o server folders, '7 the folder #here your surveys
reside, and (7 the folder #here your response files are #ritten. Select ;ie# to chan$e folders.
1ou can also ri$ht click on a file in either pane for additional options.

#ou $ave "inis$ed t$e Design portion o" t$e tutorial%
Data Manager
"he Data Manager is used to enter ne# data, edit e.istin$ data, and print data usin$ a form created #ith the
Study Desi$n pro$ram. In order to use the Data 0ana$er, you must have first created a form. 1ou can not enter
ne# data or edit e.istin$ data #ithout a form.
"here are t#o different #ays to launch the Data 0ana$er. If the data file already e.ists, you can select /ile, 9pen,
Data /ile.
"he other method to launch the data mana$er is to select Data, +un Data 0ana$er. If a codebook and form have
already been loaded, the data mana$er #ill load the data file #ith that same name 5if one e.ists7, or it #ill allo#
you to create a ne# data file #ith that name.
If you open the Data 0ana$er #ithout first loadin$ a codebook and form, then the Data 0ana$er screen #ill be
blank, and you #ill need to select /ile, 9pen to specify the data file name
8sually, you #ould name the data file the same as the form and codebook. Ho#ever, there are some situations
#here you #ould specify a different name for the data file. /or e.ample, if you are collectin$ monthly data, you
may #ish to name the data files K-:, /?E, 0-+, and so on. 1ou could use the same form to enter each of the
data files.
9nce you name the data file, the form #ill be displayed and you'll be ready to be$in enterin$ data. "he current
field is the one you are ready to enter data into. It #ill be hi$hli$hted on the form in yello# 5althou$h the colors can
be chan$ed #ith the Data 0ana$er pro$ram7
Durin$ normal data entry, the current field #ill chan$e automatically. )lickin$ the mouse on any field #ill make it
the current field. )lickin$ the mouse on the Previous /ield Eutton or the :e.t /ield Eutton #ill chan$e to the
previous or ne.t field. 1ou can also type a field number into the )urrent /ield #indo# and press enter.
"he ;ariable ,ist and ;ariable Detail #indo#s can be displayed by selectin$ ;ie#. If the ;ariable ,ist #indo# is
displayed, clickin$ on a variable #ill make that variable the current field. If the ;ariable Detail #indo# is displayed,
selectin$ a ne# variable #ill make it the current field.
"he follo#in$ keys can also be used to manually chan$e fields&
Enter -dvance to the ne.t field usin$ skip pattern if present
Tab -dvance to the ne.t field usin$ skip pattern if present
hift Tab 0ove to the previous field. Does not follo# skip patterns.
!own "rrow -dvance to the ne.t field usin$ skip pattern if present
#p "rrow 0ove to the previous field. /ollo#s skip patterns that #ere used.
Page #p 0ove to previous record.
Page !own -dvance to ne.t record.
Select 9ptions, Data Input Settin$s to control #hether the current record #ill be automatically incremented #hen
the data entry person reaches the last field in the current record.
If the -utomatic +ecord -dvance option is set, the pro$ram #ill automatically advance to the ne.t record #hen the
last field of the current record has been entered. "his #ay, it is possible to enter a lar$e number of records #ithout
clickin$ on the :e# +ecord button for each record. 1our data is automatically saved as you $o from one record to
the ne.t. "o chan$e the -utomatic +ecord -dvance option, select 9ptions, Data Input Settin$s.
"here are several #ays to manually chan$e records. )lickin$ on the Previous +ecord Eutton or the :e.t +ecord
Eutton #ill chan$e to the previous or ne.t record. 1ou can also type a record number into the )urrent +ecord
#indo# and press enter.
"here are t#o #ays to vie# the data for a record #ith a kno#n record number. "he first is to type the desired
record number into the current record number #indo# and press enter. "he second is to select ?dit, 2o "o
+ecord 5or use the )ontrol 2 shortcut7.
"he follo#in$ keys can also be used to manually chan$e records&
Page #p 0ove to previous record.
Page !own -dvance to ne.t record
When you are creatin$ a ne# data file, the pro$ram #ill be$in in the Aenter ne# recordA mode. -fter some data
has already been entered, you need to tell StatPac that you #ish to enter a ne# record. "here are t#o #ays to
enter a ne# data record. "he first is to click on the :e# +ecord Eutton on the top left of the screen.
"he second #ay to enter a ne# data record is to select ?dit, Ee$in :e# +ecord.
"he current record number #indo# #ill be updated to sho# the record number for the ne# record. If you do not
enter any data for the ne# record, it #ill not be saved. If any data is entered, the ne# record #ill be added to the
end of the data file. It is not possible to insert a ne# record into the middle of an e.istin$ data file.
Deleting a record is a fairly common procedure because duplicate records are often discovered in a data file.
"here are t#o #ays to delete a record. "he first is to click on the D?, Eutton on the far ri$ht of the menu bar. "he
second #ay to delete a record is to select ?dit, Delete )urrent +ecord.
StatPac #ill not actually delete the record at this time. Instead, the contents of all variables in the record are set to
blanks 5missin$7. In this #ay, the record is marked for deletion rather than actually bein$ deleted. "he rationale
bein$ that deletin$ a record #ould cause all subsequent records to move do#n in the data file, in effect chan$in$
their record numbers. Since editin$ is often done by record number, it is important that the record numbers do not
chan$e durin$ an editin$ session.
When you decide to eliminate the blank data records, select 9ptions on the top menu bar, then chose )ompact
Data. "his #ill chan$e the record numbers for future editin$ sessions. If you #ant to preserve the record numbers
for the ne.t editin$ session, don't compact the file. 1ou can manually compact the data file at any time by
selectin$ 9ptions, )ompact Data /ile. If you have deleted records, it is important to compact the data file before
performin$ any statistical analysis. 9ther#ise, the deleted records #ould be counted as missin$ data in the
analysis.
#ou $ave "inis$ed t$e Data Management portion o" t$e tutorial%
Designing 1 $unning 2nalyses
- procedure in StatPac refers to a set of key#ords that perform one or more tasks. - procedure may specify a
sin$le analysis or several analyses of the same type. Procedures can also contain commands to perform
transformations and #rite subfiles.
"he commands to perform an analysis 5or series of analyses7, can be stored in a file called a procedure "ile. "his
means that you can easily recall a previously created procedure file, and make chan$es to it #ithout havin$ to
retype the commands. "he procedure file is stored on disk #ith a .pro e.tension. Procedure files can be saved,
loaded and mer$ed #ith other procedure files.
"o be$in runnin$ analyses, click the -nalysis button. "he analysis screen has t#o parts. "he left side of the
screen sho#s the commands to run the procedures, and the ri$ht side of the screen sho#s the list of variables.
StatPac uses an easy pro$rammin$ lan$ua$e for desi$nin$ procedures. ?ach line in the procedure file be$ins
#ith a key#ord.
"he first line in a procedure file should specify #hat study you #ant to use. /or e.ample&
Study "utorial
When you type this line on the left side of the screen and press enter, the variables from your codebook #ill
automatically load and be displayed on the ri$ht side of the screen.
/rom this point on, all subsequent lines #ill use the codebook and data file called "8"9+I-, unless the S"8D1
key#ord is used a$ain in the procedure file.
:o# #e're ready to be$in desi$nin$ procedures to run analyses. - simple procedure mi$ht be&
S"8D1 "8"9+I-,
/+?68?:)I?S 2?:D?+
"his procedure consists of a sin$le task. "he procedure says to use the codebook and data file called "8"9+I-,,
and perform a frequency analysis of the 2?:D?+ variable.
When #ritin$ procedures, variables may be referenced by their variable name or variable number. When usin$ a
number to reference a variable, al#ays use the letter A;A as a prefi.. In our sample, 2?:D?+ is the first variable,
so this procedure could also be #ritten as&
S"8D1 "8"9"I-,
/+?68?:)I?S ;'
"o run the frequencies procedure, click the +un button.
"he A+un ProceduresA #indo# offers several options. It let's you specify the procedure5s7 to run and the output
destination 5screen, printer, or file7. Since this procedure file has only one procedure, click 9M to run the analysis.
"he results of this procedure #ill be displayed..
1ou'll notice at the top of the +esults /ile pa$e, this icon
"his is the button #hich #ill allo# you to create $raphics for your reports.
)lick on the $raphics icon to see a $raphic of the $ender variable.
"here are several choices no#. 1ou can& '7 choose another type of $raph, (7 modify this $raph, or *7 add this
$raph to your report.
"o chose another type of $raph, use the drop do#n menu at the top.
If you are satisfied #ith the $raph and #ant to add it to your report, select ?dit, )opy 2raph to +eport.
1ou can also modify the te.t or appearance of a $raph. "o chan$e the te.t in a $raph, select ?dit, ,abels L
,e$end.
?nter the revised labels into the 2raphics ,e$ends and ,abels #indo#. 8se the /ont buttons to chan$e the font
siPes or colors.
If you need to modify another $raph characteristic other than the te.t, use the ri$ht mouse button and click
any#here on the $raph to evoke the 2raph )ontrol #indo#.
Procedure files can contain multiple tasks and multiple procedures. Here is a more e.tensive procedure file that
contains five procedures. :ote that the procedures are separated from one another by t#o periods.
In the first procedure, #e're doin$ a frequency analysis of four variables 52ender, Erand, +atin$, and ,ocation7.
We also used the headin$ command to put our company name at the top of each pa$e of the analysis. -ll
subsequent procedures #ill use this pa$e headin$.
"he second procedure performs a multiple response frequency analysis of the three AHo# did you hear about our
productBA variables. "he options command is used to tell StatPac to treat these as multiple response rather than
separate variables.
"he third procedure performs descriptive statistics 5mean, median, mode, etc.7 of the /airIPrice variable.
"he fourth procedure says to perform a banner crosstabs of the Erand variable by the 2ender and ,ocation
variables.
"he fifth procedure says to list all the openended comments.
)lick the run button to run the procedures. 1ou can specify #hich procedures you #ant to run in the Procedure$s%
To &un te.t bo..
Procedure$s% To &unA may be an individual procedure or ran$e of procedures. "he default #ill be the procedure
#here the cursor #as located #hen the +un button #as clicked. If you hi$hli$ht te.t before clickin$ the +un
button, the default procedure5s7 #ill be all the procedures that contained hi$hli$hted te.t. - ran$e of procedures
may be specified #ith a dash. "o run procedures one throu$h five, you #ould type '3 in the Procedure$s% to &un
field. "o run a sin$le procedure, simply type the procedure number.
"he 'ode selection allo#s you to set the analysis to operate interactively 5output to the screen7, or batch 5output
to the printer or a file7. "he "est mode #ill simply check the synta. of the selected procedures #ithout actually
runnin$ them.
+unnin$ all of the procedures #ill produce a multipa$e report. ?ach analysis #ill appear on a separate pa$e.
)lick the :e.t "ask button to advance from one procedure to the ne.t. Here's the output from the fourth
procedure 5the banner table7.
"he 9ptions key#ord is very important in StatPac. It lets you customiPe the analyses and control the appearance
of the output. "here are many options available for each type of analysis.
/ortunately, you do not have to remember the options. Simply place the cursor in the procedure you #ant to
modify and click the 9ptions selection. -ll of the options for that analysis #ill be displayed and you can chan$e
them in the 9ptions menu. /or e.ample, here are the options for the Eanners procedure.
"o chan$e the option temporarily, simply type the ne# value for the option. "o make a permanent option chan$e,
type the ne# value and add an e.clamation point as a suffi.. /or e.ample, typin$ 1 chan$es an option to yes for
the current procedure only. "ypin$ 1S chan$es the option permanently so that all future analyses #ill use the
default of 1.
Some options are $lobal and apply to all analyses. "hey allo# you to set the pitch 5font siPe7 for the report, the
pa$e mar$ins, paper orientation, the ne.t pa$e number to be printed, and the Poom factor.
"he 9+ and F/ options are very important. "hey are $lobal options and #ork #ith any analysis. "he paper
orientation may be set to 9+<P 5portrait7 or 9+<, 5landscape7. "he Poom factor option is any easy #ay to reduce
the siPe of a table so it #ill fit on one pa$e. :ormally, F/<'44 and the printouts #ill be displayed at '44T their
normal siPe. Settin$ F/<D4 #ould display the tables at D4T of their normal siPe, so more columns #ould be able
to fit on a pa$e. If an analysis #on't fit on one pa$e, or if it appears too squished to$ether, you can often improve
its appearance by usin$ the Poom factor option.
-fter you have desi$ned a series of procedures, you can save them in a file. "hus, you could load the file at a
future time in order to add additional procedures or to modify it. Procedure files have a .pro e.tension.
In most cases, the codebook, data file, and procedure file use the same file name. When you save the procedure
file, it's a $ood idea to $ive it the same name as the codebook.
"he synta. for all the analyses is similar. While usin$ the pro$ram, the fastest #ay to $et the synta. for an
analysis is to select Help, -nalyses.
"he help menu has a link to each kind of analysis.
"he follo#in$ is the basic synta. for each of the analyses. When you use the commands in a procedure, replace
J;ariablesH #ith one or more variable names from your study&
,IS" J;ariablesH
/+?68?:)I?S J;ariablesH
)+9SS"-ES J;ariablesH E1 J;ariablesH
E-::?+S J;ariablesH E1 J;ariablesH
D?S)+IP"I;?S J;ariablesH
E+?-MD9W: J;ariablesH E1 J;ariablesH
""?S" J;ariablesH WI"H J;ariablesH
""?S" J;ariablesH WI"H J2roupin$ variablesH<5J)ode'H75J)ode(H7
)9++?,-"? J;ariablesH
-nalyses are specified by usin$ a key#ord. -ll analysis key#ords can be abbreviated by usin$ the first t#o
characters of the key#ord. /or e.ample, /requencies can be abbreviated as /+, Eanners can be abbreviated as
E-, and so on.
Some analyses also require that an option be specified. /or e.ample, there are a number of #ays that a
frequency analysis can be performed, dependin$ on the data. /requencies on multiple response data requires
usin$ the 0+ option, and frequencies on openended comments requires usin$ the 9? option to code the
responses into cate$ories.
"he follo#in$ options have profound impact on ho# the analyses are formed.
StatPac
3eyword
S*ecial
4*tion
Ty*e of 2nalysis
,IS" :one ,istin$ data
/+?68?:)I?S :one /requency analyses of one or more
variables sho#in$ each one on a separate
pa$e
/+?68?:)I?S 0+<1 0ultiple response frequency analysis
/+?68?:)I?S 9-<1 /requency analysis of several variables
#ith the same value labels, sho#in$ all the
results on one pa$e
/+?68?:)I?S 9?<1 /requency analysis #ith codin$ of an
openended variable
)+9SS"-ES :one "#o and three#ay crosstabs
E-::?+S "1<)
"1<P
Eanner table #ith either cate$orical or
parametric stub variables
D?S)+IP"I;?S :one Descriptive statistics for one or more
variables sho#in$ each one on a separate
pa$e
D?S)+IP"I;?S 9-<1 Descriptive statistics for several variables,
sho#in$ all the results on one pa$e
E+?-MD9W: :one Descriptive statistics for a variable broken
do#n by one or more sub$roup variables
""?S" :one 0atched pairs ttest and independent
samples ttest
)9++?,-"? "1<P
"1<S
Pearson's and Spearman's correlation
analysis
Conclusion
"his tutorial covered the basics of StatPac, but there are many features that haven't been mentioned.
"he best #ay to learn to use StatPac is to first e.plore the sample files provided #ith the demo. "hey #ill teach
much about the soft#are. "he sample data is located in a folder called D-"- immediately belo# the StatPac
folder 5probably )&OStatPacOData7. "here are codebooks, forms, data files, and procedure files in this folder.
"hen #e encoura$e you to create a practice study yourself. 1ou'll be impressed #ith ho# easily you can create
and analyPe data.
?nGoyS
See /requently -sked 6uestions at&
re5uently 2s)ed 6uestions
General
'. What are the limits of the free trial soft#areB
(. What are the system requirements for StatPacB
*. I am havin$ trouble do#nloadin$ the soft#are. )an you send me a )DB
%. Ho# can I find out the serial number or version of my soft#areB
3. What's the fastest #ay to learn StatPacB
Q. What kind of support do I $etB
R. Do I need previous research e.perience to create effective surveysB
C. Ho# much does StatPac costB
D. Ho# can I order StatPacB
'4. Ho# many computers can I install the soft#are onB
''. Ho# do I $et an up$rade for my copy StatPacB
'(. Who is StatPac Inc.B
6U!ST"4N 7 What are the limits of the free trial soft#areB
2NSW!$ "he free trial version is the same as the full version e.cept it #ill only analyPe the first *3 records
5respondents7 from a data file. It includes the Easic -nalysis 0odule, Web Survey 0odule, and -dvanced
-nalysis 0odule. "he demo does not e.pire and you can create an unlimited number of surveys. 1ou may use
your o#n server or the $uest folder at http&NNtakesurvey.com to host your online survey.
6U!ST"4N 0 What are the system requirements for StatPacB
2NSW!$ &tat'ac "or (indows survey soft#are requires the follo#in$ environment&
P) #ith Windo#s D., (444, :", =P, or ;ista
0inimum (3Q0 +-0 memory
0inimum recommended )P8 speed& *44 0HP
%4 me$abytes of hard drive space
-ny printer
6U!ST"4N 8 I am havin$ trouble do#nloadin$ the soft#are. )an you send me a )DB
2NSW!$ We can send complimentary )Ds to the 8nited States and )anada.
6U!ST"4N 9 Ho# can I find out the serial number or version of my soft#areB
2NSW!$ "o determine #hich version of StatPac you have, run the soft#are and select Help H -bout StatPac
for Windo#s. 1ou can visit our updates pa$e to check for updated versions of the soft#are.
6U!ST"4N : What's the fastest #ay to learn StatPacB
2NSW!$ U +ead this tutorial. -lso look at the SampleISurvey that #as placed in the Data folder.
6U!ST"4N ; What kind of support do I $etB
2NSW!$ 1ou receive D4 days of free technical support #hen you purchase the packa$e. "his is sufficient to
learn to use the soft#are and conduct a couple of surveys. -fter that, you can purchase a yearly
supportNmaintenance a$reement or pay for each support call. Support is available by email, phone, or fa..
6U!ST"4N < Do I need previous research e.perience to create effective surveysB
2NSW!$ :o. StatPac can be used by anyone. 9ur technical support personnel #ill help you throu$h any
difficulties.
6U!ST"4N = Ho# much does StatPac costB
2NSW!$ It depends #hich modules you order.
Easic Statistics 0odule StatPac's basic statistics module includes study desi$n, data mana$ement, basic
statistical analyses, $raphics, and the statistics calculator. It #ill produce beautifully formatted frequency tables,
descriptive statistics, and crosstab and banner tables. 5VQD37
Web Survey 0odule "he #eb survey module includes study desi$n, data mana$ement, email list mana$ement,
a bulk email pro$ram, #eb survey desi$n, upload and do#nload capabilities, and the ability to e.port the data to
-ccess or to a tab or comma delimited te.t file. It does not include any analysis capabilities. 5V%D37
"echnical SupportN0aintenance -$reement :e# users receive technical support and updates for three months.
0ost users also purchase a technical supportNmaintenance a$reement #hich covers technical support and all
soft#are updates for one year. 5V'34 per year7. 8sers #ho do not purchase an a$reement may still receive
technical support 5V(3 per incident7.
Special )ombination 9ffer Purchase the basic statistics module, the #eb survey module, and a oneyear
technical supportNmaintenance a$reement for VDD3 5a savin$s of V*%37. "his special combination offer is only
available #hen all three are purchased to$ether. +e$ular prices apply if purchased separately.
-dvanced Statistics 0odule -ll the popular advanced multivariate statistical techniques are included in this
po#erful addon module. 0ost of our users do not need these advanced statistical procedures, but if you do
they're here for you. 5V%D37
-dditional Data 0ana$er Install Gust the data mana$er on a separate computer so multiple data entry people can
be enterin$ data simultaneously. Ideal for hi$h volume data entry. 5V'D3 for a sin$le user or VDD3 for unlimited
users7
Student ;ersion of StatPac for Windo#s "he student version is the same as the full version e.cept there is a
limit of '44 data records 5respondents7 per file. It includes the basic analysis module, #eb survey module, and the
advanced analyses module. "echnical support is not provided to users of the student version #ho have not also
purchased a oneyear technical supportNmaintenance a$reement. 5VD37
0ultiple 8ser N :et#ork N Site ,icense -$reement StatPac for Windo#s #ith a perpetual license for '4 users on
a net#ork or standalone computers. It includes the basic analysis module, #eb survey module, the advanced
analyses module, and one year of technical support. 5V(,%D37
Discounts and 8p$rades
-dditional )opies 34T discount on additional copies of all products e.cept the technical supportNmaintenance
a$reement.
-cademic L :onprofit 9r$aniPations '3T discount on all prices e.cept the student version and the technical
supportNmaintenance a$reement.
8p$rade from a Previous ;ersion of StatPac /ree if you have a current technical support a$reement. "echnical
support and up$rade costs depend on ho# lon$ a$o your support a$reement e.pired 5V'34V*347
)ompetitive 8p$rade Discount 1ou are eli$ible for a V'44 discount if up$radin$ from another survey soft#are
soft#are product.
6U!ST"4N > Ho# can I order StatPacB
2NSW!$ 1ou can purchase the soft#are online 5http&NN###.statpac.com7 or by callin$ us at 5R'37 %%(((Q'.
9ur business hours are D&44am to 3&44pm )entral "ime.
6U!ST"4N 7? Ho# many computers can I install the soft#are onB
2NSW!$ StatPac for Windo#s is licensed for use on a sin$le computer. We specifically $ive you permission to
install the soft#are on your office computer and your home computer or laptop. -dditional copies may be
purchased for half price.
6U!ST"4N 77 Ho# do I $et an up$rade for my copy StatPacB
2NSW!$ When you have a current technical support a$reement you'll be able to do#nload updates as they
become available. 1ou can order a support a$reement online, or by callin$ our office.
6U!ST"4N 70 Who is StatPac Inc.B
2NSW!$ In 'DRC StatPac Inc. became the first company in the #orld to offer survey soft#are for AmicroA
computers 5as they #ere called back then7. When IE0 released their first P), #e #ere the first company to offer
survey soft#are for it. Since its be$innin$, StatPac's soft#are has been enhanced, updated, and improved, so you
kno# it's #elltested and easy to use. 9ur customer list includes #ellkno#n companies from all sectors
5business, healthcare, education, $overnment, and social sciences7.
re5uently 2s)ed 6uestions
a+out an 4nline Sur#ey
'. Ho# does an online survey compare to traditional telephone and mail surveysB
(. What is typical response rates for an online surveyB
*. Who can complete an online surveyB
%. Ho# secure is my survey and my dataB
3. Do I need to install a Perl script on my serverB
Q. )an I do an email surveyB
R. What mail systems can I use to send email invitationsB
C. Ho# are responses collectedB
D. )an results be displayed in real timeB
'4. -fter I've done an analysis, can I make the results available onlineB
''. Ho# many surveys can I createB
'(. )an I keep track of #ho responded and #ho didn'tB
6U!ST"4N 7 Ho# does an online survey compare to traditional telephone and mail surveysB
2NSW!$ "he primary advanta$es of an online survey over traditional methods is cost and time.
"he only cost associated #ith the administration of an online survey is the time to prepare and analyPe the survey.
"here are no intervie#er or postal costs. "here are also no data entry costs because the data is captured
electronically.
-n online survey can be completed in a short time. - typical online survey lasts % to R days 5about the same as
telephone intervie#s7. 0ail surveys usually last several #eeks.
6U!ST"4N 0 What is a typical response rate for an online surveyB
2NSW!$ "he response rate for an online survey can be lo# or hi$h... Gust like mail surveys. If the potential
respondents are motivated, you #ill receive a hi$h response 5#e sa# an CRT response rate in one survey7.
We've also seen response rates near (T.
"he de$ree to #hich you can motivate potential respondents #ill determine your response rate. Sendin$ a
postcard via the postal service #ith the url to the survey has consistently produced response rates of less than
3T. Sendin$ email invitations to participate seems to #ork best. Incentives 5a dra#in$ for a priPe or access to a
free report, etc.7 al#ays increases response rate.
+esponse rates are also hi$hly affected by the len$th of the survey. Short surveys almost al#ays have hi$her
completion rates that lon$ surveys. 9n surveys e.ceedin$ a couple of pa$es 5#ith multiple questions per pa$e7,
#e have seen a QT to '4T dropout rate for each additional pa$e of questions.
"he bottom line is that you need to keep your online survey short and you need to do a $ood sales Gob in your
invitation. "hat is, you need to sell the potential respondent on #hy she should complete the survey.
6U!ST"4N 8 Who can complete an online surveyB
2NSW!$ -nyone #ho has a bro#ser #ith access to the internet can participate in an online survey. :o special
soft#are needs to be installed on respondents' computers.
If a potential respondent does not have internet access, they can still respond by mail, email, fa., or personal
intervie#. StatPac has a data mana$er to allo# manual entry of surveys completed by these methods.
6U!ST"4N 9 Ho# secure is my survey and my dataB
2NSW!$ In most cases, nobody #ill ever kno# you have a survey posted on your #eb site unless you tell them
it's there, or if you insert a link to it from one of your #eb pa$es. If you plan to send email invitations to potential
participants, then you probably don't have to #orry about people Gust stumblin$ across the survey.
StatPac installs a Perl script on your server to process the responses as they come in. "his script stores the data
in an -S)II file on your server. :o data ever leaves your server and no *rd parties are involved. 1ou have
complete and e.clusive control of the data you collect.
"here are several other security features you can use&
1ou can also use SS, 5Secure Sockets ,ayer7 to create more secure surveys. SS, #ill encrypt respondents
ans#ers #hile they are onroute to your server.
1ou can assi$n a pass#ord to the survey, so respondents #ill have to lo$ in usin$ that pass#ord.
1ou can assi$n individual pass#ords to potential respondents so they #ill have to lo$ in usin$ their o#n unique
pass#ord.
1ou can use cookies to stop a person from takin$ a survey more than once 5prevents stuffin$ the ballot bo.7.
1ou can use a respondent ID to eliminate any duplicates from the same respondent.
6U!ST"4N : Do I need to install a Perl script on my serverB
2NSW!$ 1es. StatPac #ill install and confi$ure the script for you. If you use your o#n server, it must be
capable of runnin$ a )2I script. Ho#ever, if you don't have a #eb site or don't #ant to install the Perl script on
your o#n server, you can use ours. We provide a free #eb hostin$ service for all StatPac users. 9ut free server is
http&NN###.takesurvey.com
6U!ST"4N ; )an I do an email surveyB
2NSW!$ When most people say they #ant to do an Aemail surveyA they mean that they #ant to send email
invitations to potential respondents #ith a link in the email that says A)lick here to take the surveyA. When the
respondent clicks the link, their bro#ser opens the survey #hich is posted on your #eb site. "his is the preferred
method for conductin$ an online survey because it $ives you the $reatest versatility and control.
Ho#ever, if your survey is short and does not use validity checkin$ or branchin$, you can send potential
respondents an email containin$ the survey itself. StatPac #ill create the survey portion of the email for you.
+espondent's #ould receive your email and click their +eply button to ans#er the survey.
6U!ST"4N < What mail systems can I use to send email invitationsB
2NSW!$ While you can use any email pro$ram to send invitations, StatPac has it's o#n builtin email
mana$ement system that $ives you capabilities far beyond most email systems. It #orks like a mailmer$e
pro$ram and enables you to personaliPe and serialiPe email invitations. It sends thousands of individualiPed e
mails per hours throu$h your S0"P email account.
Ho# can I find out the name of my S0"P host for sendin$ email in StatPacB
If you don't recall your S0"P host name, look at the setup of your email pro$ram. In 9utlook ?.press, select
"ools, -ccounts, 0ail, Properties, Servers. In ?udora, select "ools, 9ptions, Hosts. -lternatively, ask your ISP.
6U!ST"4N = Ho# are responses collectedB
2NSW!$ StatPac has t#o different methods of data collection. "he first is the file method. When a respondent
clicks the submit button 5or the continue button on a multiple pa$e survey7, their responses are stored in an -S)II
te.t file on your server. :o information leaves your server. - response file on your server 5#ith t#o respondents7
mi$ht look like this&
StatPacIID& (4R.%R.D*.(
+espondentIID& %D(Q%3(%
DateI"ime& "hursday, Kanuary 'Q, (44* at 'R&*%&(%
2ender& '
,ocation& *
-ttitude& 3
)omment& ,ooks real $oodS
button& )lick Here to /inish
StatPacIID& QQ.'*R.'%*.'R
+espondentIID& Q%*'*D*D
DateI"ime& 0onday, Kanuary (4, (44* at '4&(R&('
2ender& '
,ocation& *
-ttitude& *
)omment& Please $et in touch #ith me.
button& )lick Here to /inish
When the survey is completed 5or partially completed7 the results file can be do#nloaded to your #orkstation.
Durin$ the do#nload, the data is converted to a fi.ed record len$th -S)II te.t file #ith a carria$e return and line
feed at the end of each record... #hich is StatPac's internal data file structure.
"he second is the email method. "he email method can only be used on onepa$e surveys. When a respondent
clicks the submit button 5#hich is automatically placed at the end of the survey7, their ans#ers are sent to you in a
specially formatted email. "he contents of the incomin$ emails can be electronically captured and added to the
data file on your local computer.
6U!ST"4N > )an results be displayed in real timeB
2NSW!$ :o. StatPac does not perform realtime data analyses. When you #ant to do an analysis, you must
first do#nload the response file from your #eb site and import it into StatPac. "hen you perform the analysis on
the data.
6U!ST"4N 7? -fter I've done an analysis, can I make the results available onlineB
2NSW!$ 1es. -ll StatPac reports are rich te.t format. "his means they can be loaded directly into your #ord
processor 5e.$., 0S Word7 or they can be uploaded to your #eb site for vie#in$ #ith any bro#ser.
6U!ST"4N 77 Ho# many surveys can I createB
2NSW!$ 1ou can create an unlimited number of surveys. "he free version is limited to *3 respondents per
survey. "he re$istered version #ill handle an unlimited number of respondents.
6U!ST"4N 70 )an I keep track of #ho responded and #ho didn'tB
2NSW!$ 1es, StatPac can assi$n a unique respondent ID number to each person #ho receives an email
invitation. "his ID number is used to track #ho responded. +eminder emails can easily be sent to non
responders.
re5uently 2s)ed 6uestions
2nalysis
'. Ho# can I chan$e the appearance of the printoutsB
(. Ho# can I do an analysis on a sub$roup of the data 5e.$., Gust females7B
*. Ho# can I do an analysis on more than one sub$roupB
%. Ho# can I create $roups 5cate$ories7 for interval dataB
3. Ho# do I keep track of all the optionsB
Q. Ho# do I deal #ith the openended questionsB
R. Ho# can I $et the Input fields in the Data 0ana$er to line up properlyB
C. Ho# can I $et the Data 0ana$er to accept data for a particular variableB
D. Ho# can I do the same study a$ain #ith a ne# set of dataB
'4. Ho# can I create a ne# study that is similar 5not identical7 to a previous studyB
''. )an I chan$e the codebook and form after enterin$ some dataB
'(. Ho# can I import a fi.ed format sequential -S)II data file into StatPacB
'*. Ho# can I fi. a Aduplicate variableA error messa$eB
'%. Ho# do I combine data files so they can be analyPed to$etherB
'3. Ho# do I deal #ith an AotherA cate$oryB
6U!ST"4N 7 0y printouts are close to #hat I #ant, but not e.actly. What can I do to chan$e the #ay StatPac
#orksB
2NSW!$ 9ptions are used to control the #ay that StatPac formats reports. While usin$ the analysis procedure
file editor, move the cursor to the procedure you #ant to modify. Select 9ptions to evoke the 9ptions #indo#.
)han$e the desired option5s7 and click 9M.
6U!ST"4N 0 I #ant to perform an analysis usin$ Gust the female respondents. What line do I include in the
procedureB
2NSW!$ "o perform an analysis on a subset of data 5e.$., Gust the females7, use the S?,?)" command in the
same procedure as the analysis command. /or e.ample, if e( had been coded as 0<0ale and /</emale, the
command mi$ht be&
I/ Se.<A/A "H?: S?,?)"
/+?6 SomeI9therI;ariable
..
6uotation marks are used around the A/A because e( #as coded as an alpha variable. :umeric variables do not
need quotation marks around the selection criteria. /or e.ample, if e( had been coded as '<0ale and
(</emale, the command #ould be&
I/ S?=<( "H?: S?,?)"
/+?6 SomeI9therI;ariable
.
6U!ST"4N 8 I #ant to perform an analysis on respondents that make at least V(4,444 per year. What line do I
include in the procedureB
2NSW!$ "his is essentially the same as the previous problem. "he difference bein$ that #e're selectin$
multiple cate$ories, instead of Gust one. Suppose the )ncome variable is coded as&
'<8nder '4,444
(<'4,444 'D,DDD
*<(4,444 (D,DDD
%<*4,444 *D,DDD
3<%4,444 or more.
"o select respondents makin$ (4,444 or more, #e need to select response codes *, % and 3. -ny of the follo#in$
lines could be used to solve the problem&
I/ IncomeH( "H?: S?,?)"
I/ IncomeH<* "H?: S?,?)"
I/ IncomeH<* -:D IncomeJ<3 "H?: S?,?)"
I/ Income<* 9+ Income<% 9+ Income<3 "H?: S?,?)"
I/ Income<A*N%N3A "H?: S?,?)"
When usin$ the slash to indicate a series of 9+ statements 5last e.ample7, quotation marks are required for both
alpha and numerictype variables.
6U!ST"4N 9 I #ant to use an "ge variable as one of the points in a banner table, but a$e #as entered as the
actual a$e instead of bein$ coded into cate$ories. Ho# can I make it #ork in a banner tableB
2NSW!$ "here are many different solutions to this problem. In order to do this, you need to define a$e $roups.
"he first solution is to recode the "ge variable, and then assi$n value labels to the recoded data. "#o lines are
required.
+?)9D? -$e 5,9(4<'75('*4<(75*'%4<*75%'HI<%7
,-E?,S -$e 5'<8nder ('75(<('*475*<*'%475%<9ver %47
"he recoded and ne#ly labeled "ge variable could then be used in a banners or crosstabs table.
If you #anted access to both the ra# data and the recoded data, you could create a ne# variable and have it
contain the recoded a$e data. "his technique has the added advanta$e that the ori$inal data remains intact even
#hen the S-;? command is used. Here are three more solutions to this problem&
,?" -$e2roup<-$e
+?)9D? -$e2roup 5,9(4<'75('*4<(75*'%4<*75%'HI<%7
,-E?,S -$e2roup 5'<8nder ('75(<('*475*<*'%475%<9ver %47
..
)90P8"? 5:(7 -$e2roup<-$e
+?)9D? -$e2roup 5,9(4<'75('*4<(75*'%4<*75%'HI<%7
,-E?,S -$e2roup 5'<8nder ('75(<('*475*<*'%475%<9ver %47
...
:?W 5:'7 A-$e2roupA -$e 2roup
I/ -$eJ(' "H?: )90P8"? -$e2roup<'
I/ -$eH<(' -:D -$eJ<*4 "H?: )90P8"? -$e2roup<(
I/ -$eH<*' -:D -$eJ<%4 "H?: )90P8"? -$e2roup<A*A
I/ -$eH<%' "H?: )90P8"? -$e2roup<%
,-E?,S -$e2roup 5'<8nder ('75(<('*475*<*'%475%<9ver %47
..
6U!ST"4N : "here seem to be so many options for some of the analyses. Ho# do I keep them all strai$htB
2NSW!$ "his one's easy...you don't have to. "here are only a fe# options that have profound impact on the
#ay analyses are performed. "he default values for the options are sufficient for most applications. When in
doubt, first try runnin$ the procedure and make note of #hat you #ould like to chan$e. "hen select 9ptions to see
if the appropriate option is readily apparent. If not, use the online help to revie# the analysis. -fter you've found
the option you are lookin$ for, add it to the procedure to confirm that it does #hat you #ant. /inally, if this is
somethin$ you #ant to chan$e on all future analyses, add an e.clamation point suffi. to the option and rerun the
procedure. "his #ill make the current option settin$ the default and you #on't need to be concerned #ith that
option a$ain. -fter runnin$ a fe# procedures, you'll have confi$ured the default formats for StatPac to produce the
reports you most often use.
6U!ST"4N ; Ho# do I deal #ith the openended questionsB
2NSW!$ 1ou can do t#o thin$s #ith openended data. "he first is to Gust list the actual comments. 8se the
,IS" key#ord to sho# the actual verbatim te.t. If the variable #ere called *omments, the command #ould be&.
,IS" )omments
..
"he output from the procedure #ould print dashes for respondents #ho made no comment. "he I/"H?:
command could be used to limit the output to only those respondents #ho made a comment. "hese t#o
procedures #ould produce identical output. "he first one selects all records #here the *omments variable is not
blank. "he second one re+ects all records that are blank.
I/ )omments JH A A "H?: S?,?)"
,IS" )omments
..
I/ )omments < A A "H?: +?K?)"
,IS" )omments
..
-nother solution is to code the responses into cate$ories. +un /+?68?:)I?S on the openended comment and
set the 9? option equal to 1. "his #ill evoke StatPac's codin$ pro$ram 5;erbatim Elaster7. 1our procedure mi$ht
look like this&
/+ )omments
9P"I9:S 9?<1
StatPac's ;erbatim Elaster module is easy to use, but #ill be even easier if you first read about it in the manual.
1ou'll find complete information online under /+?68?:)I?S #ith the 9? option.
6U!ST"4N < I'm usin$ the Data 0ana$er and the pro$ram is actin$ $oofy 5thin$s are not linin$ up properly7.
What did I do #ron$B
2NSW!$ "he most likely problem is that the data entry form #as compiled on a different computer #ith a
different screen resolution. )lose StatPac. Delete the Acodebookname.frcA file. "hen run StatPac a$ain and the
problem #ill correct itself.
6U!ST"4N = I'm usin$ the Data 0ana$er and one of the data input fields #on't accept data even thou$h the
data is correct. Ho# do I fi. the problemB
2NSW!$ "he codebook is someho# limitin$ the data input for that variable. ?.amine the variable #ith the
;ariable Detail #indo# or the 2rid. )heck the valid codes. - common problem is #here the valid codes are lo#er
case, but the data entry control parameters have )aps ,ock set. :o matter #hat the data entry person types, it is
converted to upper case, and the only valid codes are defined as lo#er case. "o fi. the problem, either chan$e
the valid codes to upper case, or set )aps ,ock off. -nother common problem is havin$ defined a field as
numeric, #hen the data actually contains numbers and letters. /or e.ample, many internal ID codes use numbers
and letters. "he solution is to chan$e the format for the variable from A:A to A-A. -nother common problem is to
have defined some of the valid codes 5but not all of them7.
6U!ST"4N > I have finished analyPin$ a study and I #ant to do the same study a$ain #ith a ne# set of data.
Ho# can I do this #ithout retypin$ the study desi$nB
2NSW!$ If the ne# study uses e.actly the same variables, then the easiest #ay to do this is to rename the
e.istin$ data file to somethin$ else. /or e.ample, if you conducted a survey called A9pinionsA in (44( and you
#anted to do the same survey in (44*, you mi$ht rename the (44( data from A9pinions.datA to A9pinions
(44(.datA and then be$in enterin$ the ne# data. "o rename the old data file, select /ile, 9pen, Data /ile, and
ri$ht click on the file to be renamed.
If for some reason you #anted to analyPe the old data file, use the D-"- command to specify the old data file
5#ith a different name than the codebook7.
S"8D1 9pinions
D-"- 9pinions(44(
6U!ST"4N 7? I need to do a ne# study similar to a previous study, but some of the questions are different. Do I
have to retype all the study informationB
2NSW!$ :o. "here are t#o #ays to do this. "he first #ay is to first create a duplicate copy of the previous
codebook usin$ a ne# name. ,oad the codebook and then select /ile, Save )odebook, and $ive it a ne# name.
1ou can then modify the ne# codebook file. "he other #ay to do this is in the 2rid. ,oad the previous codebook
as a library 5select /ile, 9pen ,ibrary7 and you #ill be able to e.tract selected variables from the previous
codebook into the 2rid.
6U!ST"4N 77 I desi$ned a codebook and form and tried enterin$ a fe# data records and discovered that I need
to chan$e somethin$ in the study desi$n. Ho# can I do this after the data file already has dataB
2NSW!$ 9nce data has been entered into a data file, you can still chan$e any te.t in the codebook or data
mana$er form. 1ou can also chan$e the field #idth of any variable. If you chan$e the field #idth of a variable, the
associated data file #ill also be adGusted #hen you save the codebook..
Ho#ever, once a data file e.ists, you should not '7 add a ne# variable, (7 delete a variable, or *7 chan$e the
order of variables, because the data file #ould no lon$er match the revised codebook. When you load a codebook
that has an associated data file, StatPac #ill $ive you a #arnin$ that lets you turn off the buttons for these
operations. 51ou can turn off the #arnin$ by selectin$ /ormat, )odebook Safety, :o7.
If you don't need the data file 5e.$., it's Gust dummy test data7, simply delete the data file and then make the
desired chan$es to the codebook 1ou #ill also have to modify the data entry form because it does not
automatically reflect the chan$es in the codebook. "he easiest #ay to chan$e the form is to simply delete the
e.istin$ form and recreate it after the codebook has been modified. "o delete the form, select ?dit, Select -ll, and
then click the )ut button or select ?dit, )ut. 0ake the chan$es to the codebook #ith the ;ariable Detail #indo# or
the 2rid and then recreate the form.
If you have already entered a substantial number of real data records, and then discover you need to add a ne#
variable, you must run an analysis to create the ne# variable in both the study desi$n and data file. "he form
ho#ever, #ill not automatically be updated to reflect the ne# variable. "herefore, you must either delete the form
5see above7 and recreate it, or you can manually insert the ne# variable in the proper place of the form. - ne#
variable can be created by runnin$ a threeline procedure&
S"8D1 )odebook:ame
:?W 5/ormat7 A:e#I;ariableI:ameA :e# ;ariable ,abel
S-;?
..
/or e.ample, in a study called A+esearchA, you could create a ne# numeric t#ocolumn variable called Number,
#ith the follo#in$ commands&
S"8D1 +esearch
:?W 5:(7 A:umberA Special :e# ;ariable
S-;?
..
When you run the procedure, both the codebook and data #ill be updated to include the ne# Number variable.
"he ne# Number variable #ould be added to the end of the e.istin$ codebook. 1ou can insert the ne# variable in
the middle of the codebook by usin$ the W+I"? command instead of the S-;? command. If you had '44
variables in the codebook and you #anted the ne# Number variable to become the (Qth variable, the commands
#ould be&
S"8D1 +esearch
:?W 5:(7 A:umberA Special :e# ;ariable
W+I"? +esearch ;' ;(3 :umber ;(Q ;'44
..
"he above commands are AriskyA because a mistake in the W+I"? command mi$ht cause a loss of data. /or
e.ample, if you made a typo in the W+I"? command and inadvertently left out the number A3A, there #ould be a
loss of variables * throu$h (3 in both the codebook and data files&
W+I"? +esearch ;' ;( :umber ;(Q ;'44 5Ead7
- safer #ay is to use the W+I"? command to create a ne# codebook and data file rather than replacin$ the
e.istin$ file. "he follo#in$ procedure creates a ne# codebook and data file called +?S?-+)H(. "he ori$nal
codebook and data file #ill not be altered. 1ou could then create a data entry form for +?S?-+)H(&
S"8D1 +esearch
:?W 5:(7 A:umberA Special :e# ;ariable
W+I"? +esearch( ;' ;(3 :umber ;(Q ;'44
..
/or more information on creatin$ and savin$ ne# variables, see the :?W, ,?", )90P8"?, and W+I"?
commands.
6U!ST"4N 70 Ho# can I import a fi.ed format sequential -S)II data file into StatPacB
2NSW!$ Data files already in sequential -S)II fi.ed format do not usually need any conversion to be used by
StatPac. "he only requirement is that they have a .dat e.tension. /irst, desi$n a codebook #ith StatPac so that
the field #idths for each variable are e.actly the same as the data file you #ill be usin$. "hen copy the data file to
the same folder as the codebook and rename it so it has the same prefi. as the codebook and a .dat e.tension.
"hat's all there is to it.
-s a final check, you can run the utility pro$ram to check a codebook and data file for errors 5-nalysis, 8tilities,
)odebook, )heck )odebook and Data7. If no errors are reported, the len$th of each data record matches the
len$th defined by the codebook, and you can be assured that the codebook desi$n and data file #ill interface
properly.
If a data file is in any format other than fi.ed format sequential -S)II, you must use the import pro$ram to import
the file. "he import pro$ram #ill create a ne# data file and ne# codebook that best accommodates the format of
the data bein$ imported. 1ou could then add variable and value labelin$ to the codebook.
6U!ST"4N 78 I ran an analysis that creates ne# variables and found that some of the computations #ere
#ron$. I fi.ed the procedure and tried to rerun it but it keeps $ivin$ me a Aduplicate variableA messa$e.
2NSW!$ When you used the S-;? key#ord, the ne# variables #ere saved in the codebook and data file...even
thou$h the computations #ere not correct. When you try to rerun the procedure, StatPac thinks you are
attemptin$ to create more ne# variables #ith the same names. "o fi. the problem, comment out the :?W
key#ords by placin$ an apostrophe at the be$innin$ of the :?W lines. "hen rerun the procedure.
6U!ST"4N 79 I have data files that I #ant to mer$e to$ether. Ho# can I combine them into one file so that I can
analyPe them to$ether as one $roup of dataB
2NSW!$ When the data files contain identical variables in the same order, the data files can by Goined by a
process called concatenation. 8sually, the data files are another administration of the same survey to a different
$roup of people. "o mer$e the files, in the -nalysis pro$ram, select 8tilities, 0er$e, )oncatenate Data /iles. /or
e.ample, suppose you administered a consumer survey at three different shoppin$ malls. "he data file names are
0all'.dat, 0all(.dat, and 0all*.dat. "he codebook #as the same for all three surveys 50allSurvey.cod7.
In many studies, it may also be important to kno# #hich data file each record came from after the data is mer$ed.
/or e.ample, if the purpose of the study #ere to identify differences bet#een the shoppers at the different malls, it
#ould be important that the final mer$ed data file contained a variable that identified each respondent from 0all ',
( or *. If the ori$inal data files do not already contain a $roup identifier variable, it can be added by runnin$
procedures to create the ne# variable, assi$n value labels to it, and assi$n the appropriate value to each record in
the data files. "his must be done before concatenatin$ the data files. /or this e.ample, the procedures mi$ht be&
S"8D1 0allSurvey
D-"- 0all'
)90P8"? 5:'7 ,ocation < '
,-E?,S ,ocation 5'<0all '75(<0all (75*<0all *7
W+I"? /ile'
..
S"8D1 0allSurvey
D-"- 0all(
)90P8"? 5:'7 ,ocation < (
,-E?,S ,ocation 5'<0all '75(<0all (75*<0all *7
W+I"? /ile(
..
S"8D1 0allSurvey
D-"- 0all*
)90P8"? 5:'7 ,ocation < *
,-E?,S ,ocation 5'<0all '75(<0all (75*<0all *7
W+I"? /ile*
..
-fter runnin$ the three procedures, each data file #ould contain a ne# variable called ,ocation. "his variable
#ould have a value of ' for all the records in the /ile'.dat, ( for all the records in the /ile(.dat, and * for all the
records in the /ile*.dat.. "he data files could then be concatenated into a sin$le lar$e data file. 1ou #ould
concatenate /ile'.dat, /ile(.dat and /ile*.dat into a ne# data file called )ombined.dat. Subsequent analyses
could use the D-"- command to specify the concatenated data file as the one to be analyPed. -ll three
codebooks 5/ile'.cod, /ile(.cod and /ile*.cod7 #ould be identical, so you could use any of them in the S"8D1
command.
S"8D1 /ile'
D-"- )ombined
"he concatenation method of creatin$ a mer$ed data file is used only #hen the data files contain e.actly the
same variables in the same order.
9ften, subsequent administrations of a survey #ill contain revised and ne# questions. -lthou$h most of the
information is the same, small differences make it impossible to Gust use concatenation "he first step in mer$in$
this kind of data is to identify the variables that are common to both surveys. :e.t, run one or more procedures
usin$ the W+I"? key#ord to create subfiles that only consist of the common variables 5those variables that are
identical in each study7.
S"8D1 /irstStudy
W+I"? /ile' ;% ;( ;'( ;((
..
S"8D1 SecondStudy
W+I"? /ile( ;R ;( ;'3;(3
..
/inally, use concatenation to mer$e the data files. In this e.ample, you #ould mer$e /ile'.dat and /ile(.dat into a
ne# lar$er file called )ommon;ars.dat. 1ou could then perform the analysis on the combined data by be$innin$
the procedure file #ith these commands&
S"8D1 /ile'
D-"- )ommon;ars
"he other type of mer$e that StatPac can perform is for a matched pairs or preNpost type of e.periment. When t#o
or more data files represent the same individuals, but different variables, you should not use concatenation
Instead, you #ould use the 0?+2? key#ord. ?.amples are before and after surveys, client follo#up surveys,
etc. "he data files may contain the same or different variables. "he key point is that information on a particular
individual is in each data file.
If each data file contains e.actly the same number of records in the same order, you can use the 0?+2?
command to mer$e the files #ithout any additional steps. /or e.ample, suppose you have pretest and posttest
surveys for the same $roup of people and the records in the data files are in the same order 5i.e., the first record
in the Pre"est file is Kohn Kones, and the first record in the Post"est file is Kohn KonesW the second record in the
Pre"est file is 0ary Smith, and the second record in the Post"est file is 0ary Smith, etc.7. "he command to mer$e
the posttest data into the pretest data #ould be&
S"8D1 Pre"est
0?+2? Post"est
..
If the data files contain records that are not in the same order, or if there are not the same number of records in
each data file, then all the files must contain a unique ID variable that #ill allo# you to match up data in the files.
/irst you #ill have to sort all the files by the ID variable. It is 9M if a data file does not contain a matchin$ record
for each record in the other file5s7 5e.$., a respondent dropped out of the e.periment7. "hey Gust have to be in
ascendin$ sorted order. -n e.ample #ould be&
S"8D1 Pre"est
S9+" 5-7 ID
S-;?
..
S"8D1 Post"est
S9+" 5-7 ID
S-;?
..
-fter the data has been sorted, select -nalysis, 8tility, 0er$e, +estructureN0er$e to perform the mer$e usin$ ID
as the common variable. "hat is, the ID number #ill be used to match up the records from each data file. /or
more information on the mer$e utility pro$ram, see the 8tilities section of the online help.
6U!ST"4N 7: 9ne of the variables in my study has an AotherA cate$ory and a place for the respondent to #rite
in their ans#er. Ho# do I include this is the study desi$nB
2NSW!$ - variable in StatPac is a Apiece of informationA. In this question, you really have t#o pieces of
information, and thus, t#o variables. "he first variable is the one #ith the defined response codes. "he second is
the AotherA response.
/or e.ample, the follo#in$ question has four response cate$ories&
Who #ould you vote for to be the ne.t president of our clubB
'<Sally :elson
(<Kim /rench
*<Erenda Kohnson
%<9ther Specify& IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
"#o variables #ould be specified in the study desi$n to hold the information for this question. "he first variable
#ould be a numeric onecolumn variable, and the second #ould be an alpha variable 5about forty columns7. Skip
codes could be used to bypass the openended variable if ', (, or * is entered for the first variable.
'<Sally :elson W*
(<Kim /rench W*
*<Erenda Kohnson W*
%<9ther Specify& IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

###.statpac.com
StatPac is a re$istered trademark of StatPac Inc.
StatPac Inc
CQ4D ,yndale -ve. S. X(4D-
Eloomin$ton, 0: 33%(4
"el& 5R'37 %%(((Q'
/a.& 5R'37 %%(((Q(
admin!statpac.com