Displaying 20 results from an estimated 1000 matches similar to: "textbook on experimental design?"
2003 Feb 19
2
plotmath
There's something (probably a lot) missing in my understanding of
plotmath. The LaTeX code for what I'm trying to produce is
\log(-\log(\hat R))
My (probably hopeless) attempt at it uses nested group()s:
expression(plain(log) * group("(", -plain(log)*group("(", \hat(R), ")"),
")"))
Can anyone do it right for me, please?
Thanks,
Ted.
Dr E.A.
2000 Nov 29
4
offset
I would like to do a logistic multiple regression on a binary variate,
with what Genstat calls an offset, ie a regression variable with the
coefficient constrained=1. I'm far from home and have Splus but not R
here, but any information from either source would be very welcome. I'd
hate to have to go back to using Genstat . . .
Thanks,
Ted.
---------------
Dr E.A. (Ted) Catchpole
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver.
When I run a simple example, eg
> data(InsectSprays)
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
the boxplot is fine. Doing the same thing after
> xfig(file='test.fig')
and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots
where the boxes, although correctly shaded in,
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver.
When I run a simple example, eg
> data(InsectSprays)
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
the boxplot is fine. Doing the same thing after
> xfig(file='test.fig')
and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots
where the boxes, although correctly shaded in,
2001 Sep 20
1
Re: text book on experimental design
Andy,
Thanks. Note that DeVeaux's book, at
www.williams.edu/Mathematics/rdeveaux/book/book.html, is marked "For use
only by students of Math 244 Spring 2001, Williams College" and "DRAFT: do
not distribute or copy".
Ted.
Dr E.A. Catchpole
School of Maths & Stats
University College, UNSW Institute of Maths & Stats
Australian Defence Force Academy
2002 Feb 28
3
R-plots with 'complex' axis-labelling
Hi there,
I want to create plots with some kind of 'complex' axis labelling of the form
$\dot{V}$ and integrate those plots into a LaTeX document. What is the best
way to go?
I've figured out, that the 'plotmath' commands are somewhat limited (at least
I wasn't able to get the $\dot{V}$ generated) and that plots with
'plotmath'-axes wouldn't export
2000 Aug 30
3
family question
Dear friends. Please see the program below and answer if it does simulate a
population of 1.000.000 families, each with at max 20000 children (typical
in Denmark, you know), constructed such that each family stops having
children when more boys than girls are present ? Equal numbers of boys and
girls are got in the population, according to the simulation, is that obvious ?
ND <- NP <-
2005 Jan 14
1
glmm multinomial?
I'm looking for something like Brian Ripley's glmmPQL that will handle
multinomial data. Does anyone know of anything?
Thanks, Ted.
--
Dr E.A. Catchpole
Visiting Fellow
Univ of New South Wales at ADFA, Canberra, Australia
and University of Kent, Canterbury, England
- e.catchpole at adfa.edu.au
- www.ma.adfa.edu.au/~eac
- fax: +61 2 6268 8687
- ph: +61 2 6268 8895
2005 Aug 30
2
about "pnorm"
As to the function"pnorm",the default degree of freedom(df) is infinite.
I wanna know how to set the df as I want.
Help on pnorm doesn't have df setting.The only choice are:"mean, sd, lower.tail, log.p",but no df.
For instance:
sample size=6
df=6-1=5
t value=9.143
I wanna to the corresponding p value by using function "pnorm".
How can I do it?
Thanks a lot
2005 Oct 11
3
Is this correct?
Dear userR,
With the following results, are they correct or acceptable?
> x <- c(1.4, 1.2, 2.8)
> sum(x)
[1] 5.4
> sum(x) == 5.4
[1] FALSE
> (1.4 + 1.2 + 2.8) - 5.4
[1] -8.881784e-16
> (1.4 + 1.2) - 2.6
[1] -4.440892e-16
> 2.6 - 1.5 - 1.1
[1] 0
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor
2005 Oct 04
3
Problem reading in external data and assigning data.frames within R
Hey there,
I apologize if this is an irritatingly simple question ... I'm a
new user. I can't understand why R flips the sign of all data values
when reading in external text files (tab delimited or csv) with the
read.delim or read.csv functions. The signs of data values also seem
to be flipped after assigning a new data.frame from within R (xnew <--
edit(data.frame()). What am
2007 Oct 31
2
R GUI for Linux
I have downloaded and tried to install JGR - Java GUI for R - Version 1.5.
I followed all the instructions (at least in my best resolution) and
installed Java latest version.
R installation complete fine.
Has anyone succeded in installing JGR on SuSE 10.3 ?
In the following I hade detailed the failed installation,
As root /i did the following:
linux-Mimin:/usr/local/bin # ./R
R version 2.6.0
2005 Oct 31
7
Downloading zip files
I have not had a great amount of success installing/updating packages
from the "Packages" menu of Rgui under Windows XL. (Except for
installing from loacal zip files.)
But I am not asking for help in using these facilities because I prefer
to keep a folder of package zip files. On the other hand I do find it
tedious having to right-click "Save link as" on every individual
2005 Oct 03
6
sampling vectors
Hello Listers,
I am trying to sample a vector to create a new one of sample length,
witha sum equal to the sum of the initial vector:
initial = 10, 30, 10 (sum=50)
sample example = 5, 35, 10 (sum=50) or 25, 15, 10 (sum=50), etc ...
My problem is to control the sum, so it stays constant.
Any suggestions would be very helpful !
Thank you in advance,
Eric
2006 Aug 28
3
Firefox extension fo "R Site Search"
Dear useRs,
=================================================
Search for your R routines directly from Firefox!
>> http://addictedtor.free.fr/rsitesearch
=================================================
Mango Solutions, providers of R and S-Plus consulting, application
development and training, are happy to announce the first release of the
R Site Search extension for Mozilla Firefox.
2007 Apr 23
2
Problem with dgamma ?
Hi All,
Here 's what I got using dgamma function :
> nu<-.2
> nu*log(nu)-log(gamma(nu))+(nu-1)*log(1)-nu*(1)
[1] -2.045951
> dgamma(1,nu,nu,1)
[1] 0.0801333
> dgamma(1,nu,nu,0)
[1] NaN
Warning message:
NaNs produced in: dgamma(x, shape, scale, log)
Could anyone tell me what is wrong here ?
I am using R-2.4.1 on windows XP.
Thanks a lot.
2007 Apr 02
1
?Bug: '&&' and '&' give different results?
"&&" seems to behave strangely and gives different results from "&" e.g. in a data frame selection (regardless whether terms are bracketed)?
===========Script=======================
test=data.frame(gender=c("F","M","M","F","F"),side=c("R","L","R","L","R"))
test
2007 Oct 24
3
multiply for vector in R
Dear All,
Is there a conmand to calculate the multiplication of the elements in a vector? For example:
a=c(1,2,3,4)
I want to get 1*2*3*4=24.
Because the dimension of the vector is high, I want to know there is a command for this task in R?
Thank you so much!
Kang
__________________________________________________
[[alternative HTML version deleted]]
2007 Apr 23
1
Extracing "Interval of Time" in seconds in R
Dear List,
I want to let R calculate the time (run-time) it
requires to run a self-written simulation function. I
tried as follows: it
enables me to see the starting and finishing time
points.
#############################
"sim.result" <- function(nsim, ...){
Starting <- date()
... # calculations #
final.result <- ... # Output for display #
cat("# of Iterations used
2007 Jun 18
2
Calculating Percentile in R
Hi all,
I have a problem on how R calculates Percentiles :
Suppose I have following data set:
> data1
[1] -16648185 -14463457 -14449400 -13905309 -13443436 -13234755 -12956282 -11660896
[9] -10061040 -9805005 -9789583 -9754642 -9562164 -9391709 -9212182 -9151073
[17] -9092732 -9068214 -8978151 -8943912 -8761890 -8632106 -8541580 -8501249
[25] -8234466 -8219015