Displaying 20 results from an estimated 100 matches similar to: "how to calcualte Jaccard Coefficient"
2009 Feb 25
2
run latent class analysis with R
What's the best approach to running latent class analysis with R? I've downloaded both randomLCA and poLCA packages, but I am interesting in running a standard LCA with individual records (not frequency table) as input data.
Wen Gu
John Jay College of Criminal Justice445 West 59 StreetNew York, NY 10029
wgu@gc.cuny.edu
_________________________________________________________________
2009 Mar 29
1
help on plot tick marks
Hi there,
I have a yearly data from 1990-2030. The tick marks only show every five years. I want to add another tick mark at 2008 since data beyond that are predicted. How can I just add one tick mark to the X axis? Thank you.
Best,
Jacky
_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®.
2006 Nov 20
1
Is there any R package to calcualte "Power" for ANCOVA
Dear list members:
I searched the R-help for packages to calculate power for an ANCOVA problem
I have. I have found power.t.test, power.anova.test. But it seems that I can
not found one with ANCOVA.
I have two datasetsets with variables: univariate response(one data with
continous response and one with 0 and 1), treatment(two levels),
covariates(x1,x2,x3).
I would appreciate your help.
Tony
2009 Mar 12
4
Serving 120 concurrent calls
Hello,
a local prison contacted us regarding some calling card solution.
they need 4 E1s to serve 120 rooms in that prison.
we are planning on using 4 servers to serve the calls and one for the database
servers' specifications are:
2.8 Dual Core Proccessors
2 GB Ram
160 Sata Drive
each server will be provided with 1 E1 card
Questions are:
1- will those servers be able to handle that ammount
2009 Mar 02
3
[LLVMdev] Tight overlapping loops and performance
> Date: Mon, 2 Mar 2009 13:41:45 -0800
> From: eli.friedman at gmail.com
> To: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Tight overlapping loops and performance
>
> Hmm, on my computer, I get around 2.5 seconds with both gcc -O3 and
> llvm-gcc -O3 (using llvm-gcc from svn). Not sure what you're doing
> differently; I wouldn't be surprised if it's
2009 Nov 03
1
hierarchical clustering with Jaccard index
hi,
I want to do hierarchical clustering with Jaccord index. I tried to do with vegan package for finding index and hierarchical clustering with hclust function. While doing clustering it is showing an error message as "invalid distance method". I would be grateful if anyone tells how to rectify the error.
Thanks in advance,
kind regards,
Ms.Karunambigai M
PhD Scholar
Dept. of
2008 Sep 13
4
bubble(circle) plot help.
I need help creating a bubbleplot, like a simple pseudo three dimensional scatterplot of circles whose sizes index a 3rd variable. I initially came across this at http://addictedtor.free.fr/graphiques/graphcode.php?graph=73 but the circleplot function does not exist in fbasic as listed in the document.
_________________________________________________________________
2010 Dec 28
3
Jaccard dissimilarity matrix for PCA
Hi
I have a large dataset, containing a wide range of binary variables.
I would like first of all to compute a jaccard matrix, then do a PCA on this
matrix, so that I finally can do a hierarchical clustering on the principal
components.
My problem is, that I don't know how to compute the jaccard dissimilarity
matrix in R? Which package to use, and so on...
Can anybody help me?
Alternatively
2011 May 17
1
simprof test using jaccard distance
Dear All,
I would like to use the simprof function (clustsig package) but the available distances do not include Jaccard distance, which is the most appropriate for pres/abs community data. Here is the core of the function:
> simprof
function (data, num.expected = 1000, num.simulated = 999, method.cluster = "average",
method.distance = "euclidean", method.transform =
2006 Mar 14
5
GROUP BY and SUM
I have orders, order_items, and products.
I want to collate several orders so that I can get a SUM of quantities
ordered for each product etc.
Can I say something like (the below gives an error on :sum, and ignores
:group)
OrderItem.find(:all, :sum => ''quantity'', :group => ''product_id'',
:include => [:order, :product])
I want to get back a
2010 Feb 01
4
'R' and 'Yield to Maturity'
Dear R helpers
I am calculating the 'Yield to Maturity' for the Bond with following characteristics.
Its a $1000 face value, 3 year bond with 10% annual coupon and is priced at 101. The yield to maturity can be calculated after solving the equation -
1010 = [100 / (1+ytm)] + [100 / (1+ytm)^2] + [ 1100 / (1 + ytm)^3]
This can be solved by trial and error method s.t. ytm = 9.601%.
2008 Nov 21
2
Calculating correlation for a big matrix
Dear All,
I have a matrix of size 10000 x 50. I would like to calculate all possible pair-wise correlation coefficient (5x10^7 combinations) using cor(). How can I efficiently calcualte and save the result in a matrix?
Thanks in advance.
Kind regards,
Ezhil
2004 Feb 10
2
How to compute the minimal distanct between a point and curve in N-dim space
Dear All,
In the N-dimensional space, give a data point A and a curve f,
how to write the explicit expression for calculating the
minimal distance between A and f?
Or have to use some nonlinear optimization method to calcualte it?
Thanks for your point.
Fred
[[alternative HTML version deleted]]
2013 Jun 27
3
using "rollapply" to calculate a moving sum or running sum?
#using "rollapply" to calculate a moving sum or running sum?
#I am tryign to use rollapply to calcualte a moving sum? #I tried
rollapply and get the error message
#"Error in seq.default(start.at, NROW(data), by = by) :
# wrong sign in 'by' argument"
#example:
mymatrix <- ( matrix(data=1:100, nrow=5, ncol=20) )
mymatrix_cumsum <- ( matrix(data=NA, nrow=5,
2010 Feb 22
2
Creating regularly spaced time series from irregular one
Hello,
I have a series of intraday (high-frequency) price data in the form of POSIX
timestamp followed by the value.
I sucesfuly loaded that into "its" package object. I would like to create
from it a regularly spaced time series of prices (for example 1min, 5min,
etc apart) so i could calcualte returns.
There is an interpolation function locf() that for timestamp with value NA
uses last
2002 Nov 27
1
[No Subject]
Hi,I try to calcualte AIC or Loglik to GARCH model,But the Packege Tseries do not deal with them.How can I calculate AIC or Loglike to GARCH Model By Packege Tseries?
Thanks.
____________________________________________________
Free Internet Access NOW!
In Alexandria, Ismaileya, Suez, Portsaid, Hurgadha, Sharm
Banha, Shebin El-Kom, Damietta,
Tanta, Zagazig, Mansoura, Damanhour, Assyout, Qena
2013 Feb 17
1
Hyperparameters in ARIMA models with dlm package
Hi, i'm beginner in Bayesian methods, I'm reading the documentation about
dlm package and kalman filters, I'm looking for a example of transformation
of ARIMA in a state space equivalent to use the dlm package and calcualte
the hyperparameters. Someone can help me about it?. If it's possible with a
arima(1,0,1) example, or more complex model. While I have more examples
best for me.
2006 Mar 31
6
Calculating Dates
Hello,
I am a complete newbie with Ruby and Rails. I am working on learning it
by writing a project I was going to write in PHP using Rails. I am
having a difficult time finding clear information on how I would do
this.
I need to take a date out of a table in my database and given another
day calculate the next 28 day anniversery of the original date. This is
used to calculate a delivery
2009 Mar 19
1
[LLVMdev] Register Liveness
I was wonderring if there is any quick way to check how many virtual registers are live-in at any give instruction of a function?
Right now my understanding is that I would have to calculate the gen, kill, in and out sets and iterate over the entire functions CFG until the sets stop changing.
Thanks
_________________________________________________________________
Express your personality
2009 Mar 03
3
[LLVMdev] Equality Saturation
Saw this mentioned on Lambda, and thought it was worth pointing out (though I'm betting most of you are Lambda readers). Looks like it's a new approach to mapping out optimizations and picking the best ordering/grouping.
http://www.cse.ucsd.edu/~rtate/publications/eqsat/
Just watched the video and am settling down to read the paper, and it looks interesting so far. Anyone more