estimate_by_optim.Rdestimate_by_optim is function to estimate lcm parameter using optim
estimate_by_optim(data, model, opts, parameter_range)
| data | data from fit_asl or fit_asl_parallel |
|---|---|
| model | 1 = latent cause model, 2 = latent cause modulated RW model |
| opts | (optional) structure defining ASL options |
| parameter_range | (optional) range of parameter |
estimated parameters, negative log likelihood