search for: weigh

Displaying 20 results from an estimated 739 matches for "weigh".

Did you mean: weight
2013 Feb 07
0
Ideas for allowing specification of weighing scheme for Eset
Hey guys ,Hi :) I am working on a hack which will allow the user to specify a weighing scheme (along with the parameters , if he does not not want to use the default values) to build the Eset (rather than using the hard coded TradWeight scheme with default k=1 ) as Olly had suggested that we can probably get better terms (a more relevant Eset) for query expansion if we use...
2013 Feb 06
1
weighing proportion of rowSums in dataframe
...quot;x05","x06"),a=c(1,2,NA,4,5,6),b=c(2,4,6,8,10,NA),c=c(NA,3,9,12,NA,NA),sum=c(3,9,15,24,15,6))    id    a     b     c   sum 1 x01  1     2    NA   3 2 x02  2     4     3      9 3 x03 NA  6     9     15 4 x04  4     8    12    24 5 x05  5    10   NA  15 6 x06  6   NA  NA   6 #my weights w<-c(10.5,9,12.8) #now I want to calculate the proportion of the rowsum = "sum" of every other number in the row, that is df[1,2]/df[1,5], df[1,3]/df[1,5], ... #e.g. df.prop    id         a         b           c          sum 1 x01      0.33     0.66     NA        3 2 x02    ...
2013 Feb 06
0
weighing pro​portion of rowSums i​n dataframe
...,2,NA,4,5,6),b=c(2,4,6,8,10,NA),c=c(NA,3,9,12,NA,NA),sum=c(3,9,15,24,15,6)) > > > > id a b c sum > > 1 x01 1 2 NA 3 > > 2 x02 2 4 3 9 > > 3 x03 NA 6 9 15 > > 4 x04 4 8 12 24 > > 5 x05 5 10 NA 15 > > 6 x06 6 NA NA 6 > > > > > > #my weights > > w<-c(10.5,9,12.8) > > > > #now I want to calculate the proportion of the rowsum = "sum" of every other number in the row, that is df[1,2]/df[1,5], df[1,3]/df[1,5], ... > > > > > > #e.g. > > > > > > df.prop > >...
2006 Sep 17
2
histogram frequency weighing
...lenh$counts [1] 0 0 0 0 0 1 0 3 0 1 0 4 0 2 0 5 0 6 0 10 0 9 0 4 0 [26] 1 0 6 0 7 0 6 0 8 0 7 0 3 0 6 0 6 0 4 0 9 0 7 0 5 [51] 0 2 0 8 0 3 0 4 0 1 0 1 0 3 0 1 0 1 0 0 0 1 0 4 0 [76] 0 0 1 0 0 and we wanted to apply a weighing scheme where frequencies immediately following (and only those) empty class intervals (0) should be adjusted by averaging them over the number of preceding empty intervals + 1. For example, the first frequency that would need to be adjusted in 'lenh' is element 6 (1), which has 5 preced...
2011 Jan 06
3
weighed mean of a data frame row-by-row
Dear list, This must be an easy one. I have a data frame like this one: test.df <- data.frame(x1=c(2,3,5), x2=c(5, 3, 4), w=c(0.8, 0.3, 0.5)) and I want to construct a weighted mean of the first two columns using the third column for weighting; i.e. y[1] = x1[1]*w[1] + x2[1]*(1-w[1]) y[2] = ... One way to do this is to use a loop like test.df$y <-numeric(3) with(test.df, for(i in 1:length(w)) { test.df$y[[i]] <<- weighted.mean(c(x1[[i]],x2[[i]]),c(w[[i]],...
2013 Jan 31
0
Modify Eset to allow specification of weighing scheme
Hey guys,Hi :) I am now beginning work on modification of Eset so that that the user can specify one of the three of Xapian's inbuilt weighing scheme to build the Eset or code his own (similar to what we already allow for Mset) .Will read the code for Mset and Eset and see where it differs so as to know what code to write for Eset .Will mail the community once I am done with it.:) -Regards -Aarsh Shah -------------- next part --------...
2006 Aug 31
0
Weighed 2D kernel density estimator
Is there a function/package that performs weighted 2D density estimates? I haven't found anything searching with those keywords, but perhaps there is a more general algorithm that I should be looking for. Any hints appreciated. Thanks, Hadley
2018 Feb 16
0
weighed Fleming-Harrington log rank test
You are correct that the survreg routine only supports 'rho' of the Fleming-Harrington G-rho tests. This is a function of age -- I wrote the original code back when I was working with Tom (Fleming), and he was only using 1 parameter. Later he and David expanded the test to two parameters. This might be only the second request for the feature in the 30+ years since that date. Terry
2018 Feb 16
0
weighed Fleming-Harrington log rank test
Thank you Terry. Right now I can use comp() from survMisc package to do the 2-parameter version of F-H weighting. I think both SAS and stata offer the 2-parameter version, so just?thought it would be nice if survdiff() can have that option given it's standard package in R.? Thanks! John On Friday, February 16, 2018, 7:08:46 AM PST, Therneau, Terry M., Ph.D. <therneau at mayo.edu> wrote:...
2010 May 11
1
(svy)glm and weights question
Hi all, I am running a set of logistic regressions, where we want to use some weights, and I am not sure whether what I am doing is reasonable or not. The dependent variable is turnout in an election - i.e. survey respondents were asked whether or not they voted. The percentage of those who say they voted is much higher than the actual turnout, probably due both to non-response b...
2014 Feb 11
2
Next Steps.
Hey guys, I had introduced myself earlier on IRC. I talked to Parth and had a brief chat with Olly, but just to re-iterate I'm Tejas Nikumbh, and I'm interested in contributing to Xapian for GSoC this year. I'm specifically interested in letor and weighing schemes projects. I've been able to build xapian on my machine without any errors via the Guidelines on the Hacking file in Xapian core. I was wondering if there are any simple issues in xapian which I might try and resolve in order to get familiar with the codebase and push a few commi...
2015 Jan 08
5
logrotate script not working
...nf file I have the following entry: # rotate all of the apache logs -- we'll rotate them here /var/log/mysqld.log { weekly size 50M create 0644 mysql mysql rotate 1 } And from that I would expect the log to rotate when it reaches 50M in size. However I just caught that log weighing in at 356MB!! So how can I get this log file to rotate when it hits 50MB? Any ideas, advice and help at all would be appreciated. Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
2010 Jun 29
8
What TERMINAL software do you use for MS Windows platform and WHY?
...but it's not very good when it comes to scrolling up and down, colors, text size, and specially it doesn't give a title to the opened instance. Maybe giving the IP address as the title of the window would help a lot if you have many different servers opened at the same time. Can you please weigh in and tell me what your favorite terminal software is and why? Thanks, Bruce -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100629/2723cea0/attachment.htm
2006 Apr 10
3
Vertical
...r_resource_info/vsc_assign) in the Asterisk dialplan, or if I should delegate those functions to the various ATA's. For example, the Sipura SPA 2002 can handle*69 internally. On the other hand, doing it in the Asterisk dialplan gives me centralized control. I'm torn. Anyone want to weigh in on this? -- Mike gpg key: http://diehlnet.com/~mdiehl/mdiehl.asc 83AD D927 758D 4BFC A800 0277 4B26 75A4 F0D1 C7EB
2009 Sep 28
3
Remove single entries
Dear Community, I have a data set with two columns, bird number and mass. Individual birds were captured 1-13 times and weighed each time. I would like to remove those individuals that were captured only once, so that I can assess mass variability per bird. I¹ve tried many approaches with no success. Can anyone recommend a way to remove individuals that were captured only once? Thanks, Ray [[alternative HTML versi...
2009 Jun 20
3
DVD NTSC video plays twice as fast when encoded with libtheora
...roblem was at, and found that the problem persisted. As a result I had thought this was a problem with ffmpeg, but the ffmpeg folks seem to indicate that this is specific to Theora (too much finger pointing I think.) I can confirm that switching codecs does solve the problem, though. Anyone care to weigh in? A small section (10MB) of the problematic video can be obtained from http://shows.bluehome.net/kfp_small.vob.
2003 Sep 01
3
meta-analysis question
Dear R-helpers, i have the following situation: i have a bunch of y=b0 + b1*x from different studies, and want to estimate a "general" y=f(x). I only have the b0,b1's and R-squareds. Should i weigh the separate equations by their R-squared? thanks Remko ^'~,_,~'^'~,_,~'^'~,_,~'^'~,_,~'^'~,_,~'^'~,_,~' Remko Duursma, Ph.D. student Forest Biometrics Lab / Idaho Stable Isotope Lab University of Idaho, Moscow, ID, U.S.A.
2005 Oct 28
4
clustering
Hi everybody, I'm performing a cluster analysis (pkg "cluster") on a dataset which includes 15 variables: is there a way to know how much each variable weighs on the final clustering output? Thanks Alessandro
2004 Feb 25
2
circular filter
I try to find a circular filter that I can export to be used in a spatial software. Assuming, we have a matrix, representing 9x9 regularly spaced points with the center point 'filter[5, 5]'. In this example, I want to find a function that weighs all neighbor points within a distance of d=4 units with 1: > filter <- matrix(0, 9, 9) > filter <- function() ... > filter [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [1,] 0 0 0 0 1 0 0 0 0 [2,] 0 0 1 1 1 1 1 0 0...
2008 Jul 20
3
asp and ylim
#See David Williams' book "Weighing the odds", p286 y <- c(1.21, 0.51, 0.14, 1.62, -0.8, 0.72, -1.71, 0.84, 0.02, -0.12) ybar <- mean(y) ylength <- length(y) ybarv <- rep(ybar, ylength) x <- 1:ylength plot(x,y,asp=1,xlab="position",ylab="ybar",type="n",ylim=c(-1,1)) segme...