Re: [R] R-help Digest, Vol 164, Issue 4

2016-10-04 Thread Kamil Bartoń
Hi Caitie, whatever it is you want to achieve, you seem to be doing it in a very complicated way. The code you gave appears to be for producing a model selection table, yet you say you're trying to do model averaging. If you want a model selection table, why not use the one `dredge` produces

Re: [R] Error in aictab with CLM model "function not yet defined"

2016-10-04 Thread Kamil Bartoń
Hi Caitie, whatever it is you want to achieve, you seem to be doing it in a very complicated way. The code you gave appears to be for producing a model selection table, yet you say you're trying to do model averaging. If you want a model selection table, why not use the one `dredge` produces

Re: [R] Submodel selection using dredge and gam (mgcv)

2014-11-12 Thread Kamil Bartoń
= (!ti(x0,x1) | (s(x0) s(x1 Cheers, Arnaud 2014-11-11 4:11 GMT-05:00 Kamil Bartoń kamil.bar...@o2.pl mailto:kamil.bar...@o2.pl: Hi Arnaud, your question has in fact nothing to do with gam or model selection. What you are asking is: what is the logical expression that yields True

Re: [R] Submodel selection using dredge and gam (mgcv)

2014-11-11 Thread Kamil Bartoń
Hi Arnaud, your question has in fact nothing to do with gam or model selection. What you are asking is: what is the logical expression that yields True when AB is False or both A and B are True. Now replace the words with operators (!AB | (A B)) and voilà. See also: help(Logic, base)

Re: [R] AICc in MuMIn package

2014-06-27 Thread Kamil Bartoń
On 2014-06-27 11:00, r-help-requ...@r-project.org wrote: Date: Thu, 26 Jun 2014 15:12:08 +0200 From: Carlos Bautista Le?n carlosbautistal...@gmail.com To: r-help@r-project.org Subject: [R] AICc in MuMIn package Hello, I am modelling in glmmADMB count data (I??m using a negative binomial

Re: [R] Model averaging using QAICc

2014-01-16 Thread Kamil Bartoń
On 2014-01-15 11:00, r-help-requ...@r-project.org wrote: Date: Wed, 15 Jan 2014 16:39:17 +1000 From: Diana Virkkid.vir...@griffith.edu.au To:r-help@r-project.org Subject: [R] Model averaging using QAICc Message-ID: CAL6nRQcAyN-3SVeZSMXoJq=vsxotpg3e0prwjw7iu7g20b+...@mail.gmail.com

Re: [R] Get average model after dredge function ran in a loop

2013-12-13 Thread Kamil Bartoń
You are trying to average coefficients from models fitted to different data (as you have manipulated Lat+Long values), you cannot do it using AIC weights. kamil On 2013-12-11 11:00, r-help-requ...@r-project.org wrote: Message: 26 Date: Tue, 10 Dec 2013 15:44:28 -0500 From: Catarina

Re: [R] Error in MuMIn models are not all fitted to the same data

2013-11-17 Thread Kamil Bartoń
REML argument. Also, consider using update rather than rewriting the models each time. kamil On 2013-11-15 17:10, Lilly Dethier wrote: Of course! Here's my data file and R code file. Thanks so much for your help!! Lilly Dethier On Fri, Nov 15, 2013 at 8:14 AM, Kamil Bartoń k.bar...@abdn.ac.uk

Re: [R] R-help Digest, Vol 129, Issue 15

2013-11-15 Thread Kamil Bartoń
works ok with mock-up data. Can you give some code to reproduce this error? kamil On 2013-11-15 11:00, r-help-requ...@r-project.org wrote: Message: 56 Date: Thu, 14 Nov 2013 18:01:27 -0800 From: Lilly Dethierlillydeth...@gmail.com To:r-help@r-project.org Subject: [R] Error in MuMIn models

Re: [R] Error running MuMIn dredge function using glmer models

2013-11-08 Thread Kamil Bartoń
There is indeed a glitch in 'dredge' that prevents you from seeing the actual error message. It is explained in ?dredge, in section Missing values. (it's been corrected now in 1.9.14, on R-forge) kamil On 2013-11-08 11:00, r-help-requ...@r-project.org wrote: --

Re: [R] Error message in dredge function (MuMIn package) used with binary GLM

2013-04-01 Thread Kamil Bartoń
Hi Cat, are you using some very old version of MuMIn? That would explain the missing 'QAICc'. As for the error message about 'logLik', it usually occurs when there are some misspelled arguments (that go into ... and are passed to the rank function, 'AICc' in your case). Check if there is some

Re: [R] MuMIn Problem getting adjusted Confidence intervals

2012-06-28 Thread Kamil Bartoń
summary(model.avg(...)) gives much more information. pozdrowienia, kamil Dnia 2012-06-28 12:00, KKulmakatarzyna.ku...@ebc.uu.se pisze: Message: 60 From: KKulmakatarzyna.ku...@ebc.uu.se To:r-help@r-project.org Subject: Re: [R] MuMIn Problem getting adjusted Confidence intervals Hello, I seem

Re: [R] MuMIn - assessing variable importance following model averaging, z-stats/p-values or CI?

2012-06-27 Thread Kamil Bartoń
p-value 0.05 means that the 95% confidence intervals span zero. Use confint to get the CI. It is described in ?model.avg. cheers, kamil Dnia 2012-06-27 12:00, Robertson, Andrew pisze: Dear R users, Recent changes to the MuMIn package now means that the model averaging command (model.avg)

Re: [R] R crashes due to stats.dll

2012-03-20 Thread Kamil Bartoń
Dnia 2012-03-18 01:15, Ted Stankowich pisze: Hello! I've been running a looped AIC analysis using several modules including ape, nlme, and MuMIn, and during one particularly long analysis, R (ver 2.14.12) crashes several minutes into the routine with the simple message R for windows GUI

Re: [R] MuMIn package, problem using model selection table from manually created list of models

2012-01-17 Thread Kamil Bartoń
Dnieper 2012-01-17 10:51, Dunbar, Michael J. piste: The subject says it all really. Question 1. Here is some code created to illustrate my problem, can anyone spot where I'm going wrong? Question 2. The reason I'm following a manual specification of models relates to the fact that in

[R] Weird R's behaviour with a quoted name

2011-11-21 Thread Kamil Bartoń
Can someone explain why the following happens? --- : quote(some.name) some.name : bar - structure(quote(some.name), class = foo) : quote(some.name) Error in print(some.name) : object 'some.name' not found : bar - quote(some.name) : quote(some.name) Error in print(some.name) : object 'some.name'

Re: [R] difficulties with MuMIn model generation with coxph

2011-10-26 Thread Kamil Bartoń
Dear Sophie, The answer is 'typo'. 'dredge' does not have an argument named 'marge.ex'. k Dnia 2011-10-25 12:00, r-help-requ...@r-project.org pisze: Message: 131 Date: Mon, 24 Oct 2011 17:08:41 -0700 (PDT) From: sgilbertsophielgilb...@gmail.com To:r-help@r-project.org Subject: [R]

Re: [R] excluding models during dredge and model averaging in MuMIn

2011-09-06 Thread Kamil Bartoń
dredge(x, subset = !(X1 (X2 | X3)) !(X2 X3) !(X1 X3)) see help(Logic, base) Dnia 2011-08-26 12:00, r-help-requ...@r-project.org pisze: -- Message: 157 Date: Fri, 26 Aug 2011 14:53:00 +0900 From: Andrew MacIntoshandyj...@gmail.com To:R-help@r-project.org

Re: [R] MuMIn Problem getting adjusted Confidence intervals

2011-09-06 Thread Kamil Bartoń
Hi Marcos, The 'adjusted CI' (based on the 'adjusted se estimator' as in section 4.3.3 of Burnham Anderson 2002) cannot be calculated for 'lmer' model because it does not give df's for the coefficients. kamil Dnia 2011-08-30 12:00, r-help-requ...@r-project.org pisze: Message: 42 Date:

[R] Re: Sum weights of independent variables across models (AIC)

2011-07-14 Thread Kamil Bartoń
?model.avg Look at relative importance. Message: 102 Date: Wed, 13 Jul 2011 18:01:14 -0500 From: Michael Just mgj...@gmail.com To: r-help r-help@r-project.org Subject: [R] Sum weights of independent variables across models (AIC) Message-ID: