search for: sd

Displaying 20 results from an estimated 4768 matches for "sd".

Did you mean: bsd
2009 Aug 24
1
how to add 95% confidential interval as vertical lines to x axe in density plot
...I do not know how to handle functions of this library when I used ggplot2 to draw the graph. Thank you in advance. The data and codes followed: # dummy data factor<-rep(c("Alice","Jone","Mike"),each=100) factor<-factor(factor) traits1<-c(rnorm(100, mean=1, sd=1), rnorm(100, mean=3, sd=3), rnorm(100, mean=6, sd=6)) traits2<-c(rnorm(100, mean=1, sd=1), rnorm(100, mean=3, sd=3), rnorm(100, mean=6, sd=6)) traits3<-c(rnorm(100, mean=1, sd=1), rnorm(100, mean=3, sd=3), rnorm(100, mean=6, sd=6)) traits4<-c(rnorm(100, mean=1, sd=1), rnorm(100, mean=3,...
2004 Mar 29
4
strange thing with sd
Dear R people I came across a strange thing: sd(rep(0.01, 15)) #0 sd(rep(0.001, 15)) #4.489023e-19 sd(rep(0.00001, 15)) #0 sd(rep(0.00000001,15)) #1.712427e-24 sd(rep(0.01, 13)) #1.805557e-18 sd(rep(0.001, 13)) #4.513894e-19 sd(rep(0.00001, 13)) #0 sd(rep(0.00000001,13)) #0 sd(rep(5.01, 15)) #0 sd(rep(5.001,...
2009 Aug 21
0
how to plot 95% confidential interval as vertical lines to x axe in density plot
...I do not know how to handle functions of this library when I used ggplot2 to draw the graph. Thank you in advance. The data and codes followed: # dummy data factor<-rep(c("Alice","Jone","Mike"),each=100) factor<-factor(factor) traits1<-c(rnorm(100, mean=1, sd=1), rnorm(100, mean=3, sd=3), rnorm(100, mean=6, sd=6)) traits2<-c(rnorm(100, mean=1, sd=1), rnorm(100, mean=3, sd=3), rnorm(100, mean=6, sd=6)) traits3<-c(rnorm(100, mean=1, sd=1), rnorm(100, mean=3, sd=3), rnorm(100, mean=6, sd=6)) traits4<-c(rnorm(100, mean=1, sd=1), rnorm(100, mean=3,...
2012 Jan 08
3
Conditional Loop For Data Frame Columns
Hi, I am trying to create a script that will evaluate each column of a data frame, regardless of # columns, using some function and sorting the results by an index vector: #upload data (112 rows x 73 columns) SD <- read.csv("/Users/johnjacob/Desktop/StudentsData_RInput.csv", header=TRUE) #assign index vector ID <- SD[ ,2] #write indexed mean function meanfun <- function(x) { for(i in 3:ncol(x)) { meanSD <- tapply(x[,i], ID, FUN=mean)} return(meanSD) } #apply function to data mean...
2003 Sep 03
0
Updated power.t.test
...d gladly update the corresponding help page if the code is to replace the current power.t.test function. The modified power.t.test code is included below. The changes are as follows: - Added three new arguments to the function * ratio : the ratio between group sizes (defaults to 1) * sd.ratio : the ratio between group sd's (defaults to 1) * df.method : the method used to calculate the df (defaults to Welch's/Satterthwaite as in the t.test function) The three new arguments are unly used for the unpaired two-sample case (i.e., when type="two.sample"), and they...
2009 Mar 10
6
Pseudo-random numbers between two numbers
I would like to generate pseudo-random numbers between two numbers using R, up to a given distribution, for instance, rnorm. That is something like rnorm(HowMany,Min,Max,mean,sd) over rnorm(HowMany,mean,sd). I am wondering if dnorm(runif(HowMany, Min, Max), mean, sd) is good. Any idea? Thanks. -james
2010 Jul 14
1
RAW_ACLS smbtorture test
Hi All, I wanted to check the state of the ACL evaluation engine in samba. I have configured my linux sles 10, samba version 3.5.1-3.3-2332 with "ea support = yes", "store dos attributes=yes", "vfs objects = acl_xattr" and get lots of error + some failure messages. I attached the results of running the test against both samba as well as native windows 2003 cifs
2004 Jun 24
0
help:about ext3
every one,I meet a problem: I used reahat9.0(kernel 2.4.20-8smp,I installed a SCSI RAID Card),and there are always some problems and them the system is dead. is anyone can help me about it? Thanks Crist Below is the error log: Jun 11 22:19:03 mail1 kernel: EXT3-fs error (device sd(8,18)): ext3_free_blocks: Freeing blocks not in datazone - block = 1382828372, count = 1 Jun 11 22:19:03 mail1 kernel: EXT3-fs error (device sd(8,18)): ext3_free_blocks: Freeing blocks not in datazone - block = 1481734211, count = 1 Jun 11 22:19:03 mail1 kernel: EXT3-fs error (device sd(8,18)):...
2019 Sep 17
2
CentOS7 sometimes don't detect NIC after reboot
Dne 17.9.2019 v 16:14 Ralf Prengel napsal(a): > > > Am 17.09.2019 um 13:05 schrieb Miroslav Geisselreiter: >> I have brand new PC with this components: >> CPU Intel? Pentium G5400, LGA1151 >> motherboard ASUS PRIME B360M-C >> 16 GB RAM >> HDD 2x ADATA SSD 256GB XPG GAMMIX S11, PCIe Gen3x4 M.2 2280 (RAID1) >> NIC Intel X550-T1 Ethernet Converged Network Adapter >> >> I installed CentOS 7 and two NICs were detected: >> eno1 (on motherboard) >> enp1s0 (Intel X550-T1) >> >> When I restart the machine sometimes e...
2010 Jun 03
2
Tracking down hangs
...show that it took some time to return the cat of an unrelated file - usually the same amount of time it took to run the sync. What's the best place to start looking for the cause of these hangs? I've attached the dmesg output which includes some call traces for hung threads. I have stat_sysdir output though I suspect it's not so relevant. A scanlocks output doesn't reveal any busy locks that I can see (unless I'm not hitting it at the right time or misreading the output). For the DRBD replication there's a pair of bonded GBit NICs dedicated to the job. The other two GB...
2012 Aug 07
2
Repeated Aggregation with data.table
...egation, and I frequently define a single aggregation function that I use to aggregate over different groups. For example, require(plyr) dat <- data.frame(x = sample(3, 100, replace=TRUE), y = sample(3, 100, replace = TRUE), z = rnorm(100)) f <- function(x) { data.frame(mean.z = mean(x$z), sd.z = sd(x$z)) } ddply(dat, "x", f) ddply(dat, "y", f) ddply(dat, c("x", "y"), f) I recently discovered the data.table package, which dramatically speeds up the aggregation: require(data.table) dat <- data.table(dat) dat[, list(mean.z = mean(z), sd.z = s...
2013 May 16
1
[RFC PATCH v2, part3 07/11] PCI, xen-pcifront: use new PCI interfaces to simplify implementation
...t list_head list; - struct pci_bus *bus; -}; - #define _PDEVB_op_active (0) #define PDEVB_op_active (1 << (_PDEVB_op_active)) @@ -47,12 +42,12 @@ struct pcifront_device { struct xen_pci_sharedinfo *sh_info; struct work_struct op_work; unsigned long flags; - }; struct pcifront_sd { int domain; struct pcifront_device *pdev; + struct resource busn_res; }; static inline struct pcifront_device * @@ -67,6 +62,12 @@ static inline void pcifront_init_sd(struct pcifront_sd *sd, { sd->domain = domain; sd->pdev = pdev; + + /* Xen pci-backend doesn't export P2P b...
2013 May 16
1
[RFC PATCH v2, part3 07/11] PCI, xen-pcifront: use new PCI interfaces to simplify implementation
...t list_head list; - struct pci_bus *bus; -}; - #define _PDEVB_op_active (0) #define PDEVB_op_active (1 << (_PDEVB_op_active)) @@ -47,12 +42,12 @@ struct pcifront_device { struct xen_pci_sharedinfo *sh_info; struct work_struct op_work; unsigned long flags; - }; struct pcifront_sd { int domain; struct pcifront_device *pdev; + struct resource busn_res; }; static inline struct pcifront_device * @@ -67,6 +62,12 @@ static inline void pcifront_init_sd(struct pcifront_sd *sd, { sd->domain = domain; sd->pdev = pdev; + + /* Xen pci-backend doesn't export P2P b...
2013 May 16
1
[RFC PATCH v2, part3 07/11] PCI, xen-pcifront: use new PCI interfaces to simplify implementation
...t list_head list; - struct pci_bus *bus; -}; - #define _PDEVB_op_active (0) #define PDEVB_op_active (1 << (_PDEVB_op_active)) @@ -47,12 +42,12 @@ struct pcifront_device { struct xen_pci_sharedinfo *sh_info; struct work_struct op_work; unsigned long flags; - }; struct pcifront_sd { int domain; struct pcifront_device *pdev; + struct resource busn_res; }; static inline struct pcifront_device * @@ -67,6 +62,12 @@ static inline void pcifront_init_sd(struct pcifront_sd *sd, { sd->domain = domain; sd->pdev = pdev; + + /* Xen pci-backend doesn't export P2P b...
2009 Oct 26
3
Sandard deviation calculation
Dear all I am trying to learn R I was trying to calculate standard deviation here are the commands and outputs in R > sd(Ht_cm[type=='SD'])[1] 3.283605> sd(Ht_cm[from_treeline=='above'])[1] 16.83289> sd(Ht_cm[type=='SD'][from_treeline=='above'])[1] NA> the problem is that, i could not understand why the third command could not give any result. please help me out thanking...
2012 Nov 28
3
write out list of lists with names
...e data wrangling for a colleague and I have nested list in the following format: structure(list(MU10 = structure(c(0.80527905920989, 0.4350488707836, 0.455195366623, 0.565174432205497, 0.208180556861924), .Names = c("MU.16", "MU.19", "MU.21", "mean", "sd")), MU11 = structure(c(0.56061565798878, 0.65200918021661, 0.606312419102695, 0.0646249793238221), .Names = c("MU.21", "MU.22", "mean", "sd")), MU12 = structure(c(0.77265115449472, 0.3925776107826, 0.38222435807226, 0.515817707783193, 0.22248452074855...
2001 Oct 16
0
2.2.19 hang
This is a 2.2.19 machine with ext3-0.0.7a and quota support running. The symptoms are a particular NFS export hangs (for linux clients but not Solaris clients?) the local filesystem gives the following: EXT3-fs warning (device sd(8,49)): ext3_free_blocks: bit already cleared for block 2213 EXT3-fs error (device sd(8,49)): ext3_free_blocks: Freeing blocks not in datazone - block = 1563120916, count = 1 EXT3-fs error (device sd(8,49)): ext3_free_blocks: Freeing blocks not in datazone - block = 1263356887, count = 1 EXT3-fs...
2011 Aug 22
3
Multiple regression in R - unstandardised coefficients are a different sign to standardised coefficients, is this correct?
...ta, is as follows (once the database has been imported from SQL, and outliers removed). Z1sub <- Z1[, c(2, 5, 7,11, 12, 13, 15, 16)] colnames(Z1sub) <- c("temp", "hum", "wind", "press", "rain", "s.rad", "mean1", "sd1" ) attach(Z1sub) names(Z1sub) Model1d <- lm(mean1 ~ hum*wind*rain + I(hum^2) + I(wind^2) + I(rain^2) ) summary(Model1d) Call: lm(formula = mean1 ~ hum * wind * rain + I(hum^2) + I(wind^2) + I(rain^2)) Residuals: Min 1Q Median 3Q Max -1230.64 -63.17 1...
2009 Feb 25
1
Computing sd across an array with missing values
Dear help, suppose I have this array and want to compute sd aross rows and columns. p <- array(c(1:5, rep(NA, times = 3)), dim = c(5, 5, 3)) apply(p, 1:2, sd) fails because sd requires at least 2 numbers to compute sd apply(p, 1:2, sd, na.rm = TRUE) fails for the same reason I crafted my own function that does what I want sd_fun <- function(i){ i...
2012 Sep 07
7
Producing a table with mean values
...ean) : * * incorrect number of subscripts * The code I used: *SChla <- read.csv("SM_Chla_data.csv")* *sm <- as.character(unique(SChla$Seamount))* * * *results <- matrix(NA,nrow=length(sm),ncol=6,dimnames=list(sm,c("u.Pico","u.Nano","u.Micro","sd.Pico","sd.Nano","sd.Micro"))) * * * *for (i in sm){* *z <- subset(SChla, Seamount==i, select=c(Pico, Nano, Micro))* *results[i,"u.Pico","u.Nano","u.Micro"] <- sapply(z, mean)* *results[i,"sd.Pico","sd.Nano","sd.Mi...