Displaying 6 results from an estimated 6 matches for "rsqr".
Did you mean:
rsq
2011 Jan 14
2
read in data, maintain decimal places
...ny 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 .2087 .1866 0.166 0.387 0.1850 0.6671
rs12443141 A,T .2087 .1868 0.166 0.386 0.1851 0.667
rs12905389 A,G .2806 .6149 -0.038 0.193 0.0381 0.8452
R:
&g...
2004 Mar 17
1
ANCOVA when you don't know factor levels
...were above the line or below it, plus an
interaction term.
# The line is then adjusted, the individuals reclassified and the
process
# repeated. The output is of the form "Int" - intercept of the line
dividing
# one morph from another, "Slp" - the slope and "Rsqr", which gives
the R-
# squared value for the fitted model when the division into factors
is based on
# that particular line.
# An error message probably means that one of your lines has missed
the data
# altogether - in other words, all of your data points are
classifi...
2011 Aug 12
1
Which Durbin-Watson is correct? (weights involved) - using durbinWatsonTest and dwtest (packages car and lmtest)
..., mean=rep(0,k), sigma=sigma,
method="chol"))
names(mypop)<-paste("x",1:k,sep="")
set.seed(123)
mypop$x11<-sample(c(0,1),100000,replace=T)
set.seed(123)
betas<-round(abs(rnorm(k+1)),2) # desired betas
Y<-as.matrix(mypop) %*% betas
mypop<-cbind(mypop, Y)
rSQR<-.5
VARofY<- mean(apply(as.data.frame(mypop$Y),2,function(x){x^2})) -
mean(mypop$Y)^2
mypop$Y<-mypop$Y + rnorm(100000, mean=0, sd=sqrt(VARofY/rSQR-VARofY))
n<-200
set.seed(123)
cases.for.sample<-sample(100000,n,replace=F)
mysample<-mypop[cases.for.sample,]
mysample<-cbind(mysa...
2000 Aug 12
1
Nonlinear regression question
...om 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 Estimate = 4.1543
Coefficient Std. Error t P
a 34.5878 2.7690 12.4910 <0.0001
b 6.8553 2.2949 2.9872 0.0076
Analysis of Variance:
DF SS MS F P
Regression 1 2946.6381 2946.6381 170.7350 <0.0001
Residual 19 327.9123 17.2585
Total 20 32...
2008 Nov 20
1
Checking collinearity using lmer
I am running a logistic regression model with a random effect using lmer. I am uncertain how to check for collinearity between my parameters. I have already run cor() and linear regression for each combination of parameters, and all Rsqr values were <0.8….but I am analyzing ecological data so a 0.8 cutoff may be unrealistic.
-is there a way to check variance inflation factors or tolerance using lmer?-Or is there a better way?
_________________________________________________________________
[[alternative HTML version delete...
2008 Aug 13
2
which alternative tests instead of AIC/BIC for choosing models
Dear R Users,
I am looking for an alternative to AIC or BIC to choose model parameters.
This is somewhat of a general statistics question, but I ask it in this
forum as I am looking for a R solution.
Suppose I have one dependent variable, y, and two independent variables,
x1 an x2.
I can perform three regressions:
reg1: y~x1
reg2: y~x2
reg3: y~x1+x2
The AIC of reg1 is 2000, reg2 is