Displaying 20 results from an estimated 33 matches for "calcualtes".
Did you mean:
calcualte
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 25
1
how to calcualte Jaccard Coefficient
Does anyone have a good method for calculating Jaccard coefficients now that the dissimilarity() function is no longer an option?
Wen Gu
John Jay College of Criminal Justice445 West 59 StreetNew York, NY 10029
wgu@gc.cuny.edu
_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®.
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
2009 Jan 30
3
paste together object names to pass it on to a function
Hello,
I have a maybe trivial question, but I simply don't understand well
enought how to work with text/strings:
I have a rather compelx data structure, a big list with several
sub-lists/dataframes and for certain calculations (which I do in
loops), I only need a certain group of sub-lists/dataframes, which I
want to specify with a name vector and paste together the object name
and pass it
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]]
2011 May 04
3
Error in .Fortran Call
I have the following FORTRAN code converted to a DLL:
! my_xmean.f90
!
! FUNCTIONS/SUBROUTINES exported from my_function.dll:
! my_function - subroutine
!
subroutine my_xmean(X,N,XMEAN)
! Expose subroutine my_function to users of this DLL
!
!DEC$ ATTRIBUTES DLLEXPORT,C,REFERENCE,ALIAS:'my_xmean_'::my_xmean
! Body of my_function
DOUBLE PRECISION X(N)
XMEAN=0D0
DO J=1,N
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
2011 Mar 12
1
creating list of lists
Question 1:
I have a long list of variable names such as
first <- c("one","two","three")
and what I want to do is create a list of lists ... where the names of each of overall lists components are "one","two", and "three".
This is the same result as
second <- list(one=list(),two=list(),three=list())
Is there a way to exploit
2011 Jun 02
1
newton raphson
Hi
I would like to use the newton raphson method to find the root if the
equation x^3-0.165*x+0.0003993 without using any readliy available program
in r but instead by writing my own code and loop. the problem is that i
really cant understand how to write the loop so that it keeps using the last
calcualted values. if anyone could help me or give me some tips i would
deeply appriciate it
thanks
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
2011 Sep 13
1
SVD Memory Issue
I am trying to perform Singular Value Decomposition (SVD) on a Term Document
Matrix I created using the 'tm' package. Eventually I want to do a Latent
Semantic Analysis (LSA).
There are 5677 documents with 771 terms (the DTM is 771 x 5677). When I try
to do the SVD, it runs out of memory. I am using a 12GB Dual core Machine
with Windows XP and don't think I can increase the memory
2006 May 02
6
Performance suggestions or best practices ideas?
Any suggestions on applications that involve alot of calcualtions on a
fairly large data set?
My app uses a set of raw data ~5k, applies some default/override rules
on the raw data and does some calculations on the data in combination
with a list of assumptions. A ranked list along with detailed metrics
is generated. The end user can manipulate some of the rules and
assumptions to generate
2010 Mar 25
1
*** caught segfault *** address 0x18, cause 'memory not mapped'
Hello R Community,
I've been run the following codes. However, I've been getting an
unusual segfault
that I'm unable to trace its origin. Please give me a light to
decipher the "caught segfault"
Thanks for you attention.
Bernardo.
> options(STERM='iESS', editor='emacsclient')
> rm(list = ls())
> > source("fgenIGLD.R") #RNG
2003 Oct 25
0
memory optimization and use of recursion
Hi listers,
In light with the recent discussion on the optimizing the use of memory in
straneous proceudres i present you m problem, and hope to some additional
ideas.
I'm running a simualtion that in each step uses quite an amount of memory
(but not exceedingly) - just to give you an idea - I create a pseudo
population (n=1000, m=3) run lme and lm model and multiply impute (M=5) and
do the
2006 Nov 12
1
How to increase decimal places
Hello everyone,
does anybody know how to increase the decimal places that R uses to calculate something.
I think that in default R uses 6 decimal places but I need 12.
Thank you very much!
Best regards,
Maja!
--