search for: desvio

Displaying 9 results from an estimated 9 matches for "desvio".

2011 Aug 02
1
Using Function
...statistics to calculate for a large number of variables. I created a simple function to apply to variables. I would like the variable name to be placed automatically. I tried the following function but is not working. desc = function(x){ media = mean(x, na.rm=T) desvio = sd(x, na.rm=T) cv = desvio/media*100 saida = cbind(media, desvio, cv) colnames(saida) = c(NULL, 'M?dia', 'Desvio', 'CV') rownames(saida) = c(x) saida } desc(Idade) M?dia Desv...
2006 May 31
1
trouble with boot ()
...ear members, I am trying to use boot () to compute the distributions of a statistic of a data set. The statistic is defined in the following code: eds<-function(x) { r<-cor(x) paren<-1-abs(r)/2 denom<-sum(sum(paren)+0.5) desvio<-sd(x) media<-mean(x) a<-desvio/media nom<-sum(a*(sum(paren)+0.5)) eds_abs<-nom/denom print(eds_abs) } I need to calculate the nonparametric bootstrap confidence intervals for "eds_abs", but I...
2018 Feb 10
2
Optimizar función
...r *a las 3 variables númericas. Para la variable Aporte por ejemplo: descrip<-function(data) { grupos <- group_by(data, distrito) result <- summarise(grupos, media = mean(Aporte), maximo = max(Aporte), minimo = min(Aporte), desvio= sd(Aporte) ) return(result) } Pero me gustaría automatizarla para que corra para todas las variables del dataframe (3 en este caso pero van a ser mas de 23). Sugerencias??? Muchas gracias -- [[alternative HTML version deleted]]
2011 Aug 20
4
I have a problem with R!!
...ngrese ahora el valor objetivo# T <- 14.5 # Ingrese ahora el m?ximo valor admitido para la proporci?n de producci?n no conforme a cada lado de los l?mites de especificaciones# MA<- 0.00135 D<- min ((LSE-T), (T-LIE)) compo1 <- function(data, indices) { d<- data[indices] n = length (d) desvio <- sd(d) y<- rep(1:n) y[x <= mean(d)] <- 1 y[x >mean(d)] <- 0 RI1<- D/(3*desvio*2*mean(y)) RI2 <- D/(3*desvio*2*(1-mean(y))) return (min (RI1, RI2)) } compo2<- function(data, indices) { d <- data[indices] c2 <- (abs(mean(d) - T))/D return (1-c2) } compo3<-functio...
2008 Jul 22
2
Rsync job exiting with error "unexpected tag 3 [sender]"
...in server to my backup server. Main is Ubuntu 7.10 64 bit and backup is Ubuntu 6.10 32 bit. Both are Rsync 3.0.2. Please advise me if there any other debug information I should provide. I get this output: building file list ... done Attachments_Redmine.tar.gz BackupRedmine.sql calidad/ calidad/DESVIOS QQ 1.2 ADVANTEK 2000.mde unexpected tag 3 [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(825) [sender=2.6.9] The command line is rsync -av --stats /datos/sambashares/* neo::samba (the other two are the same except por the source and dest module). The module defini...
2008 Aug 20
3
Confidence Interval
...e level (95% -> 0.95) rep <- 1000 # Loops ####################################################################### y <- NULL # Vetor com as médias da amostra for (i in 1:rep){ # Loop x <- rnorm(n,xbar,s) # Gere uma amostra normal n elementos, xbar média e s desvio-padrão x <- mean(x) # Calcule a média (exata) dessa amostra y <- c(y,x) # Coloque essa média em um registro em y } y <- sort(y) # Ordene todas as médias geradas LI <- y[((1-nc)/2)*rep] # Limite inferior, LS <- y[rep-(((1-nc)/2)*rep)] #...
2009 Nov 06
4
PRUEBAS DE NORMALIDAD
Estimados todos: Me es grato escribir a esta lista de ayuda para R, ya que comparto 100% la filosofía de Software libre en especial software en Estadística ya que es la carrera que estoy siguiendo. El motivo de este mensaje es por un par de dudas que no pude resolver: 1. He utilizado las funciones para realizar pruebas de normalidad (kolmogorov-smirnov, cuando n>50) y (Shapiro, cuando
2013 Apr 10
5
Setting a CDR field from using feature codes...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am trying to set the CDR(userfield) to a certain vaule using the application map of features.conf but I am not able to do it. When I receive a call I would like to tag it with a client code (3 digit numeric) so I can referenci it later from the CDR. I have edited features.conf with something like: code => #111,self,SET(CDR(userfield(111)) or
2003 May 14
20
Call forwarding
Yo, Inspired by the example in the tips & tricks-section of "http://www.junghanns.net/asterisk/", I built a more elaborate call divert-feature. This one validates if the extension a call-forward is to be set to is actually valid for the current context and additionally saves this context into the DB and always uses it to originate the divert from, as you can't expect the