[R] fit a nonlinear model using nlm()

2007-07-17 Thread William Simpson
I am trying to fit a nonlinear model using nlm(). My application of nlm() is a bit complicated. Here is the story behind the model being fit: The observer is trying to detect a signal corrupted by noise. On each trial, the observer gets stim=signal+rnorm(). In the simulation below I have 500

Re: [R] fit a nonlinear model using nlm()

2007-07-17 Thread Ken Knoblauch
William Simpson william.a.simpson at gmail.com writes: I am trying to fit a nonlinear model using nlm(). The observer is trying to detect a signal corrupted by noise. On each trial, the observer gets stim=signal+rnorm(). In the simulation below I have 500 trials. Each row of stim is a new