Why are you trying to take the matrix trace of a regression model? (That's the only hit for mtrace on my system at least)
Perhaps you mean to use traceback() or, even more useful, options(error = recover) Michael On Thu, Nov 17, 2011 at 9:49 AM, Scott Raynaud <scott.rayn...@yahoo.com> wrote: > I believe the problem is a column of zeroes in my x matrix. I have tried the > suggestions in the documentation, > so now to try to confirm the probelm I'd like to run debug. Here's where I > think the problem is: > > ###~~~~~~~~~~ Fitting the model using lmer funtion ~~~~~~~~~~### > (fitmodel <- lmer(modelformula,data,family=binomial(link=logit),nAGQ=1)) > mtrace(fitmodel) > > I added the mtrace to catch the error, but get the following: > > Error in mtrace(fitmodel) : Can't find fitmodel > > How can I debug this? > > > ----- Original Message ----- > From: Rolf Turner <rolf.tur...@xtra.co.nz> > To: Scott Raynaud <scott.rayn...@yahoo.com> > Cc: "r-help@r-project.org" <r-help@r-project.org> > Sent: Wednesday, November 16, 2011 6:04 PM > Subject: Re: [R] package installtion > > On 17/11/11 05:37, Scott Raynaud wrote: >> That might be an option if it weren't my most important predictor. I'm >> thinking my best bet is to use MLWin for the estimation since it will >> properly set fixed effects >> to 0. All my other sample size simulation programs use SAS PROC IML which >>I don't have/can't afford. I like R since it's free, but I can't work around >>the problem >> I'm currently having. > > This is the ``push every possible button until you get a result and to hell > with what > anything actually means'' approach to statistics. The probability of getting > a > *meaningful* result from this approach is close to zero. > > Why don't you try to *understand* what is going on, rather than wildly > throwing > every possible piece of software at the problem until one such piece runs? > > cheers, > > Rolf Turner > > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.