search for: calcutate

Displaying 5 results from an estimated 5 matches for "calcutate".

Did you mean: calculate
2011 Jan 06
1
Calcuting returns
Dear R forum helpers,I have following datatrans <- data.frame(currency_transacted = c("EURO", "USD", "USD", "GBP", "USD", "AUD"), position_amt = c(10000, 25000, 20000, 15000, 22000, 30000))date <- c("12/31/2010", "12/30/2010", "12/29/2010", "12/28/2010", "12/27/2010",
2004 Oct 27
2
Random number
Dear R- User I created two random number sets using rnorm function and calcuted their respective means. However now I would like to randomly replace some values with NA. Thus create my own test data. Any help or suggestions on this ? Also wanted to confirm when multiplying two random number vectors x am y by matrix..is this how i do it. A is the matrix z <- c(x,y)
2004 Dec 01
2
chisq.test probabilities method unclear
...he "given probabilities" method (p= ...), normally there should be typed in probabilities in the range of 0 to 1 with the absolute sum of 1.0 (r-help) But it is possible to use probabilities > than 1. or the sum <1.! without any warning message Ok, now the question, what does r calcutate in these cases, this doesn't make sense in my (poor statistical) view. i thought it might calculate relations, but it differs in the results (example: of typing p=c(1,1,1,1), p=c(6,6,6,6), p=c(0.25,0.25,0.25,0.25)) can someone tell my about this chisq method, and perhaps show me an explaini...
2008 Jun 09
1
Student Distribution and Funtion qt
Hello, I am trying to calculate and plot mean and confidence intervall for a set of data. This is the code that I am currently using: means <- sapply(data, mean, na.rm=TRUE) n <- sapply(data,length) stdev <- sqrt(sapply(data, var, na.rm=TRUE)) ciw <- qt(0.98, n) * stdev / sqrt(n) par(mgp=c(2,0.6,0), las=2, fin=c(7,3), mai=c(1,0.5,0.2,0.2), cex=0.8) plotCI(x=means, uiw=ciw,
2012 Aug 07
2
Passing arguments to a function within a function ...
Hallo Everybody How do you specify arguments for a function used within another function? Here is my problem: I am reconstructing a calculator for the burden of disease due to air pollution from publications and tools published by the WHO. The calculations make use of published dose-response relationships for particular health end-points. This is then applied to populations with known or