Hi
I run R in Windows.
Is there a simple way of changing the prompt symbol to, say, R ?
(Not just for a temporary session, but every time R command window is
opened.) The documentation of doing this is rather sparse.
Much appreciated for your assistance.
Jacob
Jacob L van Wyk
Department of
Dear UseRs
I would like to show my students how to use resampling to solve the
following simple problem:
If a family has two children of which one is a boy, what is the
probability that the other child is also a boy.
The answer is (obviously) 1/3, and can be show easily using the usual
Hallo
Is there an elegant way to do the following:
Dataset consists of 2 variables: var1: some measurements, and var2: a grouping
variable with two values, 1 and 2.
There are (say) 10 measurements from group 1 and 15 measurements from group 2.
The idea is to study the permutation distribution
This might be a trivial question, but I would appreciate if anybody
could suggest an elegant way of plotting a function such as the
following (a simple distribution function):
F(x) = 0 if x=0
=(x^2)/2 if 0x=1
=2x-((x^2)/2)-1 if 1x=2
=1 if x2
This is just an example. In this
(1,6))
works for me, and I got there from the help files.
On Mon, 13 Mar 2006, Jacob van Wyk wrote:
Hallo
I am trying to use the package LocFit to follow the example given in
an
Introductory note of C Loader concerning density estimation. It
involves
the geyser dataset (107 observations
Hallo
I am trying to use the package LocFit to follow the example given in an
Introductory note of C Loader concerning density estimation. It involves
the geyser dataset (107 observations on durations, inlc in the
package).
I have tried the following (using the latest version of R):
fit.of -
I have a question regarding the package LOCFIT of C Loader.
After fitting a smooth surface (y modeled by two regressors), I can't
seem to find a nice way of making a perspective (or other 3d plot). The
contours don't look quite so good.
It is meant to be used as illustration of smoothing to my
Just a note to thank everybody who responded to my question.
Much appreciated!
Jacob
Jacob L van Wyk
Department of Mathematics and Statistics
University of Johannesburg APK
P O Box 524
Auckland Park 2006
South Africa
Tel: +27-11-489-3080
Fax: +27-11-489-2832
I hope somebody can help.
A student of mine is doing a study on Measurement Error models
(errors-in-variables, total least squares, etc.). I have an old
reference to a multi archive that contains
leiv3: Programs for best line fitting with errors in both coordinates.
(The date is October 1989, by
Hallo to everybody. I am new to the list and would appreciate some help
in a basic first demo of how to use R for simulating a simple game; I
would like my students to use R and this may stimulate their interest.
The problem is simply:
Two players (A and B) play the following game. Each player
Hallo all users of R.
I wish to simulate a simple linear regression, y=a+bx+e, (n=40, say),
where x is
N(0,1) and where
e is N(0,1), with probability 0.9, and
e is 3*(chisq(40,1)-1), say, with probability 0.1.
For e: would the following work, or is there a better way?
p - rbinom(40,1,0.9)
e -
Sorry for the repeat.
The PRESS statistic is defined as
sum(y-yhat(i))^2, where yhat(i) denotes the ith predicted value using
all the data except the ith case (as used typically in linear models).
Thanks again
Jacob
Jacob L van Wyk
Department of Mathematics and Statistics
Rand Afrikaans
12 matches
Mail list logo