Displaying 20 results from an estimated 2000 matches similar to: "plot rq lm"
2011 Mar 04
4
cv.lm syntax error
Dear all,
I've tried a multiple regression, and now I want to try a cross-validation.
I obtain this error (it must be sth related to df) that I don't understand,
any help would be appreciated.
cv.lm(df= dat, lm2.52f, m=3)
Error en `[.data.frame`(df, , ynam) : undefined columns selected
lm2.52f is my lm object, dat is a dataframe where the variables involved in
.lm are
I tried CVlm
2012 Feb 15
2
assign same legend colors than in the grouped data plot
Dear community,
I've plotted data and coloured depending on the factor variable v3.
In the legend, I'd like to assign properly the same colors than in the
factor (the factor has 5 levels).
I've been trying this but it doesn't work.
plot(var1, var2, xlab = "var1", ylab = "var2", col =var3 , bty='L')
legend(locator(1),c("level 1 var3",
2011 Nov 16
2
outlier identify in qqplot
Dear Community,
I want to identify outliers in my data. I don't know how to use identify
command in the plots obtained.
I've gone through help files and use mahalanobis example for my purpose:
NormalMultivarianteComparefunc <- function(x) {
Sx <- cov(x)
D2 <- mahalanobis(x, colMeans(x), Sx)
plot(density(D2, bw=.5), main="Squared Mahalanobis distances, n=nrow(x),
2012 Sep 04
1
predict rpart newdata - introduce only values variables used in the tree
Dear community,
I've a tree which included at first 23 variables. Then I've pruned this
tree, and there are only 8 variables involved.
I'd like to predict and only introduce in newdata the values of these 8
variables involved. However, as the tree was built with the 23, it asked me
for 15 values, even if it doesn't need them.
Is there a way to introduce only this 8 values?
2011 Mar 22
2
lm ~ v1 + log(v1) + ... improve adj Rsq ¿any sense?
Dear all,
I want to improve my adj - R sq. I 've chequed some established models and
they introduce two times the same variable, one transformed, and the other
not. It also improves my adj - R sq.
But, isn't this bad for the collinearity? Do I interpret coefficients as
usual?
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.73140 7.22477 0.240
2012 May 04
1
lme or lmer for unbalance data
Dear community,
I'd like to fix a mixed model. I have unbalance data, what should i use:
lme in nlme package , or lmer in lme4.
Thanks, user at host.com as user at host.com
--
View this message in context: http://r.789695.n4.nabble.com/lme-or-lmer-for-unbalance-data-tp4608425.html
Sent from the R help mailing list archive at Nabble.com.
2011 Dec 13
1
SQL> select ... where "R variable"
Before loading sql packages, i was wondering, once all packages required are
installed, if it's possible to do from R console sth like this:
SQL> select v1 from sql_table
where v2 in ("R_variable") # being "R_variable" a vector
Thanks in advance, user at host.com
--
View this message in context:
2012 Feb 29
1
equivalent from gladder and ladder from stata
Dear community,
Apologies, I'm still pretty newbie. Anyway, I am performing linar regression
analysis. As a common cause of non-normally distributed residuals is
non-normally predictor variables, i'm interested in achieving the best
transformation of the predictors.
I've seen some commands at R, but I would like to know if it exists a
command equivalent to gladder (graphic display)
2012 Mar 25
1
Work -Shift Scheduling - Constraint Linear Programming
Dear Community,
I've a Work -Shift Scheduling Problem I'd like to solve via constraint
linear programming.
Maybe something similar to
http://support.sas.com/documentation/cdl/en/orcpug/63349/HTML/default/viewer.htm#orcpug_clp_sect037.htm
Can anybody suggest me any package/R examples to solve this?
If it's needed more details of my little problemm I can provide.
Thanks in
2011 Nov 30
1
Replace columns in a data.frame randomly splitted
Dear community,
I'm working with the data.frame attached (
http://r.789695.n4.nabble.com/file/n4122926/df1.xls df1.xls ), let's call it
df1.
I typed: df1<- read.xls("C:/... dir .../df1.xls",colNames= TRUE, rowNames=
TRUE)
Then I splited randomly df1 using splitdf function
(http://gettinggeneticsdone.blogspot.com/2011/03/splitting-
dataset-revisited-keeping.html)
2011 Feb 14
1
Error en lm.fit NA/NaN/Inf en llamada a una función externa
Hello, I am new with R, and I'm trying to fit a linear model, I did the
following and obtein this result, can anybody help? Thanks,
> logdftodos7925vi <- log(dftodos7925vi)
> logALTURA7925<- log(dftodos7925$ALTURA7917)
> logtodos7925.lm <- lm (logALTURA7925~., data= logdftodos7925vi)
Error en lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
NA/NaN/Inf en
2012 May 03
1
NA's when subset in a dataframe
Dear community,
I'm having this silly problem.
I've a linear model. After fixing it, I wanted to know which data had
studentized residuals larger than 3, so i tried this:
d1 <- cooks.distance(lmmodel)
r <- sqrt(abs(rstandard(lmmodel)))
rstu <- abs(rstudent(lmmodel))
a <- cbind( mydata, d1, r,rstu)
alargerthan3 <- a[rstu >3, ]
And suddenly a[rstu >3, ] has
2011 Mar 23
1
predict.lm How to introduce new data?
Dear all,
I've fitted a lm using 61 data (training data), and I'left 10 as test data.
Training data and test data are stored in an excell.
training <- read.xls("C:/...../training.xls") , the same for test. That is:
v1
v2
...
v15
When I type str(training) and str(test), both sets have the same names
The resulting model is lms <- lm(vd ~ log(v1) + fv2+ fv5+ fv7 )
2011 Feb 25
1
lm - log(variable) - skip log(0)
I want to do a lm regression, some of the variables are going to be affected
with log, I would like not no take into account the values which imply doing
log(0)
for just one variable I have done the following but it doesn't work:
lmod1.lm <- lm(log(dat$inaltu)~log(dat$indiam),subset=(!(dat$indiam %in%
c(0,1)))
and obtain:
Error en lm.fit(x, y, offset = offset, singular.ok =
2007 Jul 26
4
Does iSCSI target support SCSI-3 PGR reservation ?
Does opensolaris iSCSI target support SCSI-3 PGR reservation ?
My goal is to use the iSCSI LUN created by [1] or [2] as a quorum device for a 3-node suncluster.
[1] zfs set shareiscsi=on <storage-pool/zfs volume name>
[2] iscsitadm create target .....
Thanks,
-- leon
This message posted from opensolaris.org
2007 Apr 28
4
What tags are supported on a zvol?
I assume that a zvol has a vtoc. What tags are supported?
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070427/57e1a64f/attachment.html>
2011 Mar 23
1
what's interesting to plot after predict.lm?
Dear all,
I've fitted this model with train data
lms <- lm(vd ~ log(v1) + fv2+ fv5+ fv7 )
and predicted over test data using
plms <- predict.lm(lmsub, new=test,interval="predict",
level=0.95,se.fit=TRUE)
I've two questions:
q1: what's the difference between writing interval "predict" or "confidence"
? How are they computed?
Any
2001 Jan 23
10
smbpasswd error
Hallo ,
when I try to change user password on samba server i become this error :
error connecting to 127.0.0.1:139 (Verbindungsaufbau abgelehnt)
unable to connect to SMB server on machine 127.0.0.1. Error was : code
0.
Failed to change password for bukhari
if any someone I have an Idea please send me an E-Mail to
"ufz6@rz.uni-karlsruhe.de"
Thanks to All
Amir Bukhari
2007 Jan 10
2
using veritas dmp with ZFS (but not vxvm)
We have some HDS storage that isn''t supported by mpxio, so we have to use veritas dmp to get multipathing.
Whats the recommended way to use DMP storage with ZFS. I want to use DMP but get at the multipathed virtual luns at as low a level as possible to avoid using vxvm as much as possible.
I figure theres no point in having overhead from 2 volume manages if we can avoid it.
Has anyone
2007 Apr 30
4
need some explanation
Hi,
OS : Solaris 10 11/06
zpool list doesn''t reflect pool usage stats instantly. Why?
# ls -l
total 209769330
-rw------T 1 root root 107374182400 Apr 30 14:28 deleteme
# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
wo 136G 100G 36.0G 73% ONLINE -
# rm deleteme
# zpool list
NAME SIZE