BookmarkSubscribeRSS Feed
morgodth
Calcite | Level 5

My company does 100% QC on all results programming.  My QC programmer are coming up with different results from a proc mixed (using to get estimates to calcuate a Spearman-Brown Prophecy, but that doesn't matter).  We could not figure out why so eventially I sent him my data set with only the relevent variables and the exact code I used [attached].

1) When I run the code I get a note that "Estimated G matrix is not positive definite." (not good!) and my intercept estimate is zero (0).

2) Whe my colleague runs the EXACT SAME code on the EXACT SAME data, he gets no error and an intercept estimate of 618.93.

 

I have no idea why!?!?

I sent the code and data to two more colleagues.  To add to frustration, one got my result and the other got my QC person's result.

 

We all have the same version of SAS (9.4), the same patch, and the same OS (windows).

Why would we be getting different results?

Why would it not be merging on my machine?

 

Code:

proc mixed data = JMdatii;
class MEMBER_MEMBERID;
model d_stf_score =;
random Int / subject = MEMBER_MEMBERID;
run;

 

 Attached:

(I tried to attach the data set, but kept geting an error.  If I figure out how to do it then I will in an updated post)

 

 

7 REPLIES 7
morgodth
Calcite | Level 5

the data set:

MEMBER_MEMBERID = subject ID

d_stf_score = a score from 0-100 for each subject

Reeza
Super User

Contact Tech support and include your data.

 

Without the data no one can really assist. 

 

I would double check the N of the data to make absolutely sure the same data is going in to each model. I assume each person is starting off from a SAS data set.

ballardw
Super User

Different hardware? Different math coprocessors can yield different results though usually small. BUT statistics work generates lots of these and accumulated differences may show.

 

Running on 32bit vs 64bit systems?

 

morgodth
Calcite | Level 5

I did contast SAS support, but thought I'd check here to see if anyone else had any ideas or different perspectives until SAS got back to me.  Same N, same data set, and in the output the same 201 patients going into each model.  It's really confusing.

 

We're all running on 64 bit and with the same HP laptops.

Reeza
Super User

Can you post the differing outputs?

To attach a dataset you can zip the file and upload it. Without data or results were throwing random guesses out. 

morgodth
Calcite | Level 5

I zipped the data (attached)

morgodth
Calcite | Level 5

output of the two programmers

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 7 replies
  • 2007 views
  • 0 likes
  • 3 in conversation