Hello,
Why does anova.lm sometimes return a p-value and at other times not ? Is
it because it recognizes nested models from non-nested ones ?
x<-seq(1,100,1)
y<-3*x+rnorm(100)
anova(lm(y~x),lm(y~x+I(x^2)),test="F")
Analysis of Variance Table
Model 1: y ~ x
Model 2: y ~ x + I(x^2)
Res.D
Hi,
I am a very occasional user of R, and will be grateful for some help in
constructing a regression across groups.
Here is an example:
library(MASS)
attach(cats)
Sex[120:144]<-factor(TG) #Renaming some males to transgender, to create 3
groups, male, female and transgender
out<-lm(Bwt
Hello R-helpers,
I would like to fit a non-linear function to data (Discrete X axis,
over-dispersed Poisson values on the Y axis).
I found the functions gnlr in the gnlm package from Jim Lindsey: this can
handle nonlinear regression equations for the parameters of Poisson and
negative bi
Hello,
I have a hierarchical dataset of this form and am trying to analyze it in
R.
1 subject
Tested under 2 conditions: A and B
10 sesssions in each condition
In each session, 2 kinds of tests: Test 1 and Test 2
200 independent repetitions of each test-type, with 200 Yes/No answers
So I th
On Tue, 03 Mar 2009 22:10:42 +0100, David Winsemius
wrote:
That is what I thought to be the critical paragraph. The variance is
assumed to be = 1 when you use family="gaussian" rather than the default
of family="qgauss". You give it a vector, 1000*rnorm(100), that ranges
widely and a sma
David Winsemis wrote:
I think you should read (or re-read) the locfit help page and *also*
the links from that page to the help pages for locfit.raw and rv. I
would have thought that since family= is not an argument to locfit per
se, but rather is documented in locfit.raw that you have ye
understand why there is such a
difference between the two. If there is a simple explanation or
recommendation, I am eager to hear it.
Thanks, Suresh
On Tue, 03 Mar 2009 16:56:43 +0100, Suresh Krishna
wrote:
Dear list members,
I am trying to understand this output from the smoothing package
Dear list members,
I am trying to understand this output from the smoothing package locfit
(1.5-4, running on R 2.8.1 on Windows Vista 64 bit).
# sample code
x<-1:100
y<-rnorm(100)
fit<-locfit(y~x,family="gaussian") #default parameters are fine
plot(fit,band="global") #plot seems "reasona
One possibility is to save in ASCII format from Matlab (save -ascii)
Suresh
> On 17/11/2007, Prof Leslie Smith <[EMAIL PROTECTED]> wrote:
>> Is there any way to read these files (standard .mat files, created by
>> matlab version 7 onwards are compressed)? I know that R.matlab doesn't
>> read the
9 matches
Mail list logo