Displaying 20 results from an estimated 1700 matches similar to: "Problems with sample variance"
2017 Aug 19
4
My very first loop!! I failed. May I have some start-up aid?
Dear all,
I have a data similar to this:
myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"),
Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00",
"25.09.2012 10:00"), Longitude=c("8.481","8.482","8.483","8.481"),
2012 Mar 07
5
Sampling problems
Hi,
I need to sample randomly my dataset for 1000 times. The sample need to be
the 80%. I know how to do that, my problem is that not only I need the 80%,
but I also need the corresponding 20% each time. Is there any way to do
that?
Alternatively, I was thinking to something like setdiff () function to
compare my 80% sample to the original dataset and obtain the corresponding
20%, unfortunately
2011 Aug 12
1
Which Durbin-Watson is correct? (weights involved) - using durbinWatsonTest and dwtest (packages car and lmtest)
Hello!
I have a data frame mysample (sorry for a long way of creating it
below - but I need it in this form, and it works). I regress Y onto X1
through X11 - first without weights, then with weights:
regtest1<-lm(Y~., data=mysample[-13]))
regtest2<-lm(Y~., data=mysample[-13]),weights=mysample$weight)
summary(regtest1)
summary(regtest2)
Then I calculate Durbin-Watson for both regressions
2009 Sep 03
6
rsync
Hi
?
I put the rsync in cronjob
but it won't work
?
in root user cron
?
*/30? * * * *? /home/chloe/rsy.sh >/dev/null 2>&1
?
1/ why it needs pw when I run this rsy.sh in root?
but if I run it in chloe user, it doesn't need pw as I put authoized_key in remote host chloe
?
2/ why this root cronjob is not working? what wrong? I can't see this cron in message
?
the rsy.sh is
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
Thank you for providing the example code... for the request of running it
multiple times it would have helped if you could have confirmed that the
example ran through without errors... there were a lot of mistakes in it.
Look into using the reprex package to check your example next time.
I don't do this kind of analysis... I really don't know what to expect
from the functions. The
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
[answers inline]
On 18 August 2017 at 20:08, Dagmar <Ramgad82 at gmx.net> wrote:
>
> myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"),
> Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00",
> "25.09.2012 10:00"),
2009 Jun 17
6
script help
Hi
?
I have a file. list.txt (two columns)
?
column1??? column2
name??????? address
?
?
I need to put in the letter file letter.txt eg:
?
Dear: Chloe
Address: CA
?
Can I use this
?
for i `cat list.txt` | sed 's/Chloe/$i.1; /CA/$i.2/g' $i.letter.txt
?
Thank you for your help
?
?
?
?
?
__________________________________________________________________
Looking for the perfect gift?
2009 Nov 13
2
help sample from large dataset - misleading error?
Hi All,
I want to take a simple random sample from a large dataset, gly, but I'm
getting an error message. Any help?
dim(gly)
[1] 112371 37
> s1 <- sample(gly,100)
Error in `[.data.frame`(x, .Internal(sample(length(x), size, replace, :
cannot take a sample larger than the population when 'replace = FALSE'
Thanks,
Rachel
[[alternative HTML version
2003 Jun 18
2
Private: Problem with tapply/lapply and sample (PR#3286)
Full_Name: Peter Gedeck
Version: R1.6.2 and R1.7.0
OS: Windows XP
Submission from: (NULL) (194.191.169.72)
Hello,
I marked the bug report Private, as I don't want my email address on the web
server. The problem that I found is best explained using an example.
index <- 1:6
cluster <- c(1,1,1,2,2,3)
tapply(index,cluster,sample)
gives
$"1"
[1] 2 1 3
$"2"
[1] 4 5
2009 Jul 08
7
dhcp question
Hi
?
How can I do the dhcp to assign ip for eth2 network?only?
?
eth1 and eth0 can igorn
?
thank you
__________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Dec 05
3
Fwd: Re: ssh forwarding as putty in window
Thank you
I check in rpmfind.net
it is only available on fedora.
how can I install it in centos?
thank you
Mark Snyder <mark at jmktdis.com> wrote:
Date: Fri, 05 Dec 2008 12:29:39 -0600
From: Mark Snyder <mark at jmktdis.com>
To: CentOS mailing list <centos at centos.org>
Subject: Re: [CentOS] ssh forwarding as putty in window
chloe K wrote:
>
2009 Dec 21
3
Question About Repeat Random Sampling from a Data Frame
Good Morning:
I've read many, many posts on the r-help system and I feel compelled to quickly admit that I am relatively new to R, I do have several reference books around me, but I cannot count myself among the fortunate who seem to strong programming intuition.
I have a data set consisting of 1637 observations of five variables: tensile strength, yield strength, elongation, hardness and a
2009 Nov 22
2
how to read BRFSS file
hello,
I am trying to do exploratory factor analysis with BRFSS dataset (
http://www.cdc.gov/brfss/technical_infodata/surveydata/2008.htm) for a
couple of days, but I was not able to do that and got frustrated. Can
anybody help me with step by step guide? BRFSS dataset provides ASCII or SAS
format.
Thank you.
chloe
[[alternative HTML version deleted]]
2012 Jun 14
1
Question about sampling
Dear list I wish to extract from a population genotypized for 10 SNP a
subsample of the same population of size n with similar allele frequencies.
Essentially i have a matrix of 200 rows (df) like this
Name,Condition,rs1385699_X,rs6625163_X,rs962458_X,Rs4658627_1,
sample01,Case,1,1,1,-1
sample02,Control,1,1,1,1
sample06,Control,1,-1,1,0
sample10,Case,1,1,1,0
sample11,Control,1,1,1,1
2009 Mar 20
1
w command about user
Hi
I use w command to get user is "2 users" but I only have connection one
ls any process dead? But I check other centos machine is same
How can I check it?
Thank you
[root at host ~]# w
7:22:26 up 20 days, 23:20, 2 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
chloe pts/0
2011 Apr 08
3
random sampling with levels and with replacement
Dear all,
i have a dataset of about 400 records , with a variable that has two levels 40 bad and 360 good among other variables,how do i come up with10 random samples that have the composition of as the main sample but maintaining the 40 bad 360 good with replacement, i recently discovered that my random samples generated dont maintain the ratio. My code is as :
mysample <-
2010 Mar 04
7
help fdisk and dd
Hi all
What is the best practice to remove all data in the disk?
ls fdisk ok or use dd
Can data be recovered?
and what is the dd command?
Thank you
__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
2009 Aug 20
2
boxplot with log="y" and values starting at 0
Hi,
I'm working with a data.frame containing values between 0 and 22000.
Most of the values are actually between 0 and 50 and the high ones are
outliers.
I want to generate a boxplot and since the outliers are extremely
high, I need to scale the y scale logarithmically. Otherwise one
wouldn't really see the boxes of the boxplot.
boxplot(dat, log="y", ylim=c(0,
2008 Dec 09
2
rrdtool rpm and yum question
Hi
How can I install rrdtool rpm? lt seems that this is only available in fedora
How can I know what is this execution file eg: system-config-network coming from which rpm?
Thank you
---------------------------------
Looking for the perfect gift? Give the gift of Flickr!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Apr 12
2
abline() with xyplot()
Hello all,
I'm a new user on R, and I used the abline function to draw a line on my graph but it doesn't work with xyplot(). With the plot function, abline() is ok but with plot it doesn't make what I want. Maybe it's a little thing to change in plot() but I don't find what!
With xyplot I write this :
Xyplot(m~ordered(l,levels=1),