Re: [R] Hysteresis modeling and simulation

2011-09-08 Thread Bill Harris
On Mon, Sep 5, 2011 at 12:25 AM, Yvonnick Noel wrote: > Hi Bill, > > I once modelled a hysteresis phenomenon (on binary data) with a simple > logistic model. I am not sure I understand how this pattern appears in your > data, but in my previous analyses, it appeared as an order effect: The > resp

Re: [R] Hysteresis modeling and simulation

2011-09-05 Thread Yvonnick Noel
Hi Bill, I once modelled a hysteresis phenomenon (on binary data) with a simple logistic model. I am not sure I understand how this pattern appears in your data, but in my previous analyses, it appeared as an order effect: The response increased in probability later with increasing than with

[R] Hysteresis modeling and simulation

2011-09-01 Thread Bill Harris
Can anyone suggest a package or code for modeling a hysteresis process in R? I'm currently modeling a certain dataset with a GAM using mgcv, something like gam(y~ s(x, by=z) + z, family = Gamma(link=log),data=data) and getting fits with about 9 estimated degrees of freedom in the smooth for eac