Introduction to Statistical Computing - Assignment 8 | STAT 321, Assignments of Statistics

Material Type: Assignment; Professor: Davenport; Class: INTRO TO STATISTICAL COMPUTING; Subject: Statistics; University: Virginia Commonwealth University; Term: Unknown 1989;

Typology: Assignments

Pre 2010

Uploaded on 02/10/2009

koofers-user-ex2
koofers-user-ex2 🇺🇸

5

(1)

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
STAT 321 - Assignment # 8
The two SAS data sets COMPANYA and COMPANYB, shown below, are on the L:-drive (look in the
usual place) and are available through the web site. Download these to your local SAS data library.
Company A Company B
OBS COMPANY TYPE AMOUNT OBS COMPANY TYPE AMOUNT
1 A SALES 2345 1 B EXPENSES 6673
2 A EXPENSES 1123 2 B SALES 10001
3 A EXPENSES 2239 3 B SALES 2392
4 A SALES 4994 4 B EXPENSES 4500
Write a SAS program that will combine the two data sets so that a PROC PRINT of the new data set looks
like the one shown below (all the variables and observations are shown).
COMPANY CATEGORY AMOUNT
A EXPENSES 1,123
A EXPENSES 2,239
B EXPENSES 4,500
B EXPENSES 6,673
A SALES 2,345
B SALES 2,392
A SALES 4,994
B SALES 10,001

Partial preview of the text

Download Introduction to Statistical Computing - Assignment 8 | STAT 321 and more Assignments Statistics in PDF only on Docsity!

STAT 321 - Assignment # 8

The two SAS data sets COMPANYA and COMPANYB , shown below, are on the L:-drive (look in the

usual place) and are available through the web site. Download these to your local SAS data library.

Company A Company B

OBS COMPANY TYPE AMOUNT OBS COMPANY TYPE AMOUNT

1 A SALES 2345 1 B EXPENSES 6673 2 A EXPENSES 1123 2 B SALES 10001 3 A EXPENSES 2239 3 B SALES 2392 4 A SALES 4994 4 B EXPENSES 4500

Write a SAS program that will combine the two data sets so that a PROC PRINT of the new data set looks

like the one shown below (all the variables and observations are shown).

COMPANY CATEGORY AMOUNT

A EXPENSES 1,

A EXPENSES 2,

B EXPENSES 4,

B EXPENSES 6,

A SALES 2,

B SALES 2,

A SALES 4,

B SALES 10,