Displaying 8 results from an estimated 8 matches for "solafahbh".
Did you mean:
solafah
2012 Oct 06
2
sample
Hello
If I have x=c(3,2,6,1) and n=length(x), are the following codes equivalent??
sample(x,1,replace=TRUE) and sample(x,1,replace=TRUE,prob=rep(1/n , n) )
Regards
[[alternative HTML version deleted]]
2012 Jun 30
3
loop in list
Hello
I have a loop to sample 20 samples and I want to put them in one list, how I can make this??
Regards
Sulafah
[[alternative HTML version deleted]]
2012 Oct 06
1
sample with equal probabilities
Hello
If I have this vector x=c(5,1,2,9) and n=length(x) and I want to sample one value from x , and each value of x has equal probability to appear (1/n).
Are the following codes equivalent??
sample(x,1,replace=TRUE) and sample(x,1,replace=TRUE,prob=rep(1/n , n))
Regards
[[alternative HTML version deleted]]
2012 Jun 18
2
out put of loop in list
Hello
I have a loop to draw few samples and I want to but this samples in one list, how I can make this? when I use it , the list show just the last sample. I want to know the correct way to put all samples in one list.
Regards
Sulafah
[[alternative HTML version deleted]]
2010 Aug 21
1
question
Hello
I want to know how can i sampling from upper and lower tail of normal distribution , in two cases , if i know the upper and lower bounds of distribution and if i do not.
Regards
[[alternative HTML version deleted]]
2010 Oct 03
2
sampling from normal distribution
Hello
If i want to resampl from the tails of normal distribution , are these commans equivelant??
upper tail:qnorm(runif(n,pnorm(b),1)) if b is an upper tail boundary
or
upper tail:qnorm((1-p)+p(runif(n)) if p is the probability of each interval (the observatins are divided to intervals)
Regards
[[alternative HTML version deleted]]
2013 Jan 02
2
SIGN.test
Hello
I used SIGN.test function in R 2.12.2 to apply one sample sign test and it is worked well ,but I want to put statistic in a variable and I could not get this value,
I used :
x=rnorm(100)
t=SIGN.test(x,md=0,alt="less")
t$rval[1]$statistic
the last command work in the old version of R but it does not work in R 2.12.2. what can I do to get value of statistic??
Regards
Sulafah
2010 Oct 11
2
compare histograms
Hello
How to compare two statistical histograms? How i can know if these histograms are equivalent or not??
Regards
[[alternative HTML version deleted]]