*         I did get this model to work as a linear mixed-effects model:

(this model does work)
model<-lme(fixed=output~input+new.years.day+new.years.day.observed+mlk+ valentines+presidents.day+easter+mothers.day+memorial.day+fathers.day+
                                                        july4+july4.observed+labor.day+columbus.day+veterans.day+veterans.day.observed+thanksgiving.day+
                                                       christmas.observed+christmas.day+christmas.eve+new.years.eve,
                               data=input.dataset,
                              random=~input|WeekDay)




*         I also got this form of the nonlinear mixed-effects model to work:

(this model does work)
model<-nlme(output~input+new.years.day+new.years.day.observed+mlk+valentines+presidents.day+ easter+mothers.day+
                                             memorial.day+fathers.day+july4+july4.observed+labor.day+columbus.day+veterans.day+
                                             veterans.day.observed+thanksgiving.day+christmas.observed+christmas.day+christmas.eve+new.years.eve,
                      data= input.dataset.grouped.by.weekday,
                      fixed=list(input ~1),
                      random=input~1,
                      start=list(fixed=c(0.1)))




*         However as soon as I put in an additional fixed variable I once again get the backsolve error:

(this model does not work)
model<-nlme(output~input+new.years.day+new.years.day.observed+mlk+valentines+presidents.day+ easter+mothers.day+
                        memorial.day+fathers.day+july4+july4.observed+labor.day+columbus.day+veterans.day+
                        veterans.day.observed+thanksgiving.day+christmas.observed+christmas.day+christmas.eve+new.years.eve,
                      data= input.dataset.grouped.by.weekday,
                      fixed=list(input +new.years.day~1),
                      random=input~1,
                      start=list(fixed=c(0.1,0.1)))

with this I again get the error:

Error in MEEM(object, conLin, control$niterEM) :
  Singularity in backsolve at level 0, block 1




At this point I am wondering what is going on that is causing the error and what would need to be done to correct the error.


Thanks again for any help that can be provided.


Margo Law


This email may contain confidential and privileged infor...{{dropped:10}}

