Displaying 20 results from an estimated 3000 matches similar to: "reference for round"
2007 Aug 02
6
- round() strange behaviour
Hi,
I am getting some strange results using round - it seems that it depends if the number before the decimal point is odd or even ....
For example:
> round(1.5)[1] 2> round(2.5)[1] 2
While i would expect that round(2.5) be 3 and not 2.
Do you have any explanation for that?
I really appreciate your input,
Monica
2003 Jul 12
1
ss's are incorrect from aov with multiple factors
Hi,
I have been trying to work with error terms given back from aov to
make confidence intervals. However, the numbers seem to be incorrect.
If there is more than one term in the ANOVA then the error terms can be
inflated by the number of factors in the extra terms. The F's are
correct so it is right back to the SS. I was wondering if this is
standard practice for stats programs or
2005 Mar 14
2
Question about Tukey HSD (stat package)
Dear all,
I would be glad if someone could tell me if Tukey HSD (function of stats
library) accept the NA values and could correct the unbalanced design
(different number of sample in each group)
Thanks for help
Alice Le Bars
2001 Dec 21
1
pure statistical question
Dear all,
This is a pure statistical question, not necessarly related to R.
I could not find it in literature.
Suppose I'm intersted in a parameter rho, say, equal to:
r=beta1/beta2,
where beta1 and beta2 come from a linear model y=beta0+beta1X1+beta2X2+....
Fitting the model I can get the (biased) estimate of r=b1/b2, where b1 and
b2 are the estimates in the regression model; I can get the
2001 Apr 07
1
Hypothesis test
Dear colleague:
Actually that is what is done.
When using the z-test between proportions in two different groups, or using
chi-squared to test the null hypothesis of equal proportions of two or more
groups, the null hypothesis is that
H0: p1=p2=p3.....=p
where this p is the pooled proportion, the proportion in the summed groups =
n1+n2+n3+..../N1+N2+N3....
in the z-test between two
2002 Dec 08
3
strange QQ-Plot
Hi,
i am working on a data set with EDA. That includes QQ-Plots of
residuals vs expected normal distribution.
What puzzles me is that the range of ordinate and abscissae is
so different: while the theoretical quantiles range from [-2, 2]
the sample quantiles on the ordinate do extent from [-20, 50].
Quite obviously some kind of transformation is done.
Although i intensively RTFM i could not
2002 Mar 01
3
calculating std err (SEM)?
Is there a "canned" function in R for finding the standard error of the
mean? I have tried
> sem <- function(x) c(mean =mean(x),
+ SEM = stdev(x)/sqrt(length(x)))
> sem(pnet.lai)
Error in sem(pnet.lai) : couldn't find function "stdev"
It looks like there is no stdev function in R
Thanks,
Kirk
Kirk R. Wythers email: kwythers at umn.edu
University of
2004 Jun 11
2
lme newbie question
Hi
I try to implement a simple 2-factorial repeated-measure anova in the
lme framework and would be grateful for a short feedback
-my dependent var is a reaction-time (rt),
-as dependent var I have
-the age-group (0/1) the subject belongs to (so this is a
between-subject factor), and
-two WITHIN experimental conditions, one (angle) having 5, the other
3 (hands) factor-levels;
2001 Jul 17
2
R-help archives after June 21 2001
Could someone please point me to a source for the archives of this news
group after June 21.
I was subscribed to a digest version, but it stopped arriving after that
date.
Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070 USA
e-mail: anne.york at noaa.gov
Voice: +1 206-526-4039
Fax: +1 206-526-6615
2002 Dec 04
1
using edit.data.frame
dum is a simple data frame transferred to Splus using the dump()
command in Splus and the source() in R. All fields are numeric. There
are no missing data. The data frame looks like it is should:
> apply(dum,2,mode)
yrcl sland s02 s234
"numeric" "numeric" "numeric" "numeric"
> apply(dum,2,is.vector)
yrcl sland s02 s234
2002 Dec 16
1
applying a different function to rows of a dataframe
Here is a simple example of what I would like to do:
Given a data frame foo with variables x and fn. Suppose fn is a vector of
characters which correspond to names of previously defined functions
which have only one argument. I would like a vector returned where fn is
applied to x
foo <- data.frame(x=c(2,5,7), fn = letters[c(6,7,6)])
foo$fn <- as.character(foo$fn)
"f" <-
2007 Feb 07
1
mail_location and storage type
Hi,
I was setting up a new system for testing Dovecot 1.0. My old one is
using 0.99 and was set up quite a time ago, so I had to consult the
documentation.
I needed several attempts until it worked and that was because the
designated maildir directory /server/mail/jrg/Maildir was completely
empty. Upon login the server exited and wrote the following to the log:
POP3(jrg): Ambiguous mail location
2002 May 23
3
separating a digest into separate messages
Could someone suggest a mail reader that will parse a digest from r-help
into separate messages?
Preferably, this reader would allow replies or forwards of separate
messages. I use pine on a Sun running SunOS 5.7. If there were an add-on to
pine that would accomplish this task, that would be even better.
Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
2002 Jan 04
1
glm deviance question
I am comparing the Splus and R fits of a simple glm.
In the following, foo is generated from rbinom with size = 20 p = 0.5.
The coefficients (and SE's0 of the fitted models are the same, but the
estimated deviances are quite different. Could someone please tell me why
they are so different? I am using R version 1.3.1 and Splus 2000 release 3
on windows 2000.
++++++++++++++++++++++
foo
2008 Jan 22
11
Unable to load Models which reference plugins?
I''m using a plugin which adds a method to ActiveRecord::Base
http://similetimelinerailshelper.googlecode.com/svn/trunk/simile_timeline/
This adds an "acts_as" type declaration to the Models, via the file in
vendor/plugins/simile_timeline/lib/simile_timeline.rb Rails is working
with these declarations, and they are being used successfully in
''regular
1998 Sep 14
2
AW: How to print to CLIENT local printer?
You must create a output filter.
Edit /etc/printcap and add your client printer like this:
...
PC-PRINTER:\
:sd=/var/spool/lpd/PP01:\
:mx#0:\
:lp=/dev/null:\
:if=/var/spool/lpd/Filter/PP01:\
:sh:
...
Adjust the printcap parameters as needed (spool directory, directory to find
the filter script). Make sure the lpd can access the directory. Consult your
manual.
Now create the filter
2001 Jul 30
1
legend on a lattice (developmental package) plot
Is there a way to put a legend on an xyplot -- eg, something akin to the
key function? Or, is there a way to get the R legend function to work on a
lattice plot?
To the people who have done the work on lattice and grid: Thanks for making
lattice. I'm finding it very useful.
Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070 USA
2002 Feb 14
1
apropos("plotmath") curiousity
?plotmath produces the helpscreen for plotmath.
Why does apropos("plotmath") return only character(0)?
> apropos("plotmath")
character(0)
>
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 4.1
year 2002
2005 Jun 23
2
NIS authentication on samba
Hello all,
I am currently using NIS for authentication with clear text
passwords. We would like to move to password encryption. Any ideas
whether NIS would support encrypted password on samba 3.X ? if not what
would be my other options.
Sheikji Nazirudeen
IT Analyst
Syracuse University
315-443-1207
2000 Feb 23
2
Files unavailable on CRAN
I've been trying to download from CRAN the floppy versions of the R source
files:
R-release-1.tar.gz, R-release-2.tar.gz
I tried the servers in Seattle, Madison, and the Vienna
Technical University. In each case, the file(s) were unavailable.
Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070 USA
e-mail: anne.york at noaa.gov