Can anybody send these articles for me?
NagelKerke, N. J. D. (1991) A note on a general definition of the
coefficient of determination, Biometrika 78: 691-2.
Cox, D. R. and Wermuth, N. (1992) A comment on the coefficient of
determination for binary responses, The American
, 2003 10:04 AM
To: R-Help
Subject: Re: [R] how to calculate Rsquare
Can anybody send these articles for me?
NagelKerke, N. J. D. (1991) A note on a general definition of the
coefficient of determination, Biometrika 78: 691-2.
Cox, D. R. and Wermuth, N. (1992) A comment
]
Sent: Wednesday, August 27, 2003 10:04 AM
To: R-Help
Subject: Re: [R] how to calculate Rsquare
Can anybody send these articles for me?
NagelKerke, N. J. D. (1991) A note on a general definition of the
coefficient of determination, Biometrika 78: 691-2.
Cox, D. R. and Wermuth, N. (1992
On Wed, 27 Aug 2003 11:04:21 -0300
Ronaldo Reis Jr. [EMAIL PROTECTED] wrote:
Can anybody send these articles for me?
NagelKerke, N. J. D. (1991) A note on a general definition of the
coefficient of determination, Biometrika 78: 691-2.
The fitting functions lrm, psm, cph in the
licences they might break by sending you free copies. And David's
right: This is outside the scope of r-help.
From: Ronaldo Reis Jr. [mailto:[EMAIL PROTECTED] Sent:
Wednesday, August 27, 2003 10:04 AM
To: R-Help
Subject: Re: [R] how to calculate Rsquare
Can anybody send these articles
: This is outside the scope of r-help.
From: Ronaldo Reis Jr. [mailto:[EMAIL PROTECTED] Sent:
Wednesday, August 27, 2003 10:04 AM
To: R-Help
Subject: Re: [R] how to calculate Rsquare
Can anybody send these articles for me?
NagelKerke, N. J. D. (1991) A note on a general definition of the
coefficient
: [R] how to calculate Rsquare
Can anybody send these articles for me?
NagelKerke, N. J. D. (1991) A note on a general definition of the
coefficient of determination, Biometrika 78: 691-2.
Cox, D. R. and Wermuth, N. (1992) A comment on the coefficient of
determination for binary responses
Hi,
I have something like this:
x - 1:10
y2 - 30+5*x+rnorm(x,sd=3)
y - c(y1,y2)
x - c(x,x)
plot(x,y)
x - 1:10
y1 - 1+5*x+rnorm(x,sd=2)
y2 - 30+5*x+rnorm(x,sd=5)
y - c(y1,y2)
x - c(x,x)
f - factor(rep(c(a,b),c(10,10)))
m - lm(y~x+f)
anova(m)
Analysis of Variance Table
Response: y
It should be easy to get a separate R^2 from lm for each level of a
factor: Just split the data and run lm once for each level of f.
I've done this with a for loop something like the following:
dat - data.frame(x=x, y=y, f=f)
for(i.f in 1:2){
sel - (f == c(a,