Displaying 20 results from an estimated 400 matches similar to: "question regarding the AICcmodavg package"
2011 Aug 03
0
AICcmodavg functions and 'mer' class models
What is teh reason some functions in the AICcmodavg package do not work with
'mer' class models?
One such example would be the 'importance' function.
Thanks
Ronny
--
View this message in context: http://r.789695.n4.nabble.com/AICcmodavg-functions-and-mer-class-models-tp3714534p3714534.html
Sent from the R help mailing list archive at Nabble.com.
2012 Sep 13
1
AICcmodavg
I am using the AICmodavg package and using R version 2.15.1. I need help
with code that is instead being read as text.
Below is a subset of code... I actually have 12 models, but I am trying to
get this to work for 2 below right now.
Everything 'appears' to work through the line starting with Modnames. After
that the code starting with aictab and beyond is recognized as text and not
2012 Feb 13
2
R's AIC values differ from published values
Using the Cement hardening data in Anderson (2008) Model Based Inference in
the Life Sciences. A Primer on Evidence, and working with the best model
which is
lm ( y ~ x1 + x2, data = cement )
the AIC value from R is
model <- lm ( formula = y ~ x1 + x2 , data =
cement )
AIC ( model )
64.312
which can be converted to AICc by adding the bias
2010 May 03
2
Estimating theta for negative binomial model
Dear List,
I am trying to do model averaging for a negative binomial model using the package AICcmodavg. I need to use glm() since the package does not accept glm.nb() models. I can get glm() to work if I first run glm.nb and take theta from that model, but is there a simpler way to estimate theta for the glm model? The two models are:
mod.nb<-glm.nb(mantas~site,data=mydata)
2013 Jan 18
1
Object created within a function disappears after the function is run
Dear R-helpers,
I have run the code below which I expected to make an object called dd1,
but that object does not exist.
So, in summary, my problem is that my function is meant to make an object
(dd1), and it does indeed make that object (I know that the last line of
the function prints it out) but then, after the function has run, the
object has disappeared.
It's late on a Friday so I may
2013 Mar 06
1
Difficulty in caper: Error in phy$node.label[which(newNb > 0) - Ntip]
Hello,
I'm doing a comparative analysis of mammal brain and body size data.
I'm following Charlie Nunn and Natalie Cooper's instructions for
"Running PGLS in R using caper".
I run into the following error when I create my comparative dataset,
combining my phylogenetic tree (mammaltree) and taxon measures
(mammaldata):
"Error in phy$node.label[which(newNb > 0) -
2009 Aug 24
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
Updated packages
----------------
New reviews
-----------
This email provided as a service for the R community by
http://crantastic.org.
Like it? Hate it? Please let us know: cranatic at gmail.com.
2005 Oct 12
2
subsetting with by() or other function??
I think I must be missing something obvious, but I'm having trouble
getting a data transformation to work on groupings of data within a data
frame (csss3) as defined by 2 factors (population, locid). The data are
sorted by year within locid within population and I want to lag another
variable (dbc), i.e, shift them down by 1 row replacing the first row with
NA, within groups defined by
2012 Nov 30
1
Fw: quantreg installation and conflicts with R 2.15.2
Just noticed that I get a similar error about object 'kronecker' in
"Matrix" package when trying to load "lme4". So this is a more pervasive
problem.
Brian
Brian S. Cade, PhD
U. S. Geological Survey
Fort Collins Science Center
2150 Centre Ave., Bldg. C
Fort Collins, CO 80526-8818
email: brian_cade@usgs.gov
tel: 970 226-9326
----- Forwarded by Brian S
2012 Apr 19
2
ANOVA in quantreg - faulty test for 'nesting'?
I am trying to implement an ANOVA on a pair of quantile regression models in
R. The anova.rq() function performs a basic check to see whether the models
are nested, but I think this check is failing in my case. I think my models
are nested despite the anova.rqlist() function saying otherwise. Here is an
example where the GLM ANOVA regards the models as nested, but the quantile
regression ANOVA
2005 Nov 22
3
modifying code in contributed libraries - changes from versions 1.* to 2.*
Having finally updated from R 1.91 to R 2.2.0 with my installation of a
new computer, I discovered that something has changed drastically about
the way code for contributed packages is stored when installed in a local
version of R. In the 1.* versions it was easy for me to go in and modify
some of the code for a contributed package by using a text editor to
change the script files (these
2005 Feb 23
2
stopping a function
I've looked for this information in all the R help sources I could find and
found nothing. Is it possible to use some function key to stop the
execution of some R command without ending the R session (Windows, R 1.91)?
I've several times started functions that for various reasons are not
executing properly and it would be nice to stop them without killing the R
session. I've been
2011 Feb 25
4
means, SD's and tapply
I'm trying to use tapply to output means and SD or SE for my data but
seem to be limited by how many times I can subset it. Here's a snippet
of my data
> stems353[1:10,]
Time DataSource Plot Elevation Aspect Slope Type Species
SizeClass Stems
1 Modern Cameron 70F221 1730 ESE 20 Conifer ABCO
Class1 3
2 Modern Cameron 70F221 1730
2017 Dec 05
2
warnings about factor levels dropped from predict.glm
I am helping a student with some logistic regression analyses and we are
getting some strange inconsistencies regarding a warning about factor
levels being dropped when running predict.glm(, newdata = ournewdata) on
the logistic regression model object. We have checked multiple times that
the factor levels have been defined similarly on both data sets (one used
to estimate model and the newdata)
2006 Feb 21
3
How to get around heteroscedasticity with non-linear leas t squares in R?
Your understanding isn't similar to mine. Mine says robust/resistant
methods are for data with heavy tails, not heteroscedasticity. The common
ways to approach heteroscedasticity are transformation and weighting. The
first is easy and usually quite effective for dose-response data. The
second is not much harder. Both can be done in R with nls().
Andy
From: Quin Wills
>
> I am
2007 Mar 19
1
likelihoods in SAS GENMOD vs R glm
List: I'm helping a colleague with some Poisson regression modeling. He
uses SAS proc GENMOD and I'm using glm() in R. Note on the SAS and R
output below that our estimates, standard errors, and deviances are
identical but what we get for likelihoods differs considerably. I'm
assuming that these must differ just by some constant but it would be nice
to have some confirmation
2007 Nov 27
3
Disappearing decimals... please help!
Maybe it''s all in my head, but I''m having the strangest little issue
ever. My pricetags in my rails app are always whole numbers. Rails seems
to completely ignore my decimal input. So as a consequence, 10.41
becomes 10.00, always.
Here''s some worthwhile stuff:
within my 004_create_products.rb file:
:price, :decimal, :percision => 2, :default => 0
And calling
2018 Jan 12
1
glm$effects
I know I must be missing something obvious, but checking help and googling
a bit did not turn up a useable answer. When I've estimated a glm() model
object (my example is with just identity link with gaussian family so I
could have used lm() instead), one of the terms returned in the model
object is listed as $effects. What are these quantities? I have not been
able to relate them to the
2012 Nov 30
1
quantreg installation and conflicts with R 2.15.2
I recently lost the partitions on my hard drive (second time in 6 months)
so I had to have our IT folks image all my files over to a new drive. I
completely reinstalled R (now 2.15.2) and all my libraries to my computer
(Dell Latitude running Windows 7). A few of my previous workspaces
(created with R 2.14.1) can't be restored, reporting an error similar to
the one I get when I try to
2017 Dec 05
0
warnings about factor levels dropped from predict.glm
A guess (treat accordingly):
Different BLAS versions are in use on the two different machines/versions.
In one, near singularities are handled, and in the other they are not,
percolating up to warnings at the R level.
You can check this by seeing whether the estimated fit is the same on the 2
machines. If so, ignore the above.
-- Bert
Bert Gunter
"The trouble with having an open mind