[R] Sampling in R

2009-04-21 Thread skayis selcuk
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] Sampling in R

2009-04-21 Thread skayis selcuk
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] Sampling in R

2009-04-21 Thread skayis selcuk
confused with sampling(random data) in R. My data and codes for the scenario above are in the attached file. I want to understand where I am making a mistake. Any comment is deeply appreciated. Kind Regards Seyit Ali Xvar-c

[R] Sampling in R: Please read my email from attached text.

2009-04-21 Thread skayis selcuk
confused with sampling(random data) in R. My data and codes for the scenario above are in the attached file. I want to understand where I am making a mistake. Any comment is deeply appreciated. Kind Regards Seyit Ali Xvar-c

[R] Sampling in R

2009-04-21 Thread Seyit Ali Kayis
correlation it is 0.9657125 which is much higher than correlation for my original data. I am doing sampling in another program and getting at least 1% higher correlation than mine. Now I am getting confused with sampling(random data) in R. My data and codes for the scenario above are below

[R] Sampling in R

2009-04-21 Thread Seyit Ali Kayis
and obtain correlation it is 0.9657125 which is much higher than correlation for my original data. I am doing sampling in another program and getting at least 1% higher correlation than mine. Now I am getting confused with sampling(random data) in R. My data and codes for the scenario above

Re: [R] Sampling in R

2009-04-21 Thread Mike Lawrence
is much higher than correlation for my original data. I am doing sampling in another program and getting at least 1% higher correlation than mine. Now I am getting confused with sampling(random data) in R. My data and codes for the scenario above are below Xvar-c

Re: [R] Sampling in R: Please read my email from attached text.

2009-04-21 Thread David Winsemius
You need to sample pairs rather than sampling individually within Xvar and Yvar. You also generally sample with replacement. If you sample without replacement for the length of the data, then you just get the same set. On Apr 21, 2009, at 3:54 AM, skayis selcuk wrote:

Re: [R] Sampling in R

2009-04-21 Thread Jorge Ivan Velez
in another program and getting at least 1% higher correlation than mine. Now I am getting confused with sampling(random data) in R. My data and codes for the scenario above are in the attached file. I want to understand where I am making a mistake. Any comment is deeply appreciated. Kind

Re: [R] Sampling in R

2009-04-21 Thread Uwe Ligges
and Yvar and obtain correlation it is 0.9657125 which is much higher than correlation for my original data. I am doing sampling in another program and getting at least 1% higher correlation than mine. Now I am getting confused with sampling(random data) in R. My data and codes for the scenario