Programming the statistical procedures from SAS

Different Proc Phreg results between 'in proc' statements and data step statements

Reply
N/A
Posts: 1

Different Proc Phreg results between 'in proc' statements and data step statements

Hi all,

I'm working intensively with PROC PHREG lately, and I've encountered the following issue : I created a data set to run PROC PHREG on,

I then used the proc's ability to run data step statements and ran the same exact data statements inside PROC PHREG. Strangely enough the results turned out different.

Why is this happening? I would gladly elaborate if anyone has a question. The results and code are below - first is the external file and then the in proc statement.

The results I got:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta name="Generator" content="SAS Software Version 9.3, see www.sas.com">

<meta http-equiv="Content-type" content="text/html; charset=windows-1252">

<title>SAS Output</title>

<style type="text/css">

<!--

.aftercaption

{

  background-color: #FAFBFE;

  border-spacing: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

  padding-top: 4pt;

}

.batch

{

  background-color: #FAFBFE;

  border: 1px solid #C1C1C1;

  border-collapse: separate;

  border-spacing: 1px;

  color: #000000;

  font-family: 'SAS Monospace', 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  padding: 7px;

}

.beforecaption

{

  background-color: #FAFBFE;

  border-spacing: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.body

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  margin-left: 8px;

  margin-right: 8px;

}

.bodydate

{

  background-color: #FAFBFE;

  border-spacing: 0px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  text-align: right;

  vertical-align: top;

  width: 100%;

}

.bycontentfolder

{

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: none;

  margin-left: 6pt;

}

.byline

{

  background-color: #FAFBFE;

  border-spacing: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.bylinecontainer

{

  background-color: #FAFBFE;

  border: 0px solid #000000;

  border-spacing: 1px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  width: 100%;

}

.caption

{

  background-color: #FAFBFE;

  border-spacing: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.cell

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.container

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.contentfolder

{

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: none;

  margin-left: 6pt;

}

.contentitem

{

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: none;

  margin-left: 6pt;

}

.contentproclabel

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.contentprocname

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.contents

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: decimal;

  margin-left: 8px;

  margin-right: 8px;

}

.contentsdate

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  width: 100%;

}

.contenttitle

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: italic;

  font-weight: bold;

}

.continued

{

  background-color: #FAFBFE;

  border-spacing: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

  text-align: left;

  width: 100%;

}

.data

{

  background-color: #FFFFFF;

  border-bottom-width: 1px;

  border-color: #C1C1C1;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.dataemphasis

{

  background-color: #FFFFFF;

  border-bottom-width: 1px;

  border-color: #C1C1C1;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.dataemphasisfixed

{

  background-color: #FFFFFF;

  border-bottom-width: 1px;

  border-color: #C1C1C1;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #000000;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.dataempty

{

  background-color: #FFFFFF;

  border-bottom-width: 1px;

  border-color: #C1C1C1;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.datafixed

{

  background-color: #FFFFFF;

  border-bottom-width: 1px;

  border-color: #C1C1C1;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  font-family: 'Courier New', Courier;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.datastrong

{

  background-color: #FFFFFF;

  border-bottom-width: 1px;

  border-color: #C1C1C1;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.datastrongfixed

{

  background-color: #FFFFFF;

  border-bottom-width: 1px;

  border-color: #C1C1C1;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #000000;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.date

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  width: 100%;

}

.document

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

a:link {

color:#0000FF

}

a:visited {

color:#800080

}

a:active {

color:#800080

}

.errorbanner

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.errorcontent

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.errorcontentfixed

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: 'Courier New', Courier;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.extendedpage

{

  background-color: #FAFBFE;

  border: 1pt solid #000000;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

  text-align: center;

}

.fatalbanner

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.fatalcontent

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.fatalcontentfixed

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: 'Courier New', Courier;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.folderaction

{

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: none;

  margin-left: 6pt;

}

.footer

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.footeremphasis

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.footeremphasisfixed

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.footerempty

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.footerfixed

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: 'Courier New', Courier;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.footerstrong

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.footerstrongfixed

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.frame

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.graph

{

  background-color: #FAFBFE;

  border: 1px solid #C1C1C1;

  border-collapse: separate;

  border-spacing: 1px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.header

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.headeremphasis

{

  background-color: #D8DBD3;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.headeremphasisfixed

{

  background-color: #D8DBD3;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #000000;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.headerempty

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.headerfixed

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: 'Courier New', Courier;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.headersandfooters

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.headerstrong

{

  background-color: #D8DBD3;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.headerstrongfixed

{

  background-color: #D8DBD3;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #000000;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.index

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.indexaction

{

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: none;

  margin-left: 6pt;

}

.indexitem

{

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: none;

  margin-left: 6pt;

}

.indexprocname

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.indextitle

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: italic;

  font-weight: bold;

}

.layoutcontainer

{

  border: 0px solid #000000;

  border-spacing: 30px;

}

.layoutregion

{

  border: 0px solid #000000;

  border-spacing: 30px;

}

.list

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: disc;

  text-align: left;

}

.list10

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: square;

  text-align: left;

}

.list2

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: circle;

  text-align: left;

}

.list3

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: square;

  text-align: left;

}

.list4

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: square;

  text-align: left;

}

.list5

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: square;

  text-align: left;

}

.list6

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: square;

  text-align: left;

}

.list7

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: square;

  text-align: left;

}

.list8

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: square;

  text-align: left;

}

.list9

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: square;

  text-align: left;

}

.listitem

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.listitem10

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.listitem2

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.listitem3

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.listitem4

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.listitem5

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.listitem6

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.listitem7

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.listitem8

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.listitem9

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.note

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.notebanner

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.notecontent

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.notecontentfixed

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: 'Courier New', Courier;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.output

{

  background-color: #FAFBFE;

  border: 1px solid #C1C1C1;

  border-collapse: separate;

  border-spacing: 1px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.pageno

{

  background-color: #FAFBFE;

  border-spacing: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

  text-align: right;

  vertical-align: top;

}

.pages

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: decimal;

  margin-left: 8px;

  margin-right: 8px;

}

.pagesdate

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  width: 100%;

}

.pagesitem

{

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  list-style-type: none;

  margin-left: 6pt;

}

.pagesproclabel

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.pagesprocname

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.pagestitle

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: italic;

  font-weight: bold;

}

.paragraph

{

  background-color: #FAFBFE;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  text-align: left;

}

.parskip

{

  border: 0px solid #000000;

  border-spacing: 0px;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.prepage

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  text-align: left;

}

.proctitle

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.proctitlefixed

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.rowfooter

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.rowfooteremphasis

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.rowfooteremphasisfixed

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.rowfooterempty

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.rowfooterfixed

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: 'Courier New', Courier;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.rowfooterstrong

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.rowfooterstrongfixed

{

  background-color: #EDF2F9;

  color: #000000;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.rowheader

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.rowheaderemphasis

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.rowheaderemphasisfixed

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: italic;

  font-weight: normal;

}

.rowheaderempty

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.rowheaderfixed

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: 'Courier New', Courier;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.rowheaderstrong

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.rowheaderstrongfixed

{

  background-color: #EDF2F9;

  border-bottom-width: 1px;

  border-color: #B0B7BB;

  border-left-width: 0px;

  border-right-width: 1px;

  border-style: solid;

  border-top-width: 0px;

  color: #112277;

  font-family: 'Courier New', Courier, monospace;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.systemfooter

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemfooter10

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemfooter2

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemfooter3

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemfooter4

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemfooter5

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemfooter6

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemfooter7

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemfooter8

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemfooter9

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.systemtitle

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systemtitle10

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systemtitle2

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systemtitle3

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systemtitle4

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systemtitle5

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systemtitle6

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systemtitle7

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systemtitle8

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systemtitle9

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: small;

  font-style: normal;

  font-weight: bold;

}

.systitleandfootercontainer

{

  background-color: #FAFBFE;

  border: 0px solid #000000;

  border-spacing: 1px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  width: 100%;

}

.table

{

  border-bottom-width: 0px;

  border-collapse: separate;

  border-color: #C1C1C1;

  border-left-width: 1px;

  border-right-width: 0px;

  border-spacing: 0px;

  border-style: solid;

  border-top-width: 1px;

}

.top_stacked_value

{

  padding-bottom: 1px;

}

.middle_stacked_value

{

  padding-top: 1px;

  padding-bottom: 1px;

}

.bottom_stacked_value

{

  padding-top: 1px;

}

.titleandnotecontainer

{

  background-color: #FAFBFE;

  border: 0px solid #000000;

  border-spacing: 1px;

  color: #000000;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  width: 100%;

}

.titlesandfooters

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.usertext

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

  text-align: left;

}

.warnbanner

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: bold;

}

.warncontent

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: Arial, 'Albany AMT', Helvetica, Helv;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.warncontentfixed

{

  background-color: #FAFBFE;

  color: #112277;

  font-family: 'Courier New', Courier;

  font-size: x-small;

  font-style: normal;

  font-weight: normal;

}

.l {text-align: left }

.c {text-align: center }

.r {text-align: right }

.d {text-align: right }

.j {text-align: justify }

.t {vertical-align: top }

.m {vertical-align: middle }

.b {vertical-align: bottom }

TD, TH {vertical-align: top }

.stacked_cell{padding: 0 }

-->

</style>

<script language="javascript" type="text/javascript">

<!--

function startup(){

}

function shutdown(){

}

//-->

</script>

</head>

<body onload="startup()" onunload="shutdown()" class="body">

<script language="javascript" type="text/javascript">

<!--

var _info = navigator.userAgent

var _ie = (_info.indexOf("MSIE") > 0

          && _info.indexOf("Win") > 0

          && _info.indexOf("Windows 3.1") < 0);

var _ie64 = _info.indexOf("x64") > 0

//-->

</script>

<div class="branch">

<a name="IDX"></a>

<table class="systitleandfootercontainer" width="100%" cellspacing="1" cellpadding="1" rules="none" frame="void" border="0" summary="Page Layout">

<tr>

<td class="c systemtitle">The SAS System</td>

</tr>

</table><br>

<div class="c proctitle">The PHREG Procedure</div>

<p>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Model Information">

<colgroup>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="2" scope="colgroup">Model Information</th>

</tr>

</thead>

<tbody>

<tr>

<th class="l rowheader" scope="row">Data Set</th>

<td class="l data">ADPTDEF.CURRENT_DEFECTION_MODEL_PHREG</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Dependent Variable</th>

<td class="l data">def_from_adopt</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Censoring Variable</th>

<td class="l data">Ever_def</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Censoring Value(s)</th>

<td class="l data">0</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Ties Handling</th>

<td class="l data">BRESLOW</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX1"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Number of Observations">

<colgroup>

<col>

<col>

</colgroup>

<tbody>

<tr>

<th class="l stacked_cell rowheader" scope="row"><table width="100%" border="0" cellpadding="5" cellspacing="0">

<tr>

<td class="l rowheader top_stacked_value" scope="row">Number of Observations Read</td>

</tr>

<tr>

<td class="l rowheader bottom_stacked_value" scope="row">Number of Observations Used</td>

</tr>

</table></th>

<td class="r stacked_cell data"><table width="100%" border="0" cellpadding="5" cellspacing="0">

<tr>

<td class="r data top_stacked_value">275334</td>

</tr>

<tr>

<td class="r data bottom_stacked_value">275334</td>

</tr>

</table></td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX2"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Summary of Event and Censored Observations">

<colgroup>

<col>

<col>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="4" scope="colgroup">Summary of the Number of Event and Censored<br>Values</th>

</tr>

<tr>

<th class="r b header" scope="col">Total</th>

<th class="r b header" scope="col">Event</th>

<th class="r b header" scope="col">Censored</th>

<th class="r b header" scope="col">Percent<br>Censored</th>

</tr>

</thead>

<tbody>

<tr>

<td class="r data">275334</td>

<td class="r data">161471</td>

<td class="r data">113863</td>

<td class="r data">41.35</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX3"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Convergence Status">

<colgroup>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" scope="col">Convergence Status</th>

</tr>

</thead>

<tbody>

<tr>

<td class="c data">Convergence criterion (GCONV=1E-8) satisfied.</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX4"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Model Fit Statistics">

<colgroup>

<col>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="3" scope="colgroup">Model Fit Statistics</th>

</tr>

<tr>

<th class="l b header" scope="col">Criterion</th>

<th class="r b header" scope="col">Without<br>Covariates</th>

<th class="r b header" scope="col">With<br>Covariates</th>

</tr>

</thead>

<tbody>

<tr>

<th class="l rowheader" scope="row">-2 LOG L</th>

<td class="r data">3821122.8</td>

<td class="r data">3805126.4</td>

</tr>

<tr>

<th class="l rowheader" scope="row">AIC</th>

<td class="r data">3821122.8</td>

<td class="r data">3805134.4</td>

</tr>

<tr>

<th class="l rowheader" scope="row">SBC</th>

<td class="r data">3821122.8</td>

<td class="r data">3805174.4</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX5"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Test of Global Null Hypothesis">

<colgroup>

<col>

<col>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="4" scope="colgroup">Testing Global Null Hypothesis: BETA=0</th>

</tr>

<tr>

<th class="l b header" scope="col">Test</th>

<th class="r b header" scope="col">Chi-Square</th>

<th class="r b header" scope="col">DF</th>

<th class="r b header" scope="col">Pr &gt; ChiSq</th>

</tr>

</thead>

<tbody>

<tr>

<th class="l rowheader" scope="row">Likelihood Ratio</th>

<td class="r data">15996.3491</td>

<td class="r data">4</td>

<td class="r data">&lt;.0001</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Score</th>

<td class="r data">25215.3257</td>

<td class="r data">4</td>

<td class="r data">&lt;.0001</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Wald</th>

<td class="r data">23230.6354</td>

<td class="r data">4</td>

<td class="r data">&lt;.0001</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX6"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Maximum Likelihood Estimates of Model Parameters">

<colgroup>

<col>

</colgroup>

<colgroup>

<col>

<col>

<col>

<col>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="7" scope="colgroup">Analysis of Maximum Likelihood Estimates</th>

</tr>

<tr>

<th class="l b header" scope="col">Parameter</th>

<th class="r b header" scope="col">DF</th>

<th class="r b header" scope="col">Parameter<br>Estimate</th>

<th class="r b header" scope="col">Standard<br>Error</th>

<th class="r b header" scope="col">Chi-Square</th>

<th class="r b header" scope="col">Pr &gt; ChiSq</th>

<th class="r b header" scope="col">Hazard<br>Ratio</th>

</tr>

</thead>

<tbody>

<tr>

<th class="l rowheader" scope="row">EXP_ADOPTERS_ADJ</th>

<td class="r data">1</td>

<td class="r data">0.48386</td>

<td class="r data">0.00707</td>

<td class="r data">4679.2997</td>

<td class="r data">&lt;.0001</td>

<td class="r data">1.622</td>

</tr>

<tr>

<th class="l rowheader" scope="row">AVG_TS_ADOPTERS_ADJ</th>

<td class="r data">1</td>

<td class="r data">0.00715</td>

<td class="r data">0.0005472</td>

<td class="r data">170.6925</td>

<td class="r data">&lt;.0001</td>

<td class="r data">1.007</td>

</tr>

<tr>

<th class="l rowheader" scope="row">AVG_HOM_ADPT_ADJ</th>

<td class="r data">1</td>

<td class="r data">1.49139</td>

<td class="r data">0.01844</td>

<td class="r data">6538.1963</td>

<td class="r data">&lt;.0001</td>

<td class="r data">4.443</td>

</tr>

<tr>

<th class="l rowheader" scope="row">AVG_DEG_ADPT_ADJ</th>

<td class="r data">1</td>

<td class="r data">0.00855</td>

<td class="r data">0.0003126</td>

<td class="r data">748.9778</td>

<td class="r data">&lt;.0001</td>

<td class="r data">1.009</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

</div>

<div class="branch">

<p style="page-break-after: always;"><br></p><hr size="3">

<a name="IDX7"></a>

<table class="systitleandfootercontainer" width="100%" cellspacing="1" cellpadding="1" rules="none" frame="void" border="0" summary="Page Layout">

<tr>

<td class="c systemtitle">The SAS System</td>

</tr>

</table><br>

<div class="c proctitle">The PHREG Procedure</div>

<p>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Model Information">

<colgroup>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="2" scope="colgroup">Model Information</th>

</tr>

</thead>

<tbody>

<tr>

<th class="l rowheader" scope="row">Data Set</th>

<td class="l data">ADPTDEF.CURRENT_DEFECTION_MODEL_1</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Dependent Variable</th>

<td class="l data">def_from_adopt</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Censoring Variable</th>

<td class="l data">Ever_def</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Censoring Value(s)</th>

<td class="l data">0</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Ties Handling</th>

<td class="l data">BRESLOW</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX8"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Number of Observations">

<colgroup>

<col>

<col>

</colgroup>

<tbody>

<tr>

<th class="l stacked_cell rowheader" scope="row"><table width="100%" border="0" cellpadding="5" cellspacing="0">

<tr>

<td class="l rowheader top_stacked_value" scope="row">Number of Observations Read</td>

</tr>

<tr>

<td class="l rowheader bottom_stacked_value" scope="row">Number of Observations Used</td>

</tr>

</table></th>

<td class="r stacked_cell data"><table width="100%" border="0" cellpadding="5" cellspacing="0">

<tr>

<td class="r data top_stacked_value">275334</td>

</tr>

<tr>

<td class="r data bottom_stacked_value">275334</td>

</tr>

</table></td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX9"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Summary of Event and Censored Observations">

<colgroup>

<col>

<col>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="4" scope="colgroup">Summary of the Number of Event and Censored<br>Values</th>

</tr>

<tr>

<th class="r b header" scope="col">Total</th>

<th class="r b header" scope="col">Event</th>

<th class="r b header" scope="col">Censored</th>

<th class="r b header" scope="col">Percent<br>Censored</th>

</tr>

</thead>

<tbody>

<tr>

<td class="r data">275334</td>

<td class="r data">161471</td>

<td class="r data">113863</td>

<td class="r data">41.35</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX10"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Convergence Status">

<colgroup>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" scope="col">Convergence Status</th>

</tr>

</thead>

<tbody>

<tr>

<td class="c data">Convergence criterion (GCONV=1E-8) satisfied.</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX11"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Model Fit Statistics">

<colgroup>

<col>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="3" scope="colgroup">Model Fit Statistics</th>

</tr>

<tr>

<th class="l b header" scope="col">Criterion</th>

<th class="r b header" scope="col">Without<br>Covariates</th>

<th class="r b header" scope="col">With<br>Covariates</th>

</tr>

</thead>

<tbody>

<tr>

<th class="l rowheader" scope="row">-2 LOG L</th>

<td class="r data">3821122.8</td>

<td class="r data">3819732.8</td>

</tr>

<tr>

<th class="l rowheader" scope="row">AIC</th>

<td class="r data">3821122.8</td>

<td class="r data">3819740.8</td>

</tr>

<tr>

<th class="l rowheader" scope="row">SBC</th>

<td class="r data">3821122.8</td>

<td class="r data">3819780.7</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX12"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Test of Global Null Hypothesis">

<colgroup>

<col>

<col>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="4" scope="colgroup">Testing Global Null Hypothesis: BETA=0</th>

</tr>

<tr>

<th class="l b header" scope="col">Test</th>

<th class="r b header" scope="col">Chi-Square</th>

<th class="r b header" scope="col">DF</th>

<th class="r b header" scope="col">Pr &gt; ChiSq</th>

</tr>

</thead>

<tbody>

<tr>

<th class="l rowheader" scope="row">Likelihood Ratio</th>

<td class="r data">1389.9997</td>

<td class="r data">4</td>

<td class="r data">&lt;.0001</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Score</th>

<td class="r data">1222.3065</td>

<td class="r data">4</td>

<td class="r data">&lt;.0001</td>

</tr>

<tr>

<th class="l rowheader" scope="row">Wald</th>

<td class="r data">1213.7299</td>

<td class="r data">4</td>

<td class="r data">&lt;.0001</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

<a name="IDX13"></a>

<div>

<div align="center">

<table class="table" cellspacing="0" cellpadding="5" rules="all" frame="box" bordercolor="#C1C1C1" summary="Procedure Phreg: Maximum Likelihood Estimates of Model Parameters">

<colgroup>

<col>

</colgroup>

<colgroup>

<col>

<col>

<col>

<col>

<col>

<col>

</colgroup>

<thead>

<tr>

<th class="c b header" colspan="7" scope="colgroup">Analysis of Maximum Likelihood Estimates</th>

</tr>

<tr>

<th class="l b header" scope="col">Parameter</th>

<th class="r b header" scope="col">DF</th>

<th class="r b header" scope="col">Parameter<br>Estimate</th>

<th class="r b header" scope="col">Standard<br>Error</th>

<th class="r b header" scope="col">Chi-Square</th>

<th class="r b header" scope="col">Pr &gt; ChiSq</th>

<th class="r b header" scope="col">Hazard<br>Ratio</th>

</tr>

</thead>

<tbody>

<tr>

<th class="l rowheader" scope="row">Exp_Adopters_adj</th>

<td class="r data">1</td>

<td class="r data" nowrap>-0.20430</td>

<td class="r data">0.00816</td>

<td class="r data">627.1456</td>

<td class="r data">&lt;.0001</td>

<td class="r data">0.815</td>

</tr>

<tr>

<th class="l rowheader" scope="row">AVG_TS_Adopters_adj</th>

<td class="r data">1</td>

<td class="r data" nowrap>-0.00660</td>

<td class="r data">0.0006077</td>

<td class="r data">117.8967</td>

<td class="r data">&lt;.0001</td>

<td class="r data">0.993</td>

</tr>

<tr>

<th class="l rowheader" scope="row">AVG_HOM_ADPT_adj</th>

<td class="r data">1</td>

<td class="r data">0.05758</td>

<td class="r data">0.02038</td>

<td class="r data">7.9841</td>

<td class="r data">0.0047</td>

<td class="r data">1.059</td>

</tr>

<tr>

<th class="l rowheader" scope="row">AVG_DEG_ADPT_adj</th>

<td class="r data">1</td>

<td class="r data" nowrap>-0.00345</td>

<td class="r data">0.0004089</td>

<td class="r data">71.2488</td>

<td class="r data">&lt;.0001</td>

<td class="r data">0.997</td>

</tr>

</tbody>

</table>

</div>

</div>

<br>

</div>

</body>

</html>

ods html file='testing output from data step made variables and in proc made variables.html';

proc phreg data=Adptdef.current_defection_model_phreg;

model

  def_from_adopt*Ever_def(0) =

  Exp_Adopters_adj

  AVG_TS_Adopters_adj

  AVG_HOM_ADPT_adj

  AVG_DEG_ADPT_adj;

run;

proc phreg data=Adptdef.current_defection_model_1;

model

  def_from_adopt*Ever_def(0) =

  Exp_Adopters_adj

  AVG_TS_Adopters_adj

  AVG_HOM_ADPT_adj

  AVG_DEG_ADPT_adj;

array Exp_adopt_adj_ (67) Exp_adopt_adj_01 - Exp_adopt_adj_67; /* aviad : define 1-67 as a group called 'Exp_adopt_adj_' */

array AVG_TS_adopt_adj_ {67} AVG_TS_adopt_adj_1 - AVG_TS_adopt_adj_67;

array exp_def_adj_ {67} exp_def_adj_01 - exp_def_adj_67;

array AVG_TS_Def_adj_ {67} AVG_TS_Def_adj_1 - AVG_TS_Def_adj_67;

array TS_DEF_ADJ_{67} TS_DEF_ADJ_01 - TS_DEF_ADJ_67;

array TS_ADOPT_ADJ_{67} TS_ADOPT_ADJ_01 - TS_ADOPT_ADJ_67;

array AVG_HOM_DEF_adj_ {67} AVG_HOM_DEF_adj_01 - AVG_HOM_DEF_adj_67;

array AVG_HOM_ADPT_adj_ {67} AVG_HOM_ADPT_adj_01 - AVG_HOM_ADPT_adj_67;

array AVG_DEG_DEF_adj_ {67} AVG_DEG_DEF_adj_01 - AVG_DEG_DEF_adj_67;

array AVG_DEG_ADPT_adj_ {67} AVG_DEG_ADPT_adj_01 - AVG_DEG_ADPT_adj_67;

array NE_POP_ACTIVE_adj_ {67} NE_POP_ACTIVE_1 - NE_POP_ACTIVE_67;

/* populating the explanatory variables with the current period data */

  EXP_ADOPTERS_ADJ = coalesce(EXP_ADOPT_ADJ_[DEF_FROM_ADOPT],0);

  AVG_TS_ADOPTERS_ADJ = coalesce(AVG_TS_ADOPT_ADJ_[DEF_FROM_ADOPT],0);

  EXP_DEFECTORS_ADJ = coalesce(EXP_DEF_ADJ_[DEF_FROM_ADOPT],0);

  AVG_TS_DEFECTORS_ADJ = coalesce(AVG_TS_DEF_ADJ_[DEF_FROM_ADOPT],0);

  TS_DEFECTORS_ADJ = coalesce(TS_DEF_ADJ_[DEF_FROM_ADOPT],0);

  TS_ADOPTERS_ADJ = coalesce(TS_ADOPT_ADJ_[DEF_FROM_ADOPT],0);

  AVG_HOM_DEF_ADJ = coalesce(AVG_HOM_DEF_ADJ_[DEF_FROM_ADOPT],0);

  AVG_HOM_ADPT_ADJ = coalesce(AVG_HOM_ADPT_ADJ_[DEF_FROM_ADOPT],0);

  AVG_DEG_DEF_ADJ = coalesce(AVG_DEG_DEF_ADJ_[DEF_FROM_ADOPT],0);

  AVG_DEG_ADPT_ADJ = coalesce(AVG_DEG_ADPT_ADJ_[DEF_FROM_ADOPT],0);

  NE_POP_ACTIVE_ADJ = coalesce(NE_POP_ACTIVE_ADJ_[DEF_FROM_ADOPT],0);

run;

ods html close;

Grand Advisor
Posts: 16,908

Re: Different Proc Phreg results between 'in proc' statements and data step statements

What happens when you remove

AVG_TS_Adopters_adj

from both models and re-run?

Also check the code for spelling mistakes/missing _ 's.

Ask a Question
Discussion stats
  • 1 reply
  • 115 views
  • 0 likes
  • 2 in conversation