[R] package installtion
R. Michael Weylandt
michael.weylandt at gmail.com
Thu Nov 17 16:06:32 CET 2011
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.raynaud at 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.turner at xtra.co.nz>
> To: Scott Raynaud <scott.raynaud at yahoo.com>
> Cc: "r-help at r-project.org" <r-help at 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 at 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.
>
More information about the R-help
mailing list