search for: resid

Displaying 20 results from an estimated 4085 matches for "resid".

Did you mean: reside
2011 Mar 10
1
3 dimensional MDS plots
...metaMDS(sp.rich) : object 'sp.rich' not found > mdsg.mds<- metaMDS(mdsg) Square root transformation Wisconsin double standardization Run 0 stress 10.62813 Run 1 stress 14.73774 Run 2 stress 11.19939 Run 3 stress 10.61520 ... New best solution ... procrustes: rmse 0.005646588 max resid 0.009332332 Run 4 stress 10.61520 ... New best solution ... procrustes: rmse 0.0001009763 max resid 0.0001754211 *** Solution reached > mdsg.mds.ALT<- metaMDS(mdsg, distance="euclidean", k=3, trymax=50, autotransform=FALSE) Run 0 stress 3.020817 Run 1 stress 0.00673153 ... Ne...
2020 Feb 18
2
Resident keys?
Hello, I?m trying out the ?resident key? functionality in OpenSSH 8.2, and I?m having trouble getting it to find keys that I?ve created. I?m trying to create a new resident key using: ssh-keygen -O resident -t ed25519-sk -f <filename> This creates a key, but I?m not actually sure it is creating a ?resident? key, as wh...
2008 Nov 12
1
Understanding glm family documentation: dev.resids
Hi all Consider the family function, as used by glm. The help page says the value of the family object is a list, one element of which is the following: dev.resids function giving the deviance residuals as a function of (y, mu, wt). But reading any of the family functions (eg poisson) shows that dev.resids is a function that computes the *square* of the deviance residuals (at least, by every definition I know of). Further, the deviance residuals retur...
2012 May 29
0
[PATCH] xenpm: Fix reporting of C0 residence times
# HG changeset patch # User Boris Ostrovsky <boris.ostrovsky@amd.com> # Date 1338309680 -7200 # Node ID 3d52d9fe62559ed6f90cb33a4b95f536ab5bc683 # Parent 53e0571f94e4bcc45270dcbd444c7c91166cef6d xenpm: Fix reporting of C0 residence times Idle state residence times as provided by pmstat_get_cx_stat() are not reported precisely since remote core may be in idle state and therefore has not updated its statistics at the time local core collected them. This causes C0 residencies as calculated by xenpm to sometimes become negat...
2010 Oct 01
2
Format of Output of Residuals
An excerpt from dataset ChickWeight: ??? weight Time Chick Diet 1?????? 42??? 0???? 1??? 1 2?????? 51??? 2???? 1??? 1 3?????? 59??? 4???? 1??? 1 I am interested in the residuals of the dataset.? Specifically in saving them to another format. I have been creating text files with sink. CW.lm <- lm(weight ~ Diet, ChickWeight) resid.CW.lm <- resid(CW.lm) But when I call: resid.CW.lm The data appears like this (excerpt) : ?????????? 1??????????? 2??????????? 3????...
2007 Oct 08
0
Residuals for binomial lmer fits
Dear all, I would like to use the residuals in a general linear mixed effect model to diagnose model fit. I know that the resid function has been implemented for linear mixed models but not yet for general linear mixed effects. Is there a way to get them out of lmer fit objects? I tried searching the r-help archive and found nothin...
2006 Nov 16
4
lme4 package: Fitted values and residuals
Dear all, I have three concerns: 1) I am running models with the lme4 package. I cannot find a way to pull out a vector of the fitted values and the residuals. Does anybody know how to do it? 2) How can I nest a random effect variable into a "two-level" fixed effect variable? 3) Suppose I have the following model: y = a + b|c + d + error, where 'a' is a fixed effect, 'c' is a random effect nested with the random effect '...
2011 Oct 25
5
[PATCH] pm : provide CC7/PC2 residency
x86 pm : provide CC7/PC2 residency Sandy bridge introduces new MSR to get cc7/pc2 residency (core C-state 7/package C-state 2). Print the cc7/pc2 residency when on sandy bridge platform. Signed-off-by: Yang Zhang <yang.z.zhang@intel.com> diff -r 662dbf6ee71c tools/libxc/xc_pm.c --- a/tools/libxc/xc_pm.c Mon Oct 24...
2011 Oct 24
1
Creating data frame with residuals of a data frame
Dear experts, I am trying to create a data frame from the residuals I get after having applied a linear regression to each column of a data frame, but I don't know how to create this data frame from the resulting list since the list has differing numbers of rows. So for example: age<- c(5,6,10,14,16,NA,18) value1<- c(30,70,40,50,NA,NA,NA) value2<-...
2005 Dec 09
1
Residuals from GLMMs in the lme4 package
Hello there This is the first time I have used r-help message board so I hope I have got the right address. I am trying to check the residuals of a GLMM model(run using the package lme4). I have been able to check the residiuals of REMLs in lme4 using the following: m1<-lmer(vTotal~Week+fCollar+ (1|fCat), collars) res<-resid(m1) plot(res) qqnorm(res) library(MASS) par(mfrow=c(2,3)) res<-residuals(m1) truehist(res,main=&quot...
2012 Jul 22
20
Kernel crash with acpi_processor, cpu_idle and intel_idle =y
...should be able to reach as far as C7. Here is the snipped output of two commands: # xenpm get-cpufreq-states cpu id : 0 total P-states : 11 usable P-states : 11 current frequency : 1600 MHz P0 [2801 MHz]: transition [ 11] residency [ 866 ms] P1 [2800 MHz]: transition [ 1] residency [ 0 ms] P2 [2667 MHz]: transition [ 0] residency [ 0 ms] P3 [2533 MHz]: transition...
2012 Jul 22
20
Kernel crash with acpi_processor, cpu_idle and intel_idle =y
...should be able to reach as far as C7. Here is the snipped output of two commands: # xenpm get-cpufreq-states cpu id : 0 total P-states : 11 usable P-states : 11 current frequency : 1600 MHz P0 [2801 MHz]: transition [ 11] residency [ 866 ms] P1 [2800 MHz]: transition [ 1] residency [ 0 ms] P2 [2667 MHz]: transition [ 0] residency [ 0 ms] P3 [2533 MHz]: transition...
2010 Sep 16
4
Pesky homemade function code
Hi all- this seems to be simple to figure out but since im new to writing functions I dont know what is happening. Here is my code along with the error I am receiving: semivario=function(data,ids,times,resids){ id=unique(data$ids) index=combinations(length(data$times[data$ids==id[1]]),2) time=gamma=numeric(dim(index)[1]) for (j in 1:dim(index)[1]){ time[j]=abs(data$times[data$ids==id[1]][index[j,1]]-data$times[data$ids==id[1]][index[j,2]]) gamma[j]=.5*(data$resids[data$ids==id[1]][index[j,1]]-data$re...
2005 Feb 02
1
anova.glm (PR#7624)
...e <- gl(3,1,9) > treatment <- gl(3,3) > glm.D93 <- glm(counts ~ outcome + treatment, family=poisson()) > anova(glm.D93,test="Chisq") Analysis of Deviance Table Model: poisson, link: log Response: counts Terms added sequentially (first to last) Df Deviance Resid. Df Resid. Dev P(>|Chi|) NULL 8 10.5814 outcome 2 5.4523 6 5.1291 0.0655 treatment 2 0.0000 4 5.1291 1.0000 > anova(glm.D93,test="F") Analysis of Deviance Table Model: poisson, link: log Response: counts Terms add...
2000 Mar 31
1
R: one bananna aov() question
...or(indep.var) is TRUE... why can't I just do aov(dep.var ~ indep.var, data = data.set)? What have I done to deserve this?! What gives? Am I missing something totlly obvious? R-base-1.0.0-1, linux RH 6.1. --------------------------------------------------------------------- > aov(aggr.resid ~ indiv.code, data = resids.dat) Error in lm.fit(x, y, offset = offset) : NA/NaN/Inf in foreign function call (arg 4) In addition: Warning message: "-" not meaningful for factors in: Ops.factor(y, offset) > aov(indiv.code ~ aggr.resid, data = resids.dat) Error in lm.fit(x, y, offset...
2020 Feb 18
2
Resident keys?
On Feb 17, 2020, at 9:45 PM, Damien Miller <djm at mindrot.org> wrote: > On Mon, 17 Feb 2020, Ron Frederick wrote: >> I?m trying out the ?resident key? functionality in OpenSSH 8.2, and >> I?m having trouble getting it to find keys that I?ve created. >> >> I?m trying to create a new resident key using: >> >> ssh-keygen -O resident -t ed25519-sk -f <filename> >> >> This creates a key, bu...
2002 Feb 28
1
trying to build matrix for tests...
Okay, I stumped. I'm trying to build a matrix or data.frame that consists of values by group. For example, resid, group 574 0.536196370873122 E 575 0.93191093696265 E 576 -1.27116094894117 A 577 -1.05159666055027 A 578 0.398273458301184 D 579 0.586373126102573 E 580 0.806575304513802 E 581 0.897258393118338 E 582 0.342393324256838 D 583 0.781245511773227 E I can get the values...
2005 Jun 16
1
mu^2(1-mu)^2 variance function for GLM
...on isn't readily available in R's `quasi' family object, but it seems to me that the following definition could be used: }, "mu^2(1-mu)^2" = { variance <- function(mu) mu^2 * (1 - mu)^2 validmu <- function(mu) all(mu > 0) && all(mu < 1) dev.resids <- function(y, mu, wt) 2 * wt * ((2 * y - 1) * (log(ifelse(y == 0, 1, y/mu)) - log(ifelse(y == 1, 1, (1 - y)/(1 - mu)))) - 2 + y/mu + (1 - y)/(1 - mu)) I've modified the `quasi' function accordingly (into `quasi2' given below) and my results are very much in line...
2007 May 18
1
partial correlation significance
...list to do partial correlation in the following two that I had a look I am getting different t-values. Does anyone have any clues on why is that? The source code is below. Thanks. pcor3 <- function (x, test = T, p = 0.05) { nvar <- ncol(x) ndata <- nrow(x) conc <- solve(cor(x)) resid.sd <- 1/sqrt(diag(conc)) pcc <- -sweep(sweep(conc, 1, resid.sd, "*"), 2, resid.sd, "*") #colnames(pcc) <- rownames(pcc) <- colnames(x) if (test) { t.df <- ndata - nvar t <- pcc/sqrt((1 - pcc^2)/t.df) print(t); pcc <- list(coefs = pcc, s...
2018 Oct 02
3
maximum matrix size
...t specific checks in front some or all of my .Call() statements, in order to give a sensible message whenever a bounday is struck.? A well meaning person just posted a suggested "bug fix" to the github source of one routine where my .C call allocates a scratch vector, suggesting? "resid = double( as.double(n) *nvar)" to prevent a "NA produced by integer overflow" message,? in the code below.?? A fix is obvously not quite that easy :-) ??? ??? resid <- .C(Ccoxscore, as.integer(n), ??? ??? ??? ??? as.integer(nvar), ??? ??? ??? ??? as.double(y), ??? ??? ??? ?...