: www.warwick.ac.uk/go/heatherturner
From: Ronaldo Prati [mailto:[EMAIL PROTECTED]
Sent: Thu 14/12/2006 13:41
To: r-help@stat.math.ethz.ch
Subject: [R] Model formula question
Hi all,
I'm not familiar with R programming and I'm trying to reproduce a
result from
CV4 7AL
Tel: 024 76575870
Fax: 024 76524532
Url: www.warwick.ac.uk/go/heatherturner
-Original Message-
From: Ronaldo Prati [mailto:[EMAIL PROTECTED]
Sent: Thu 14/12/2006 13:41
To: r-help@stat.math.ethz.ch
Subject: [R] Model formula question
Hi all,
I'm not familiar with R programming
Hi all,
I'm not familiar with R programming and I'm trying to reproduce a
result from a paper.
Basically, I have a dataset which I would like to model in terms of
successive increments, i.e. (y denote empirical values of y)
y_1 = y1,
y_2 = y1 + delta1,
y_3 = y1 + delta1 + delta2.
...
y_m =
Hi all,
I'm not familiar with R programming and I'm trying to reproduce a
result from a paper.
Basically, I have a dataset which I would like to model in terms of
successive increments, i.e. (y denote empirical values of y)
y_1 = y1,
y_2 = y1 + delta1,
y_3 = y1 + delta1 + delta2.
...
y_m =
Hi there,
I've sent this e-mail to the list twice but didn't get it back from
the list. Have it reach list members?
cheers,
Ronaldo
-- Forwarded message --
From: Ronaldo Prati [EMAIL PROTECTED]
Date: 14/12/2006 11:59
Subject: Model formula question
To: r-help@stat.math.ethz.ch
On Wednesday 01 February 2006 02:37, maneesh deshpande
wrote:
Hi,
I have a data set with a continuous predictor X, a factor
A and a continuous dependent
variable Y.
I am trying to build a linear model of the form:
Y = (b0 + b1*X1)*B(A)
where B(A) is a constant for each level of the
Hi,
I have a data set with a continuous predictor X, a factor A and a continuous
dependent
variable Y.
I am trying to build a linear model of the form:
Y = (b0 + b1*X1)*B(A)
where B(A) is a constant for each level of the factor A.
I am not quite sure how to formulate the appropriate model
I have continuous variables x, y, z. The plot of the data looks like this:
y
| z=1(o), 2(@), 3(#), 4(*)
|
|* * *
|
|
|# # # #
|
|
|@@@ @
|
| o
| o
| o
| o
|o
x
The correct model
Bill Simpson [EMAIL PROTECTED] writes:
I have continuous variables x, y, z. The plot of the data looks like this:
y
| z=1(o), 2(@), 3(#), 4(*)
|
|* * *
|
|
|# # # #
|
|
|@@@ @
|
| o
| o
| o
|
Dear Bill,
I believe that lm(y ~ z + I((z == 1)*x)) will give you what you want.
I hope that this helps,
John
At 08:40 AM 11/18/2003 -0500, you wrote:
I have continuous variables x, y, z. The plot of the data looks like this:
y
| z=1(o), 2(@), 3(#), 4(*)
|
|* * *
|
Thanks very much John Peter for your help.
Bill
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
11 matches
Mail list logo