Displaying 20 results from an estimated 1000 matches similar to: "AIC and significance tests"
2003 Sep 30
2
non-linear trends in kriging model
Hi
I am struggling to fit a non-linear trend using the
likfit function in geoR.
Specifically I want a sigmoidal function, something
like SSfpl in the nls package to fit the trend. But
it seems trend.spatial in geoR only works with lm or
glm type models.
Any ideas how I can specify the model to calculate the
kriging parameters using REML, including the
parameters of a sigmoidal trend function
2005 Oct 29
2
LaTex error when creating DVI version when compiling package
Dear Listers,
I got this message when compiling a package:
* creating pgirmess-manual.tex ... OK
* checking pgirmess-manual.text ... ERROR
LaTex errors when creating DVI version.
This typically indicates Rd problems.
The message is quite explicit but I struggled a lot before understanding
that the trouble comes from a single file "selMod.rd" among 44 topics.
Even though I have
2009 Sep 04
2
enabling core dumps
"Writing R Extensions" says
{quotes}
If you have a crash which gives a core dump you can use something like
gdb /path/to/R/bin/exec/R core.12345
to examine the core dump. If core dumps are disabled...
{unquotes}
sadly it doesn't go on to say how to enable if core dumps are disabled.
I understand that in bash I need to do
$ ulimit -c unlimited
but this doesn't seem to
2013 Apr 23
1
Verbose output from R CMD check
I've been developing a package called foobar for a couple of years now.
It has evolved through various versions, but has always contained
compiled C code. Recently, R CMD check has started generating the
following message
[START QUOTE]
R CMD check foobar_1.7.5.tar.gz
* using log directory ?/home/david/foobar/package/foobar.Rcheck?
* using R version 2.15.2 (2012-10-26)
* using platform:
2006 Feb 20
1
Nested AIC
Greetings,
I have recently come into some confusion over weather or not AIC
results for comparing among models requires that they be nested.
Reading Burnham & Anderson (2002) they are explicit that nested
models are not required, but other respected statisticians have
suggested that nesting is a pre-requisite for comparison. Could
anyone who feels strongly regarding either position
2003 Jul 04
1
Quasi AIC
Dear all,
Using the quasibinomial and quasipoisson families results in no AIC being
calculated. However, a quasi AIC has actually been defined by Lebreton et al
(1992). In the (in my opinon, at least) very interesting book by Burnham and
Anderson (1998,2002) this QAIC (and also QAICc) is covered. Maybe this is something
that could be implemented in R.
Take a look at page 23 in this pdf:
2003 Mar 04
1
Sample size and stepAIC, step, or AIC
Do any R functions incorporate a sample sample size correction (e.g.,
Burnham and Anderson 1998).
Thanks,
Hank Stevens
Martin Henry H. Stevens, Assistant Professor
338 Pearson Hall
Botany Department
Miami University
Oxford, OH 45056
Office: (513) 529-4206
Lab: (513) 529-4262
FAX: (513) 529-4243
http://www.cas.muohio.edu/botany/bot/henry.html
http://www.muohio.edu/ecology
2006 Feb 20
2
Matrix / SparseM conflict (PR#8618)
Full_Name: David Pleydell
Version: 2.2.1
OS: Debian Etch
Submission from: (NULL) (193.55.70.206)
There appears to be a conflict between the chol functions from the Matrix and
the SparseM packages. chol() can only be applied to a matrix of class dspMatrix
if SparseM is not in the path.
with gratitude
David
> library(Matrix)
> sm <- as(as(Matrix(diag(5) + 1), "dsyMatrix"),
2010 Jan 22
2
R CMD check error with the GNU Scientific Library
I have been working on an R package that calls C code using .C(). I recently
started including some functions from the GNU Scientific Library in my code.
The code runs fine on my machine when not wrapped in the package. But I get the
following error from "R CMD check"
* checking whether the package can be loaded ... ERROR
Loading required package: splancs
Loading required package: sp
2011 Jun 05
1
tag \href not recognised in rd doc
Hi,
I have a trouble trying to use \href in a rd doc. See example below:
\references{
\href{http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2702787/}{Vaniscotte
A., Pleydell D., Raoul F., Quere J.P., Coeurdassier M., Delattre P., Li
T., Qian W., Takahashi K., Weidmann J.C., Qiu J., Giraudoux P. 2009
Modelling and spatial discrimination of small mammal assemblages: an
example from western
2008 Feb 04
1
extracting AIC scores from lmer and other objects
I have a slight conundrum. I'm attempting to write a scrip that will
take a number of objects (lm, glm, and lmer) and return AIC scores
and weights. I've run into 3 problems, and was wondering if anyone
had any pointers.
1) is there any convenient way to extract the name of the objects?
Simply, if I have a vector of objects c(my.lm, my.lmer) and I want to
get a character
2004 Oct 31
3
strange results with dmvnorm
I am experiencing strange results using dmvnorm. I define a scaled distance
matrix from the coordinates bellow and then calculate a covariance matrix using
a spherical correlation function. Then with certain combinations of
range and sill parameters dmvnorm is returning values greater than 1. Surely
the results of dmvnorm should be in the interval 0:1 (or do I just nead a
holiday?). In addition
2009 Jul 03
1
is AIC always 100% in evaluating a model?
Hello,
I'd like to say that it's clear when an independent variable can be ruled
out generally speaking; on the other hand in R's AIC with bbmle, if one
finds a better AIC value for a model without the given independent variable,
versus the same model with, can we say that the independent variable is not
likely to be significant(in the ordinary sense!)?
That is, having made a lot of
2002 Aug 01
1
question about AIC
Please, forgive my ignorance on statistics, but I have a rather simple
question concerning AIC. Small values of AIC mean good fit of the model. How
about negative values of AIC? Is a model with AIC=0.5 considered to have
better fit than a model with AIC=-500?
I couldn't find anything explaining this in the documentation or any
elementary statistics textbook that I have at my disposal.
Thanks
2004 Mar 09
4
aic calculation
hello,
could somebody refer me to the reason R uses
-2*loglik + 2*(#param)+2
to calculate AIC?
thank you
--
Stoyan Iliev
2007 Mar 09
4
Reg. strings and numeric data in matrix.
Hi All,
Sorry for this basic question as I am new to this R. I would like to know,
is it possible to consider a matrix with some columns having numeric data
and some other's with characters (strings) data? How do I get this type of
data from a flat file.
Thanks very much,
mallika
____________________________________________________________________________
Mallika Veeramalai, Ph.D.,
2012 Sep 12
2
valgrind crashing
I am trying to do a classic
R -d valgrind --vanilla < mypkg-Ex.R
as described in
http://cs.swan.ac.uk/~csoliver/ok-sat-library/internet_html/doc/doc/R/2.9.1/doc/manual/R-exts.html#Using-valgrind
The problem is valgrind crashes imediately.
I am using Ubuntu 10.04 LST (actually Biolinux) on a 64bit Dell
Precision laptop with 4 core-i5 Intel processors. I have R-2-15-0
installed from source
2011 Mar 24
3
How create vector that sums correct responses for multiple subjects?
I have a data file with indicates pretest scores for a linguistics
experiment. The data are in long form so for each of 33 subjects there are
400 rows, one for each item on the test, and there is a column called
‘Correct’ that shows ‘C’ for a correct response and ‘E’ for an incorrect
response. I am trying to write a formula that will create a vector that
indicates the number of correct answers
2010 Jul 05
2
Can anybody help me understand AIC and BIC and devise a new metric?
Hi all,
Could anybody please help me understand AIC and BIC and especially why do
they make sense?
Furthermore, I am trying to devise a new metric related to the model
selection in the financial asset management industry.
As you know the industry uses Sharpe Ratio as the main performance
benchmark, which is the annualized mean of returns divided by the annualized
standard deviation of returns.
2008 Apr 20
1
Reg. consensus ranking
Dear All,
I have a list of models(1000) which have variable scores from 20 different method. I would like to rank models using consensus approach based on high scores from different methods.Is there any function available in R for this purpose? I will appreciate any pointers in this regard.
Thank you very much in Advance,
Mallika