23.07.2013 Views

Fitting Curves and Surfaces Using SAS Software - ISS - University of ...

Fitting Curves and Surfaces Using SAS Software - ISS - University of ...

Fitting Curves and Surfaces Using SAS Software - ISS - University of ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Fitting</strong> <strong>Curves</strong> <strong>and</strong> <strong>Surfaces</strong> <strong>Using</strong> <strong>SAS</strong> <strong>S<strong>of</strong>tware</strong><br />

Version 1.1 (February 2007)<br />

Annex<br />

This annex describes the data sets used in the examples <strong>and</strong> the DATA step code required to read the data.<br />

In some cases, the raw data is also stored separately in a file <strong>of</strong> type .dat. (All files are assumed to be held in<br />

the directory C:\temp\sas\graph.)<br />

Data set name: melanoma<br />

Description: The data is taken from the Connecticut Tumour Registry, <strong>and</strong> represents age-adjusted numbers<br />

<strong>of</strong> melanoma incidences per 100,000 people for 37 years from 1936 to 1972. (Houghton, Flannery <strong>and</strong> Viola,<br />

1980).<br />

Program name: melanoma.sas<br />

libname sasgraph ‘c:\temp\sas\graph’;<br />

data sasgraph.melanoma;<br />

input Year Incidences @@;<br />

format year d4.0;<br />

format incidences d4.1;<br />

cards;<br />

1936 0.9 1937 0.8 1938 0.8 1939 1.3<br />

1940 1.4 1941 1.2 1942 1.7 1943 1.8<br />

1944 1.6 1945 1.5 1946 1.5 1947 2.0<br />

1948 2.5 1949 2.7 1950 2.9 1951 2.5<br />

1952 3.1 1953 2.4 1954 2.2 1955 2.9<br />

1956 2.5 1957 2.6 1958 3.2 1959 3.8<br />

1960 4.2 1961 3.9 1962 3.7 1963 3.3<br />

1964 3.7 1965 3.9 1966 4.1 1967 3.8<br />

1968 4.7 1969 4.4 1970 4.8 1971 4.8<br />

1972 4.8<br />

run;<br />

Information Systems Services Page 20 <strong>of</strong> 22<br />

Version 1.1 (Feb 2007) tut125.doc

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!