Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • rct_minim error code - number of factors unchanged

    I have been using the command rct_minim from ssc in Stata 17. There are 2 treatment groups, and two prognostic factors (with 3 and 15 levels respectively). The code:
    rct_minim , filestub(trialname) nt(2) nf(2) nl(3 15) factnames(T1 T2) pchoice(a) p(1) showdet mchoice(thresh) limit(1)
    has always run before but today I encountered this error message "number of factors specified for this subject does not match number specified for previous subject" after submitting 13 for the second factor. The code hasn't changed and the log file confirms that the previous randomisation ran fine and only had two factors.

    Has anyone experienced this or does anyone know why it is occuring?

    Many thanks!


Working...
X