Re: [R] How to compare two curve model

2012-02-25 Thread Bert Gunter
You need to combine all the data into one set and add another variable, call it "dataset," with values 1 and 2. Then you can fit a model to this **one combined" dataset that has an additive term for "dataset," and, if you care to, test it for significance. However, as usual, that probably will not

[R] How to compare two curve model

2012-02-25 Thread 孟欣
Hi all: I have two curve models: model1<-nls(result ~ exp(b0 + b1*(time)), start = list(b0 = 0, b1 = 5),trace=TRUE,data=data1) model2<-nls(result ~ exp(b0 + b1*(time)), start = list(b0 = 0, b1 = 5),trace=TRUE,data=data2) I wanna compare the two models to find out whether the difference betwe