Displaying 5 results from an estimated 5 matches for "_sample_".
2005 May 23
3
skewness and kurtosis in e1071 correct?
I wonder whether the functions for skewness and kurtosis in the e1071
package are based on correct formulas.
The functions in the package e1071 are:
# --------------------------------------------
skewness <- function (x, na.rm = FALSE)
{
if (na.rm)
x <- x[!is.na(x)]
sum((x - mean(x))^3)/(length(x) * sd(x)^3)
}
# --------------------------------------------
and
#
2010 May 10
1
Random walk
Hi everybody,
I am trying to generate two random walks with an specific correlation,
for example, two random walks of 200 time steps with a correlation 0.7.
I built the random walks with:
x<-cumsum(rnorm(200, mean=0,sd=1))
y<-cumsum(rnorm(200, mean=0,sd=1))
but I don't know how to fix the correlation between them.
With white noise is easy to fix the correlation using the function
2003 Jan 03
0
Re: [theora-dev] Re: Ogg Internet Drafts - create application/ogg-vorbis, application/ogg-tarkin, etc.
Fredag, 3 januar 2003, skrev du:
>Ogg has always appeared to me to correspond only to the _track media_
>and _sample_ layers of a QuickTime movie. So you still need to know
>what all the CODECs are and how to use them individually to
>manipulate what should be general data in the file. Please, somebody
>correct me if I'm wrong.
I have asked the same questions here on the mailing list assuming
t...
2008 Sep 23
4
Proper power computation for one-sided binomial tests.
Hi, I trying to determine the best way to compute the power for a
one-sample one-sided binomial test. Specifically I need to sample a
population of individuals and ask whether a sample rate of 0% is
compatable with a minimum threshold of 3% and how many samples are needed.
I have made use of power.prop.test but I am not sure if a) that is the
correct (or best) function to use and b) if the
2004 Jul 13
12
Permutations
Dear R users,
I?m a beginner user of R and I?ve a problem with permutations that I don?t
know how to solve. I?ve 12 elements in blocks of 3 elements and I want only
to make permutations inter-blocks (no intra-blocks) (sorry if the
terminology is not accurate), something similar to:
1 2 3 | 4 5 6 | 7 8 9 | 10 11 12 ----------1st permutation
1 3 2 | 4 5 6 | 7 8 9 | 10 11 12 NO
- -
3 2 1