Jagarlamudi, Choudary
2005-Jan-06 22:35 UTC
[R] Help in Customising NLS function to spit out Mean and SD of the new fit!!!
Hi all, I'm trying to customize the nls function code to spit out the sd and mean of the new fit. All it gives me are the fitted values. THis function seems to work fine for my project otherwise. All i need is the SD and MEAN. Can someone help me to customise. I frankly did not understand the nls code at all. I have 10 x and 10 y values from a histogram. I need to use nls to do the best fit and give me the mean and sd of this new fit. Thanks in advance Choudary Jagarlamudi Instructor Southwestern Oklahoma State University STF 254 100 campus Drive Weatherford OK 73096 Tel 580-774-7136
Spencer Graves
2005-Jan-06 23:46 UTC
[R] Help in Customising NLS function to spit out Mean and SD of the new fit!!!
I'm very sorry, but I don't understand what you did and what you don't understand. Have you worked through the examples in the "nls" documentation? If you have and still have questions, "PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html". In particular, please provide a very brief and simple, self contained example, so someone can copy a few lines from your email and paste it into R to replicate what you got. With that, you will more likely get a useful answer. hope this helps. spencer graves Jagarlamudi, Choudary wrote:>Hi all, > I'm trying to customize the nls function code to spit out the sd and mean of the new fit. All it gives me are the fitted values. THis function seems to work fine for my project otherwise. All i need is the SD and MEAN. Can someone help me to customise. I frankly did not understand the nls code at all. > >I have 10 x and 10 y values from a histogram. I need to use nls to do the best fit and give me the mean and sd of this new fit. > >Thanks in advance > >Choudary Jagarlamudi >Instructor >Southwestern Oklahoma State University >STF 254 >100 campus Drive >Weatherford OK 73096 >Tel 580-774-7136 > > >------------------------------------------------------------------------ > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Maybe Matching Threads
- Help in customising the NLS function to spit out mean and SD of new fit!!
- How to extract x rows to get x pvalues using t.test
- comparing a vactor of values in IF statement.
- How to get standard deviation of rows in a matrix
- Help in Overlaying of 2 Plots on the same Device.