Displaying 20 results from an estimated 500 matches similar to: "seeking a help on if function"
2005 Jun 17
2
reading csv-data
Hi!
I have had this problem for a long time. I have tried to study the manuals and
search the mailing lists, but I can not solve this. I think there has to be one
simple solution to this, but I just can not find it.
I have saved the data in excel (csv-format). Then I read the data in R e.g.
>data <- read.csv2("example.csv", header=TRUE)
I look the data and it looks ok. E.g
2011 Aug 22
3
Multiple regression in R - unstandardised coefficients are a different sign to standardised coefficients, is this correct?
Hello,
I have a statistical problem that I am using R for, but I am not making
sense of the results. I am trying to use multiple regression to explore
which variables (weather conditions) have the greater effect on a local
atmospheric variable. The data is taken from a database that has 20391 data
points (Z1).
A simplified version of the data I'm looking at is given below, but I have
a
2008 Sep 22
1
lme problems
Hi,
I'm analysing a dataset in which the same 5 subjects (male.pair) were subjected to two treatments (treatment) and were measured for 12 successive days within each treatment (layingday). Overall 5*2*12=120 observations.
I want to test the effect of treatment, time (layingday) and their interaction. I have done so through the ANOVA below:
>
2010 Sep 04
2
Function try and Results of a program
Hello, users.
Dear users,
*******I have a function f to simulate data from a model (example below used
only to show my problems)
f<-function(n,mean1){
a<-matrix(rnorm(n, mean1 , sd = 1),ncol=5)
b<-matrix(runif(n),ncol=5)
data<-rbind(a,b)
out<-data
out}
*********I want to simulate 1000 datasets (here only 5) so I use
S<-list()
for (i in 1:5){
S[[i]]<-f(n=10,mean1=0)}
2010 Aug 26
2
Problems when Apply a script to a list
Dear users,
*******I have a function f to simulate data from a model (example below used
only to show my problems)
f<-function(n,mean1){
a<-matrix(rnorm(n, mean1 , sd = 1),ncol=5)
b<-matrix(runif(n),ncol=5)
data<-rbind(a,b)
out<-data
out}
*********I want to simulate 1000 datasets (here only 5) so I use
S<-list()
for (i in 1:5){
S[[i]]<-f(n=10,mean1=0)}
******I have a
2011 Aug 16
4
a question about lm on t-test.
Hi all:
I have a question about lm on t-test.
data(sleep)
I wanna perform t-test to test the difference between the 2 groups:
I can use:
t.test(extra~group)
The t.test result shows that:t = -1.8608; mean1=0.75,mean2=2.33
But I still wanna use:
summary(lm(extra~group))
Intercept=0.75,which is mean1,just the same as t.test.
group2=1.58 means the difference of the 2 groups,so
2002 Mar 07
3
I can't ping across gateway
Hi Who concern,
I setup TINC VPN follow these.
192.168.1.x / 24 (Client groups)
|
192.168.1.1 (eth1)
(GW1)
202.44.34.206 (eth0)
||
Internet
||
202.44.45.14 (eth0)
(GW2)
192.168.2.1 (eth1)
2010 Nov 23
1
Barplot and plot means with confidence intervals in the same plot
I want to obtain a barplot with error bars and a mean plot with error bars
with other scale on the left in the same plot. I need help to get the same
x axis (centered) when overlay two plots (barplot2 and plotCI (or
lineplot.CI) with errorbars), with diferent y axis. I use par (new=T) but
the X axis names are not centered with the figures.
An example of my data:
1999 Mar 07
1
ANOVA f-test
I have a rather basic question. How can I get R to generate a ANOVA table
and a f-value for a hypothesis test such as:
Data: group1 values: 5.2 4.5 6.0 6.1 6.7 5.8
group2 values: 6.5 8.0 6.1 7.5 5.9 5.6
...
H0: mean1 = mean2 = mean3 = mean4
HA: at least two means different
where I want to evaluate using a f test statistic?
F = MSTr/MSE
I'd like a table similar to one that
2007 Jan 19
10
DGD patch not detecting dead gateway
Hello all!
I applied http://www.ssi.bg/~ja/routes-2.6.8-10.diff patch to kernel
2.6.8.1 and it works fine, or almost fine. It does the load balancing
well, but when one link is dropped it continues to try it.
At the end of http://www.ssi.bg/~ja/nano.txt it is said to ping
gateway 1 and gateway 2, for the kernel to know if that route is
working, but since my linux is connected to the links
2006 Mar 11
2
Draw level lines on the surface of a bivariate function
Hello,
Is it possible to draw level lines on the surface of a bivariate function?
In the following example, to draw surface and levels lines for a
multivariate normal law,
I use persp, trans3d, contourLines and lines,
but if the lines are correctly drawn, some parts of them are, of
course, visible
even if they are drawn on a non visible "face".
Any suggestion to avoid this problem
2010 Oct 20
1
Generate variable with Bivariate Normal Distribution
Dear All
I want to generate variable with Bivariate Normal Distribution by
use mean1 = a, variance1 = b, mean2 = c, variance2 = d, rho = e.
How I can do this.
Many Thanks.
IRD
[[alternative HTML version deleted]]
2004 Nov 24
1
gateways failover with asterisk
Hi,
I've searched the archive but can't seem to find the answer to my
problem.
i have two gateways running with asterisk , my question is : is there any
possibility to do failover with gateways with asterisk ? i mean that if one
gateway is down , asterisk switch automatically to other gateway .
i have succefully used failover with limit number off calls (if gw1 have max
calls ,asterisk
2003 Dec 04
6
get mean of several rows
Dear all!
After hours of trying around, I gave up:
I have a 2-dimensional array, and I know how to split it into its rows
and how to get the mean for every row using 'sapply'.
But what I want is to calculate the mean over the first n rows, and then
the second n rows, etc., so that I get a vector like:
v == mean1(row 1:5), mean2(row6:10),...
(trivial, you might say. I find it rather
2009 Jan 27
1
Problem with RMA using limma, oligo and pdInfoBuilder packages
Hi,
I am a Ph.D. student from Québec, Canada. I’m a beginner with R and
Bioconductor. Until now the only experience I have is in analyzing
microarray data using affy and limma packages. Now I am trying to analyze
Rat Gene 10 st arrays and I would like to run RMA analysis and Smyth
moderated t test on those arrays. Since no cdf official package is available
for those arrays, after reading many
2014 Nov 10
2
outside ssh connection from two different ISP's
I have both cable and dsl service. The router attached to the cable service is 192.168.0.1 and the router attached to the dsl service is 192.168.0.254. I determine which service my computers communicate through by setting the gateway assignment to either of those addresses and it just works.
I can connect to my computers from the outside by port forwarding from my routers to the computer that I
2002 Aug 09
3
Dead Gateway Detection
Hi,
I have a linux box loaded with RH7.1, 3 ethernet with load balance on 2 ISP.
In theory, if one router stop to work (I have turn off for this try), the Dead Gateway Detection,
would re-instradate alla traffic on other link. This not work...someone have more experience on this?
Giorgio Biondi
2003 Jan 14
1
MULTIPLE IPSEC TUNNELS
I am have a shorewall firewall and freeswan ipsec running on a redhat 8.0
Linux gateway machine. I have one working tunnel defined, all works well. I
am not clear how to define mutiple concurrent tunnels. I can not add further
interface entries as all the tunnels come in on ipsec0, do I still have
mutiple zone definitions? some of the tunnels will be dynamic roadwarriors
and as such would need a
2011 Sep 15
1
How to compute the power of a wilcoxon test?
Hello All,
I posted a similar question before, but the direction was driven to whether
my case is suitable for a wilcoxon test. After research about the
appropriateness, I am pretty sure that a wilcoxon test is the right tool for
my case. But how to compute the power of the test is still an unanswered
question bothering me.
The basic stats of my two paired samples are:
mean1 = 0.0032, sd1 =
2012 Apr 27
6
Re: Guild Wars 2 for wine - what is needed?
Thanks for the help, James! its finally working!