BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
satish123
Fluorite | Level 6

Hi,

 

i got an error message while using method=type3 in proc mixed, saying that 'Error: Type 3 estimation is not available with this model.'.

i don't know what is the reason behind this error. well here i'm using Area under effective curve data and model was

 

proc mixed data=study.detectors7 method=type3;
classes sub trt;
model data= trt/ ddfm=sat;
random trt/type=FA0(2) sub=sub g;
repeated/group=trt sub=sub;
estimate 'T vs R' trt -1 1/cl alpha=0.1;
run;

 

version: SAS Enterprise guide 6.1

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

Here is the documentation for PROC MIXED. Click on the "PROC MIXED" statement and scroll down to the METHOD= option. There you will see

The METHOD=TYPEn specifications apply only to variance component models with no SUBJECT= effects and no REPEATED statement. 

 

The error occurs because your model includes a REPEATED statement and subject effects.

 

If you want to model the repeated and random effects, consider using METHOD=REML (the default) or METHOD=ML  (maximum likelihood).

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

Here is the documentation for PROC MIXED. Click on the "PROC MIXED" statement and scroll down to the METHOD= option. There you will see

The METHOD=TYPEn specifications apply only to variance component models with no SUBJECT= effects and no REPEATED statement. 

 

The error occurs because your model includes a REPEATED statement and subject effects.

 

If you want to model the repeated and random effects, consider using METHOD=REML (the default) or METHOD=ML  (maximum likelihood).

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 1714 views
  • 2 likes
  • 2 in conversation