Hello everyone
I have a problem with 'type mismatch' (r(109)) when running stcrprep.
This is my initial stset command:
stset a_timevar, enter(time a_entrydate) f(event=1,2) id(id)
This seems to work. At least the st setting information looks as expected.
Then I run:
stcrprep, events(event) trans(1)
Now I get the following error:
stcrprep's delayed entry implementation is experimental
Use with caution.
type mismatch
r(109);
I do not think delayed entry is the problem, since I tried doing the same thing, but with origin(a_entrydate) instead of enter(time a_entrydate) in the initial stset command, resulting in the reduced but otherwise identical error message after running stcrprep:
type mismatch
r(109);
Does anyone know/have an idea what causes the 'type mismatch' ?
My Stata work is on an external server, so I cannot copy the code directly. Unfortunately. Of course I will provide further information if necessary for identifying the problem.
Thank you very much for any help,
Andreas Jensen
I have a problem with 'type mismatch' (r(109)) when running stcrprep.
This is my initial stset command:
stset a_timevar, enter(time a_entrydate) f(event=1,2) id(id)
This seems to work. At least the st setting information looks as expected.
Then I run:
stcrprep, events(event) trans(1)
Now I get the following error:
stcrprep's delayed entry implementation is experimental
Use with caution.
type mismatch
r(109);
I do not think delayed entry is the problem, since I tried doing the same thing, but with origin(a_entrydate) instead of enter(time a_entrydate) in the initial stset command, resulting in the reduced but otherwise identical error message after running stcrprep:
type mismatch
r(109);
Does anyone know/have an idea what causes the 'type mismatch' ?
My Stata work is on an external server, so I cannot copy the code directly. Unfortunately. Of course I will provide further information if necessary for identifying the problem.
Thank you very much for any help,
Andreas Jensen
Comment