Re: Error model
From: Nick Holford
Subject:Re: [NMusers] Error model
Date:Fri, 11 Apr 2003 13:28:36 +1200
Toufigh,
Its very hard to offer advice when you give no clue to the kind of problem you are having.
I would start with something like this:
$ERROR
;assumes log transformed prediction is Y1 and none transformed is Y2
IF (PKONE.EQ.1) THEN ; log transformed DV
Y=LOG(Y1) + ERR(1)
ENDIF
IF (PKONE.EQ.0) THEN ; none transformed DV
Y=Y2*(1+ERR(1))
ENDIF
Nick