\documentclass{article}
\setlength{\oddsidemargin}{0.0in}
 \setlength{\textwidth}{6.5in}
\setlength{\textheight}{8.5in}
 \setlength{\topmargin}{0.0in}

\begin{document}
\Large

\begin{center}

        Psychology 406

        Computer Assignment \#1


\end{center}

Create you very own data set for practice:

\smallskip

Take 10 pennies and 10 dimes, shake them up, and throw them on the
floor.  Count the number of heads among the pennies and the number
of heads among the dimes.  Record the results on a sheet of paper.
Carry out this process 15 times, recording the same results each
time.  Now, go into another room and repeat the same procedure. When
done, your data should be recorded in the following form:

\bigskip

\begin{tabular}{cccccc}

 & ROOM a & & & ROOM b & \\

 Case & Pennies & Dimes & Case & Pennies & Dimes \\

1 & x & x & 16 & x & x \\

2 & x & x & 17 & x & x \\

3 & x & x & 18 & x & x \\

$\cdot$ & $\cdot$ & $\cdot$ & $\cdot$ & $\cdot$ & $\cdot$ \\

$\cdot$ & $\cdot$ & $\cdot$ & $\cdot$ & $\cdot$ & $\cdot$ \\

$\cdot$ & $\cdot$ & $\cdot$ & $\cdot$ & $\cdot$ & $\cdot$ \\



15 & x & x & 30 & x & x \\

\end{tabular}

\bigskip

The x's obviously refer to your own observations.  Note: if your
data are exactly the same as someone else's in class, you had better
start running now.

\bigskip

a) Create a SYSTAT file for your data that has 30 cases, and save it
on your own ``flash drive''.  Make sure you provide a variable for
``room'', which should be a character variable with the labels of
``a'' and ``b''.

\bigskip

b) In your SYSTAT file mentioned in (a), provide a variable for the
total number of heads for each of the 30 cases using the
transformation procedures available in the editor; also, provide a
variable for the difference between the number of heads for the
pennies and dimes.

\bigskip

c) List the contents of the SYSTAT file created in (b).

\bigskip

d) Using the GRAPH option:

\smallskip

(1) Give histograms and box-plots for each of your variables.

\smallskip

(2) Plot the number of pennies versus the number of dimes for each
room separately (use the BY command), and for the total sample.  In
the total sample, label the points by the room labels of ``a'' and
``b''.

\bigskip

e) Using the CROSSTABS module:

\smallskip

(1) Provide one-way frequency tables for each variable.

\smallskip

(2) For the total number of heads, create a two-way frequency table
of room $\times$ total number of heads.

\smallskip

(3) Repeat (1) and (2) for percents.

\bigskip

f) Using the DESCRIPTIVE STATISTICS module:

\smallskip

(1) Provide the basic descriptive statistics for all your variables
for each room separately (use the BY command), and for the total
sample.

\smallskip

(2) Provide stem-and-leaf diagrams for all your variables but just
for the total sample.




\end{document}
