Displaying 3 results from an estimated 3 matches for "vdep".
Did you mean:
vdef
2012 Sep 14
2
when to use "I", "as is" caret
Dear community,
I've check it while working, but just to reassure myself. Let's say we have
2 models:
model1 <- lm(vdep ~ log(v1) + v2 + v3 + I(v4^2) , data = mydata)
model2 <- lm(vdep ~ log(v1) + v2 + v3 + v4^2, data = mydata)
So in model1 you really square v4; and in model2, v4*^2 *doesn't do
anything, does it? Model2 could be rewritten:
model2b <- lm(vdep ~ log(v1) + v2 + v3 + v4, data = mydata) a...
2006 Feb 14
1
figs parameter for split.screen()
...er of rows and colunns in a screen matrix".
So, why does my code (below) produce a 2x1 screen matrix instead of
a 1x2 one?
Thanks in advance,
rodrigo.
-----------------------------------------------------------
plot.new()
split.screen(figs=c(1,2))
screen(1)
plot.new()
plot(v16[vd==0], vdep[vd==0], bg="aliceblue", cex= 0.5,
xlab="Age",ylab="AvWei", main="", ylim=c(x1,xn), cex.lab=1.1)
title(main = "Female", cex.main = 1.1 , font.main = 1, col.main = "black")
screen(2)
plot.new()
plot(v16[vd==1], vdep[vd==1], bg="al...
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),