<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Read Access Violation in Task [Logistic] in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Read-Access-Violation-in-Task-Logistic/m-p/44145#M1942</link>
    <description>I just searched SAS tech support for &lt;BR /&gt;
"read access violation" logistic&lt;BR /&gt;
and found a note (6731) that fits my original suspicion.  You are running out of memory.&lt;BR /&gt;
&lt;BR /&gt;
The strata creates a multiplier in the memory usage (see the "Computational Resources" section of the LOGISTIC documentation).</description>
    <pubDate>Sat, 23 Jan 2010 14:46:06 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2010-01-23T14:46:06Z</dc:date>
    <item>
      <title>Read Access Violation in Task [Logistic]</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Read-Access-Violation-in-Task-Logistic/m-p/44143#M1940</link>
      <description>Hi all&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to analyse a finely-stratified nested case-control study, using proc logistic with a stratify condition. The data are 38 cases (scuba dives) made by 11 divers, Versus 159 controls (scuba dives made in the same place at the same time as at least one case) by 34 divers.&lt;BR /&gt;
&lt;BR /&gt;
The strata are the dive location and time (dive number 1 to whatever, 44 I think from memory)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
But.. when I run the program the log shows this:&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
217  proc logistic desc;&lt;BR /&gt;
218  where TPCC=1;&lt;BR /&gt;
219  class ExceedLimits Certification2 ;&lt;BR /&gt;
220  MODEL ExceedLimits = Age Sex2 Certification2 NumYears TimeSinceLast maxd / SELECTION=B&lt;BR /&gt;
220! hier=single DETAILS clodds=wald;&lt;BR /&gt;
221  strata DiveNum;&lt;BR /&gt;
222  RUN;&lt;BR /&gt;
&lt;BR /&gt;
ERROR:  Read Access Violation In Task [ LOGISTIC )&lt;BR /&gt;
Exception occurred at (540E1BC7)&lt;BR /&gt;
Task Traceback&lt;BR /&gt;
Address   Frame     (DBGHELP API Version 4.0 rev 5)&lt;BR /&gt;
540E1BC7  06B1EC00  saslogis:mcn_main+0x90BC7&lt;BR /&gt;
5407C336  06B1ECEC  saslogis:mcn_main+0x2B336&lt;BR /&gt;
54065BA3  06B1ED78  saslogis:mcn_main+0x14BA3&lt;BR /&gt;
5405B22F  06B1F0A0  saslogis:mcn_main+0xA22F&lt;BR /&gt;
540D98F7  06B1FF88  saslogis:mcn_main+0x888F7&lt;BR /&gt;
01232B02  06B1FFA0  sashost:Main+0xBE72&lt;BR /&gt;
01236C10  06B1FFB4  sashost:Main+0xFF80&lt;BR /&gt;
7C80B729  06B1FFEC  kernel32:GetModuleFileNameA+0x1BA&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
NOTE: There were 197 observations read from the data set WORK.PHD.&lt;BR /&gt;
      WHERE TPCC=1;&lt;BR /&gt;
NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;BR /&gt;
      real time           0.04 seconds&lt;BR /&gt;
      cpu time            0.04 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
When I remove the stratum statement the logistic procedure works just fine. 195 of 197 dives are included and 2 not included due to missing values.&lt;BR /&gt;
&lt;BR /&gt;
Anyone have any idea why it runs with no stratum statement but doesn't when I try conditional logistic regression?  Could it be because two of the divers made 23 of the dives between them and the rest made just one or two dives each?&lt;BR /&gt;
&lt;BR /&gt;
If so, maybe I should just go with an unconditional regression, and note that effects may be underestimated?&lt;BR /&gt;
&lt;BR /&gt;
Cheers&lt;BR /&gt;
&lt;BR /&gt;
Peter Buzzacott&lt;BR /&gt;
Western Australia</description>
      <pubDate>Thu, 21 Jan 2010 12:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Read-Access-Violation-in-Task-Logistic/m-p/44143#M1940</guid>
      <dc:creator>PeterBuzzacott</dc:creator>
      <dc:date>2010-01-21T12:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read Access Violation in Task [Logistic]</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Read-Access-Violation-in-Task-Logistic/m-p/44144#M1941</link>
      <description>Hmmm...&lt;BR /&gt;
&lt;BR /&gt;
Even though I suspect there is nothing wrong with importing the data from an Excel spreadsheet, because the conditional regression works if I change outcome variables, I inputed the data using "cards" and columns of values.&lt;BR /&gt;
&lt;BR /&gt;
I got exactly the same error message and then when I deleted the strata statement the unconditional regression again worked fine.&lt;BR /&gt;
&lt;BR /&gt;
I've checked and there isn't anything obviously unusual with the data, like all the strata have at least one case and one control in them, etc.&lt;BR /&gt;
&lt;BR /&gt;
I've searched the Help file and can't find any reference to "Read Access Violation ...". Does anyone know what that means?&lt;BR /&gt;
&lt;BR /&gt;
Peter</description>
      <pubDate>Sat, 23 Jan 2010 02:58:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Read-Access-Violation-in-Task-Logistic/m-p/44144#M1941</guid>
      <dc:creator>PeterBuzzacott</dc:creator>
      <dc:date>2010-01-23T02:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Read Access Violation in Task [Logistic]</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Read-Access-Violation-in-Task-Logistic/m-p/44145#M1942</link>
      <description>I just searched SAS tech support for &lt;BR /&gt;
"read access violation" logistic&lt;BR /&gt;
and found a note (6731) that fits my original suspicion.  You are running out of memory.&lt;BR /&gt;
&lt;BR /&gt;
The strata creates a multiplier in the memory usage (see the "Computational Resources" section of the LOGISTIC documentation).</description>
      <pubDate>Sat, 23 Jan 2010 14:46:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Read-Access-Violation-in-Task-Logistic/m-p/44145#M1942</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-01-23T14:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Read Access Violation in Task [Logistic]</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Read-Access-Violation-in-Task-Logistic/m-p/44146#M1943</link>
      <description>Thanks Doc@Duke&lt;BR /&gt;
&lt;BR /&gt;
I thought you might be right so I loaded SAS onto my more powerful home PC, re-ran the regression and got the same error message, but then the guy I share a desk with asked me why I was including the strata variable in the class statement when, actually, the strata are the chronological order in which the data were collected and, so, are ordinal.&lt;BR /&gt;
&lt;BR /&gt;
I took the strata variable DivNum out of the class statement and voila... it works.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again - at last... the end is in sight.&lt;BR /&gt;
&lt;BR /&gt;
Peter Buzzacott&lt;BR /&gt;
Final stage of a PhD</description>
      <pubDate>Mon, 25 Jan 2010 07:08:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Read-Access-Violation-in-Task-Logistic/m-p/44146#M1943</guid>
      <dc:creator>PeterBuzzacott</dc:creator>
      <dc:date>2010-01-25T07:08:40Z</dc:date>
    </item>
  </channel>
</rss>

