[R] Power analysis and sample size calculation for nonlinear regression

2011-11-14 Thread Johannes W. Dietrich
Is there a library that provides power calculation and sample size estimation for nonlinear regression? The task is easy for linear regression with the pwr package, but I can't find a method for nonlinear regression (estimated with the nls package). -- -- -- -- -- -- -- -- -- -- -- -- --

Re: [R] Power analysis and sample size calculation for nonlinear regression

2011-11-14 Thread Bert Gunter
May I suggest you consult your local statistician. For reasons that (s)he can answer, your request makes little sense. Hint: Nonlinear regression is much different than linear regression: The design matrix -- and hence the variance of estimators -- is a function of the parameters being estimated.