Assignment Four: Test on Friday Oct 10th
This is an assignment that you should do, but don't bring your list file to the test . I am going to do the assignment too, and a good part of the test will be based on my list file, which will be provided.
In my public directory is a file called restaurant.dat. Get a copy with
cp /student/jbrunner/public/restaurant.dat .
Include the final period; it refers to your current directory. Here is a description of the data. The cases in the file are restaurants, and the variables are listed below. My variable names are given in CAPITAL LETTERS. Use my variable names. It will make the list file for the test look more familiar.
Make a command file that reads and labels the data (including variable labels, and value labels where appropriate). Run descriptives to obtain means, standard deviations, etc. of the quantitative variables. Run frequencies to get frequency distributions of the categorical variables (a variable may occur in both sets).
Perform a bunch of reasonable tests to answer questions you could ask of these data, LIMITED to t-tests, one-way
anova, scatterplots, correlation, simple regression, and chi-square tests
of independence. Don't hesitate to consider the creation of new variables.
For some of the analyses, you may consider OUTLOOK to be quantitative.