Displaying 2 results from an estimated 2 matches for "std4".
Did you mean:
std
2005 Jan 07
1
Help in customising the NLS function to spit out mean and SD of new fit!!
...the midpoints i did a dnorm and got the densities.
pl<-dnorm(trimmedvals,mean=midsmean,sd=midsSD)
(now in a loop of 5 times)
i plotted these experimental values against theoretical values using
the nls function the following way.
nlsresult<-nlsModel(pl ~ 1/sqrt(2 *pi)*std)*2.71828^2/(2*std4^2)),data=answer,start=list(std4=std4,sm=sm))
in the formula mean was mid point of 1st frequency bar and sd was sd of 6000 values.I do this 5 times each time changing the mean in the formula to be the mid point of the next frequency bar.
now i plotted plot(fittedvals ~trimmedvals)
I am told to...
2005 Jan 07
0
Help in customising the NLS function to spit out mean and SD ofnew fit!!
...and got the densities.
> pl<-dnorm(trimmedvals,mean=midsmean,sd=midsSD)
> (now in a loop of 5 times)
> i plotted these experimental values against theoretical values using
> the nls function the following way.
> nlsresult<-nlsModel(pl ~ 1/sqrt(2
> *pi)*std)*2.71828^2/(2*std4^2)),data=answer,start=list(std4=st
> d4,sm=sm))
> in the formula mean was mid point of 1st frequency bar and
> sd was sd of
> 6000 values.I do this 5 times each time changing the mean in
> the formula to
> be the mid point of the next frequency bar.
> now i plotted plot(fi...