I was asking to find best fit values for two unknown parameters using the lm() function in r, I have used the lm function before but I am unsure of how to do this for unknown parameters?
I need to use the lm function on this formula
log(C)~ log(A)+ D log(B)
Based off of this model
log(C)~ N(log(A)+ D log(B),σ^2 )
I already have the starting values for C and B in vectors, and I need to estimate A and D? I am not how to do this in r using the lm function.
Thank you!