Displaying 20 results from an estimated 3000 matches similar to: "Checking collinearity using lmer"
2009 Jul 21
2
Collinearity in Linear Multiple Regression
Dear all,
How can I test for collinearity in the predictor data set
for multiple linear regression.
Thanks
Alex
[[alternative HTML version deleted]]
2012 Apr 03
1
how to use condition indexes to test multi-collinearity
Dear Users,
I try to calculate condition indexes and variance decomposition proportions
in order to test for collinearity using colldiag() in perturb package, I
got
a large index and two variables with large variance decomposition
proportions,but one of them is constant item.I also checked the VIF for
that
variable, the value is small.The result is as follows:
Index intercept V1
2013 Feb 06
1
how to extract test for collinearity and constantcy used in lda
Hi everyone,
I'm trying to vectorize an application of lda to each 2D slice of a 3D
array, but am running into trouble: It seems there are quite a few 2D
slices that trigger either the "variables are collinear" warning, or worse,
trigger a "variable appears to be constant within groups" error and fails
(i.e., ceases computation rather than skips bad slice).
There are
2011 Jan 14
2
read in data, maintain decimal places
Good day, All,
Is there any way to maintain the number of decimal places in the type of situation below?
I would like to maintain the number of decimal places in 0.667, despite the fact that its column-mates have a fourth decimal place.
Thank you for your time.
Jim
dat.txt contents:
MARKER ALLELES FREQ1 RSQR EFFECT2 STDERR CHISQ PVALUE
rs6599753 C,T
2004 Mar 17
1
ANCOVA when you don't know factor levels
Hello people
I am doing some thinking about how to analyse data on dimorphic animals
- where different individuals of the same species have rather different
morphology. An example of this is that some male beetles have large
horns and small wings, and rely on beating the other guys up to get
access to mates, whereas others have smaller horns and larger wings,
and rely on mobility to
2002 Jul 15
2
meaning of error message about collinearity
You are using a method that needs to estimate the covariance matrix of all
the variables. If you have 80 variables, there are (80+1)*80/2 = 3240
variances and covariances to estimate. How many data points do you think
you need to do that?
Some people assume the covariance matrix is diagonal (i.e., assuming all the
variables are uncorrelated). Even then you still have 80 variances to
estimate.
2005 Jun 30
2
Finding out collinearity in regression
Hi, I am trying to find out a collinearity in
explanatory variables with alias().
I creat a dataframe:
dat <- ds[,sapply(ds,nlevels)>=2]
dat$Y <- Response
Explanatory variables are factor and response is
continuous random variable. When I run a regression, I
have the following error:
fit <- aov( Y ~ . , data = dat)
Error in "contrasts<-"(`*tmp*`, value =
2011 Aug 12
1
Which Durbin-Watson is correct? (weights involved) - using durbinWatsonTest and dwtest (packages car and lmtest)
Hello!
I have a data frame mysample (sorry for a long way of creating it
below - but I need it in this form, and it works). I regress Y onto X1
through X11 - first without weights, then with weights:
regtest1<-lm(Y~., data=mysample[-13]))
regtest2<-lm(Y~., data=mysample[-13]),weights=mysample$weight)
summary(regtest1)
summary(regtest2)
Then I calculate Durbin-Watson for both regressions
2009 Aug 16
1
How to deal with multicollinearity in mixed models (with lmer)?
Dear R users,
I have a problem with multicollinearity in mixed models and I am using lmer
in package lme4. From previous mailing list, I learn of a reply
"http://www.mail-archive.com/r-help at stat.math.ethz.ch/msg38537.html" which
states that if not for interpretation but just for prediction,
multicollinearity does not matter much. However, I am using mixed model to
interpret something,
2003 Jul 23
6
Condition indexes and variance inflation factors
Has anyone programmed condition indexes in R?
I know that there is a function for variance inflation factors
available in the car package; however, Belsley (1991) Conditioning
Diagnostics (Wiley) notes that there are several weaknesses of VIFs:
e.g. 1) High VIFs are sufficient but not necessary conditions for
collinearity 2) VIFs don't diagnose the number of collinearities and 3)
No one has
2005 Apr 11
2
dealing with multicollinearity
I have a linear model y~x1+x2 of some data where the
coefficient for
x1 is higher than I would have expected from theory
(0.7 vs 0.88)
I wondered whether this would be an artifact due to x1
and x2 being correlated despite that the variance
inflation factor is not too high (1.065):
I used perturbation analysis to evaluate collinearity
library(perturb)
2005 Mar 31
0
perturb package for evaluating collinearity
I've uploaded the R package "perturb" to CRAN. Perturb contains two
programs for evaluating collinearity. "Colldiag" calculates condition
indexes and variance decomposition proportions to detect and track
down collinear sets of variables.
"Perturb" takes a different approach. It re-estimates the model a
specified number of times, adding random noise
2005 Mar 31
0
perturb package for evaluating collinearity
I've uploaded the R package "perturb" to CRAN. Perturb contains two
programs for evaluating collinearity. "Colldiag" calculates condition
indexes and variance decomposition proportions to detect and track
down collinear sets of variables.
"Perturb" takes a different approach. It re-estimates the model a
specified number of times, adding random noise
2000 Aug 12
1
Nonlinear regression question
Dear R users
I recently migrated from Statistica/SigmaPlot (Windows) to R (Linux), so
please excuse if this may sound 'basic'.
When running a nonlinear regression (V = Vmax * conc / (Ks + conc), i.e.
Michaelis-Menten) on SigmaPlot, I get the output listed below:
>>>Begin SigmaPlot Output<<<
R = 0.94860969 Rsqr = 0.89986035 Adj Rsqr = 0.89458984
Standard Error of
2006 Jul 05
2
Colinearity Function in R
Is there a colinearty function implemented in R? I
have tried help.search("colinearity") and
help.search("collinearity") and have searched for
"colinearity" and "collinearity" on
http://www.rpad.org/Rpad/Rpad-refcard.pdf but with no
success.
Many thanks in advance,
Peter Lauren.
2003 Jun 30
1
Novice Questions
I'm writing a program to perform linear regressions to
estimate the number of bank teller transactions per
hour of various types based upon day of week, time of
day, week of month and several prices. I've got about
25,000 records in my dataset, 85 columns of
transaction counts (used 1 at a time), about 50
columns of binary indicators (day, week, pay period,
hour, branch), and a half dozen
2003 Jun 05
2
ridge regression
Hello R-user
I want to compute a multiple regression but I would to include a check for
collinearity of the variables. Therefore I would like to use a ridge
regression.
I tried lm.ridge() but I don't know yet how to get p-values (single Pr() and p
of the whole model) out of this model. Can anybody tell me how to get a
similar output like the summary(lm(...)) output? Or if there is
2012 Jun 01
4
regsubsets (Leaps)
Hi
i need to create a model from 250 + variables with high collinearity, and
only 17 data points (p = 250, n = 750). I would prefer to use Cp, AIC,
and/or BIC to narrow down the number of variables, and then use VIF to
choose a model without collinearity (if possible). I realize that having a
huge p and small n is going to give me extreme linear dependency problems,
but I *think* these model
2003 Sep 16
2
gam and concurvity
Hello,
in the paper "Avoiding the effects of concurvity in GAM's .." of Figueiras et
al. (2003) it is mentioned that in GLM collinearity is taken into account in
the calc of se but not in GAM (-> results in confidence interval too narrow,
p-value understated, GAM S-Plus version). I haven't found any references to
GAM and concurvity or collinearity on the R page. And I
2005 Sep 13
3
Collineariy Diagnostics
Hi, and thanks for your help
in order to do collinearity analysis I downloaded the perturb package. I run
a lm (regression) and on that the ??calldiag?? commad to get condition numbers
but i get the following message: the variable XY with modus ??numeric?? was
not found (it does the same with all predictors despite all variables are
numeric and exists).
Can anyone tell me how can I go arround