Displaying 20 results from an estimated 22 matches for "relaimpo".
2008 Dec 15
2
Using a covariance matrix as input to relaimpo package
I'm having trouble getting the relaimpo package to use a covariance matrix as
input. I'm getting an error message that reads as follows:
Error in eval(m$weights, data, parent.frame()) :
numeric 'envir' arg not of length one
I'm guessing there is something wrong with the structure of my covariance
matrix, but it look...
2006 Oct 20
1
Problem tracking down an R CMD check syntax error
Dear all,
I am stuck with tracking down an error I get from R CMD check (Windows, R 2.4.0, same error for R 2.2.1): when running R CMD check over a modified version of package relaimpo, I get the following output in install.out:
preparing package relaimpo for lazy loading
Loading required package: MASS
Loading required package: boot
Error in parse(file, n, text, prompt) : syntax error at
2193:
}
2194:
Error: unable to load R code in package 'relaimpo'
Execution halted...
2007 Nov 29
1
relative importance of predictors
......
However, bptest indicates heteroskedasticity of my model. I therefore
perform a robust regression (rlm), in combination with bootstrapping (as
outlined in J. Fox, Bootstrapping Regression Models).
Now I want to compare the relative importance of my predictors. Can I rely
on the output of 'relaimpo' here? (which takes 'lm', not 'rlm' objects).
Thanks,
Robert
----------------------------------------------------------------------------------------------------------------------
NIVAs hovedkontor har flyttet til nye lokaler i CIENS - Forskningssenter
for milj? og samfunn;...
2013 Jan 31
0
Longitudinal RelaImpo in LME4
I am currently using the relaimpo package to estimate the relative
importance of regressors (N= 4000):
> m1 <- lm(y ~ x1+x2+x3+x4+x5+, data=data)
> calc.relimp(m1, rela=TRUE)
> m2=boot.relimp(m1, boot = 500, rela=TRUE, type="lmg")
> booteval.relimp(m2)
> plot(booteval.relimp(m2))
In a new dataset with...
2012 Dec 01
0
Relative strength of regression predictors (relaimpo vs. relimp)
...s (that differ from each
other drastically in mean), controlling for age and sex. N=6000.
m1 <- lm(totWAS ~ 1234x+s5+q6789x+s10+s11+s12+s13+s14+q1516x+
sex+age, data=D)
Now I want to find out about relative strengths. Standardized coefficients
differ in the profile from results obtained by the relaimpo and the relimp
packages, the largest differences exist for the variable age (which is the
only variable I standardized; the standardized beta is very large compared
to the other risk factors, but the relative importance packages show that
is nearly has any importance).
Questions:
(1) What can lead...
2010 Mar 19
0
relaimpo - dummy variable
Hi,
I have a question related to the function "boot.relimp" (package relaimpo).
I have a model with numerical predictors and one dummy (class) variable. I
would like to calculate the relative importance of the predictors but I have
some problems with the dummy variable.
The name of the linear model is "lmbroadst.lc" and the dummy variable is
"datacon.landcov...
2010 Sep 24
0
relaimpo
Hello,
Does anyone know if relaimpo only applies to "pure" multiple linear
regression models, i.e.
- linear in the variables AND linear in the coefficients
or is it safe to use it in models that are:
- non-linear in the variables BUT linear in the coefficients?
Thanks
Jyotin
[[al...
2007 Nov 22
1
R CMD check problem on R 2.6.1 RC
Dear R-developers,
I'm experiencing a problem with having an example run under R 2.6.1 RC
(downloaded and installed today, r43513), which does not occur on R 2.6.0:
The new version of package relaimpo does list package survey under
"Depends", and an example directly (i.e. not only from within a function of
relaimpo) uses function svydesign from package survey. Package survey is
installed and available when working from within the new R-installation.
However, under R CMD check, the exam...
2013 Jan 28
0
Using relaimpo or relimp with PLM and GLS
Dears,
Unfortunatelly, the packages relaimpo and relimp do not seem to work with
plm function (plm package) or gls function (in nlm package). I've been
studying on how to adapt one of them for this pourpose. In that sense, I
have two questions regarding to this work:
1) have anyone hard of any workaround for those incompatibilities, or a...
2007 Mar 23
1
Bug in str or issue with class management in my package?
...tion str() fails on objects of class
relimplmbooteval, if there are unused slots, which is very often the case. I
am not sure whether this is a bug in str() or a correct behavior of str()
that unmasks some sloppiness in my usage of S4 classes (that I am not aware
of)?
Reproducible example (package relaimpo needed):
The program
require(relaimpo)
bte<-booteval.relimp(boot.relimp(swiss,b=100))
str(bte)
yields the error message
Errorr in FUN(c("lmg.lower", "lmg.upper", "lmg.rank.lower",
"lmg.rank.upper", :
no slot named "pmvd.lower" for...
2007 Jan 02
6
package dependency tree
Is there a painless way to find the names of all packages on CRAN
that "Depend" on a specified package?
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Champaign, IL 61820
2009 Feb 17
3
Subset Regression Package
Dear all ,
Is there any subset regression (subset selection
regression) package in R other than "leaps"?
Thanks and regards
Alex
[[alternative HTML version deleted]]
2011 Feb 08
1
which multivariate regression?
...h package rpart and is the preferred analyses
due to ease of interpretation. The response variable was untransformed and
the distribution chosen Poisson. Result was a tree with immediately
increasing error (cp) which picked 0 splits as the best tree.
(2) Multiple regression
Tried using package relaimpo to obtain a classification on the
importance of explanatory variables. Used different transformations to
analyze residuals and in all cases obtained a weird looking set of residuals
with a portion normally distributed and another portion clustered to the
side, giving the whole graph a clear trend (...
2007 Nov 23
0
Major update to package relimpo: Version 2.0
Dear userRs,
Version 2.0 of package relaimpo is on CRAN (and on my homepage with an
additional metric for non-US users). It contains several major improvements:
- usage of factors
- incorporation of interactions (for metric lmg only)
- incorporation of observation weights
- application to data from complex surveys
- processing of multiply im...
2008 Mar 14
1
Forward Selection with regsubsets
Hi,
I would like to perform a forward selection procedure on a data set
with 6 observations and 10 predictors. I tried to run it with
regsubsets (I set nvmax=number of observations) but I keep getting
these warning messages:
Warning messages:
1: 5 linear dependencies found in: leaps.setup(x, y, wt = weights,
nbest = nbest, nvmax = nvmax,
2: nvmax reduced to 5 in: leaps.setup(x, y, wt =
2011 Sep 12
2
calc.relimp pmvd for US R-user
Dear All:
I am calculating the relative importance of a regressor in a linear model.
Does anyone know how I can obtain/install the 'pmvd' computation type? I am
a US user.
Regards,
Y
--
View this message in context: http://r.789695.n4.nabble.com/calc-relimp-pmvd-for-US-R-user-tp3808752p3808752.html
Sent from the R help mailing list archive at Nabble.com.
2006 Mar 16
2
hierarchical partitioning
Hello,
I would like to know what it means, when the hier.part's output has a data
frame of a negative independent contribution for variables (?IJ) and how
this can be caused.
Thank you very much.
Yours sincerely
M. Heuner
2011 Jan 24
0
Relative Importance Package question
I have installed the latest relaimpo library ( form their website with the 8 functions)
When running pvmd as a type in c=type("pmvd") in calc.relimp
I get the error message ...could not find function "pmvdcalc"
(this is in R version 2.12.1)
Can anyone help?
Paul
Prof P Rheeder
School of Health Systems and Publi...
2011 Oct 27
0
regression in R
1) Packages to be used-
For smaller datasets
use these
1. CAR Package http://cran.r-project.org/web/packages/car/index.html
2. GVLMA Package http://cran.r-project.org/web/packages/gvlma/index.html
3. ROCR Package http://rocr.bioinf.mpi-sb.mpg.de/
4. Relaimpo Package
5. DAAG package
6. MASS package
7. Bootstrap package
8. Leaps package
Also see
http://cran.r-project.org/web/packages/rms/index.html or RMS package
rms works with almost any regression model, but it was especially written to
work with binary or ordinal logistic regression, Co...
2010 Aug 25
1
Documenting S4 Methods
I'm in the process of converting some S3 methods to S4 methods.
I have this function :
setGeneric("enrichmentCalc", function(rs, organism, seqLen, ...){standardGeneric("enrichmentCalc")})
setMethod("enrichmentCalc", c("GenomeDataList", "BSgenome"), function(rs, organism, seqLen, ...) {
... ... ...
})