search for: cacul

Displaying 20 results from an estimated 45 matches for "cacul".

Did you mean: cacrl
2013 Sep 02
2
Backend for Lucene format indexes-How to get doclength
...ne backends. If you don't provide an implementation of wdf_upper_bound(), the default is to use the collection frequency of the term, so provided that information is available in the lucene files, the lack of wdf_upper_bound information isn't a show stopper. > I think this data will be caculated when doing copydatabase, I will update > the code later That's probably a good plan though. Cheers, Olly
2004 Jul 30
0
Help:how many bandwidth are borrowed in HTB?How to caculate!
...s 1:10 and class 1:30.I found that the class 1:30 will get more bandwidth than class 1:10.I got confused!You know,class can borrow more available bandwidth.But I don''t know why the low priority (1:30) can borrow more bandwidth than high priority(1:10)? Would anyone like to tell me how HTB caculate borrowed bandwidth? Any suggestion will be highly appreciated! Best Regards swcims swcims@163.com 2004-07-30 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lar...
2010 Jan 02
4
caculate the frequencies of the Amino Acids
...dont know why the loop is not working for the "i", which suppose to read the nine rows of the file sequence.txt. the sequence.txt file is attached to this message. cheers http://n4.nabble.com/file/n997072/sequence.txt sequence.txt -- View this message in context: http://n4.nabble.com/caculate-the-frequencies-of-the-Amino-Acids-tp997072p997072.html Sent from the R help mailing list archive at Nabble.com.
2005 Jul 28
12
Can you caculate with me?
before I accuse somebody to "overbill" I would like you to calculate with me: Rate: 0.0189 for calling Taiwan via NuFone Duration: 930 seconds Lets vote for the answers: 0.7269 or 0.2929 ??? bye Ronald Wiplinger
2009 Aug 04
2
Caculate first difference from a dataframe; write a simulation
Dear R Users I'm writing my first simulation in R. I've put across my problems with a smaller example in the attachment along with the questions. Please help. Best regards Meenu -------------- next part -------------- mydat<-read.table(textConnection("Level spread change State 4.57 1.6 BlF NA 4.45 2.04 BrS NA 3.07 2.49 BlS NA 3.26 -0.26 BlF NA 2.80 0.22 BrF NA 3.22 2.5 BrS NA
2005 Feb 15
2
how many 7th of the month is there between two dates
This is a eaeir way to ask my prior question: I want to caculate how many an exact day of the month there is between two dates. For example; How many 7th of the month is there between "1998/12/17" and "2000/1/7". To make the problem simple, the day of the month (7) is the day in the 2nd date.
2012 Apr 06
2
Sincere inquiry about “subscript out of bounds” error in R
...rking on a simulation of effect of artificial selection on certain population in Animal Breeding.I am new beginner in coding. I have already build a matrix A(500*500) based on this code A<-matrix(,500,500) for(i in 1:500){ for(j in 1:500){ ifelse(i==j,A[i,j]<-1,A[i,j]<-0) } } and I need to caculate A2 base on A and X1(4500*4500).Here are the codes A2<-matrix(4500,500) for(i in 1:4500){ for(j in 1:500){ A2[i,j]<-(A[X1[i,2],j]+A[X1[i,3],j])/2 } } and error happened like this:Error in A2[i, j] <- (A[X1[i, 2], j] + A[X1[i, 3], j])/2 : subscript out of bounds I check the criculation...
2013 Jun 16
3
Backend for Lucene format indexes-How to get doclength
...d_name:term, or file_name:term1 AND field_name:term2 Until now, I found some data needed for BM25 in Xapian are not existed in Lucene: 1. doclength_lower_bound?doclength_upper_bound 2. wdf_lower_bound?wdf_uppper_bound 3. total_length 4. doclength(for each document) 1-3 are statistics data, can be caculated when doing copydatabase, and store them in somewhere. But doclengh is hard to do this way. 1. some other data instead of doclength? 2. Xapian support other rank algorithm which does not need doclength? Is there some suggestions to solve this problem? And the demo patch is here: https://github...
2010 Dec 08
1
the output of function lars
...1] "arc.length" "Gram" "beta" "mu" "normx" [16] "meanx" I do not know what does RSS, arc.length, mu mean??? If mu means \hat{miu}, it does not seems to be right. I did not simulate my data with mean. besides I caculated R2 by myself but it cannot match the R2here I think R2=1-sum((y-x%*%lobj$beta)^2)/var(y)*19 #I have 20 observations...my R2 is lower than the one here Thanks a lot -- View this message in context: http://r.789695.n4.nabble.com/the-output-of-function-lars-tp3078460p3078460.html Sent from th...
2010 Dec 29
1
Is ACL+extended attributes exclusive with mask/mode family options?
Hello list, I've got a question from reading Using Samba 3rd, where it puts: ... the final permission is caculated by below filters in the order used by Samba: 1. Apply any DOS attribute mapping options << I take this as either map DOS attributes to execute bits, or store DOS attributes in extended attributes. Correct? 2. Apply the create mask settings 3. Apply the force create mode setti...
2012 Aug 02
1
finding the MLEs of IG parameters by EM-Alorithm
Dear all I'm trying to caculate the MLEs for parameters of Inverse Gaussian distribution (in a k-sample problem with common mean) by using EM-Algorithm. I found some package for EM-Algorithm that are useful for missing or incomplete data and are not helpful for solving my problem. (Exactly, the problem is: Let Xij, i=1,..,k ,...
2017 Jul 07
1
How does findAssocs() calculate the correlation value ??
...good explanation by Rick. ?]http://r.789695.n4.nabble.com/findAssocs-td3845751.html?^ But I still don't understand how to calculate the correlation value between the two vectors. For example: # Correlation word2 with word3 cor(c(0,1,1,1,1),c(0,0,1,1,1)) [1] 0.6123724 How does it caculate cor(c(0,1,1,1,1),c(0,0,1,1,1)) to get 0.6123724 ? Eva [[alternative HTML version deleted]]
2013 Aug 26
2
Backend for Lucene format indexes-How to get doclength
On Mon, Aug 26, 2013 at 09:41:07AM +0800, jiangwen jiang wrote: > > For now, using weighting schemes which don't use document length is > > probably the simplest answer. > > There's tf-idf weighting scheme on svn master, is it suitable for lucene > backend? Yes - TfIdfWeight doesn't ever use the document length (at least with the normalisations currently
2010 Aug 18
1
ask for help about netcdf
...information from every zone of the world,I want to extract only a part of them to calcuate, like the information in a city or the information between exact latitute range and longtitude range, can r tool help me to do that or in some point r tool is a statitcal software which focus on mathmatical caculation and the user have to translate the special data files into some data structure like array or vector by himself, then the r tools use the array or vector to calculate? I am very looking forward to your reply thanks very much sincerely mat chueng [[alternative HTML version deleted]]
2011 Dec 13
2
Inverse matrix using eigendecomposition
...e symmetric matrix. Use solve() to verify your code works. Started with a 3x3 matrix example to build the code, but something dosen't seem to be working. I just don't know where I am going wrong. ##Example matrix I found online A<-c(4,1,-1,1,2,1,-1,1,2) m<-matrix(A,nrow=3,ncol=3) ##Caculate the eigen vectors and eigenvalues E<-eigen(m, sym=TRUE) Q<-E$vectors V<-E$values n<-nrow(m) ##normalize the eigenvectors for(i in 1:n){ Q[,i]<-Q[,i]/sqrt(sum(Q[,i]^2)) } ##verify dot product of vectors are orthogonal sum(Q[,1]*Q[,2]) sum(Q[,1]*Q[,3]) sum(Q[,2]*Q[,3]) ##Begin...
2009 Sep 09
1
R code for creating and appending to frequency table
...nd of the loop have tried various commands: e.g. fdt[l]<- c(table(fd)) fdt[l] <- fd c(table(fdt)) c(table(fdt[l]))<- fd c(table(fdt[l]))<- c(table(fd)) and some other commands using append and assign. None of these produces what I am looking for and some mess up the rest of my caculations. When I tried the second of these I get the warning Warning: number of items to replace is not a multiple of replacement length. Any help would be much appreciated. -- View this message in context: http://www.nabble.com/R-code-for-creating-and-appending-to-frequency-table-tp25368860p253688...
2005 May 26
1
Simplify formula for heterogeneity
...lify H: sd = sqrt [ ( Si (Xi - mean(X) )?? ) /n ] -> simplified computation -> sqrt [ (n * Si( X?? ) - ( Si( X ) )?? )/ n?? ] This simplied formula is much easier in iterative programming, since I don't have to keep every element of X. E.g.: I have a vector X[1:10] and I already have caculated Si( X[1:10]?? ) (I will call this A) and Si( X ) (I will call this B). When X gets extendend by 1 element (eg. X[11]) it easy fairly simple to calculate sd(X[1:11]) without having to reuse the elements of X[1:10]. I just have to calculate: sd = sqrt [ (n * (A + X[11]??) - (A + X[11]??)?? ) / n...
2011 Dec 08
1
How to load the data set from an URL Link?
...without a solution. So, I have to take any data set from UCI repository website for example this one which is about consensus income: http://archive.ics.uci.edu/ml/datasets/Census+Income And here is the data folder: http://archive.ics.uci.edu/ml/machine-learning-databases/adult/ My task is to caculate to do this: a) Calculate measures of centrality (mean, median,...), dispersion (IQR, standard deviation...) and shape (skewness and kurtosis). b) Make histograms, normal probability plots, bar plots, box-plots and stem and leaf plots. c) Study the relation between, at least, two quantitative var...
2004 Apr 29
3
Probability(Markov chain transition matrix)
...s Maria, MBA student in Sanfransisco, USA. In my credit scoring class, I have hard time making "transition matrix", which explains probability especially in relation to "Markov chain model". It is regarding people's monthly credit payment behavior. Does R have function to caculate it? I am actually a novice in using 'R'. Please help me!!! Maria Gu
2003 Nov 20
2
reading data rows
...(as.numeric(mu1<-p$mu1),as.numeric(mu2<-p$mu2), as.numeric(alpha<-p$alpha),as.numeric(beta<-p$beta), as.numeric(Wsigma<-p$Wsigma),as.numeric(sigmaA<-p$sigmaA),as.numeric(b<-p$b),as.numeric(r<-p$r)) I intend to use the variables stored in the the data frame for my caculations. but each time I try I get the followingerror message. Error in uniroot(function(n) eval(p.body) - power, c(2, 1e+07)) : invalid function value in 'zeroin' In addition: Warning message: the condition has length > 1 and only the first element will be used in: if (f(lower...