Re: [R] Is this a mistake in 'An Introduction to R'?

2014-03-05 Thread Geoff Loveman
Peter I see there is no mistake. The phrase about the 'number of parameters' confused me, it is a little ambiguous. Many thanks for taking the time to help me. Geoff > On 5 Mar 2014, at 11:20, "Peter Dalgaard-2 [via R]" > wrote: > > > On 04 Mar 2014

[R] Is this a mistake in 'An Introduction to R'?

2014-03-04 Thread Geoff Loveman
SE (which is the RSS) get multiplied by the number of parameters? I have read through explanations of the method for obtaining the SE but I don't see where the MSE gets multiplied by the number of parameters or why this is needed as shown in the example? Thanks for any help! Geoff Loveman Tec

[R] Product of MSE and number of parameters when generating covariance matrix for Nonlinear least squares?

2014-02-14 Thread Geoff Loveman
Hi! In 'An Introduction to R', section 11.7 on nonlinear least squares fitting, the following example is given for obtaining the standard errors of the estimated parameters: "To obtain the approximate standard errors (SE) of the estimates we do: > sqrt(diag(2*out$minimum/(length(y) - 2) * so