10-29-2013, 10:36 PM

Is there a way to have the Prime choose the best model fit of a 2 Var statistical data set as on the HP 30b?

Thanks for including trig fit model and user created fit option!

You're currently viewing a stripped down version of our content. View the full version with proper formatting.

10-29-2013, 10:36 PM

Is there a way to have the Prime choose the best model fit of a 2 Var statistical data set as on the HP 30b?

Thanks for including trig fit model and user created fit option!

10-30-2013, 12:02 AM

I don't own a Prime for reasons explained elsewhere, but I'd recommend writing a little program using alll the fit models applicable and then choosing the one which returns the maximum r^2. At least that's what the BEST setting in the HP-42S does - and BESTF in the WP 34S. It's an automatic 'brute force' approach though, so watch the result.

d:-)

10-30-2013, 12:48 AM

While we're on the subject, are the EXPONENTIAL and EXPONENT fits just two different ways of expressing the same fit? Everything data set I've tried gets the same r^2 for both fits.

10-30-2013, 06:10 AM

Yes, EXPONENTIAL and EXPONENT are essentially the same regression model. Take a look at the manual, p. 231:

In EXPONENTIAL mode, y equals b · e^{m·x}

In EXPONENT mode, y equals b · m^{x}

Since m^{x} = e^{ln m · x} both ways describe the same regression curve. Parameter b is the same in both cases, and the value for m in EXPONENTIAL mode simply is the natural logarithm of the m returned in EXPONENT mode.

Dieter

10-30-2013, 01:07 PM

Thanks, Dieter!

10-30-2013, 01:32 PM

Just a note - the user fit is not really for fitting, rather for editing and adjusting the line in the plot more then anything.

There is not a best fit because the trig/logarithm ones can go so awry and take way too long. I suppose it could be limited to the well behaved fits or something...

TW

10-30-2013, 04:07 PM

Quote:

Just a note - the user fit is not really for fitting, rather for editing and adjusting the line in the plot more then anything.There is not a best fit because the trig/logarithm ones can go so awry and take way too long. I suppose it could be limited to the well behaved fits or something...

TW

In my years of teaching, I have always thought that the best fit selection on previous HP calculators was not the best way to fit data .

It is sometimes misleading to students to use this selection when fitting data. Sometimes it is possible to get a higher regression coefficient or a smaller RMSE using the best fit of data to a linear function when the student is supposed to know(Since they have already been told this by their instructor or it is in the lab handouts,[which most of them do not read] that the phenomena should behave as a natural exponential function.

This the same kind of idea that Tim talked about as regards the CAS not being a Black Box,

I have students every semester that do not know that a numerical result is incorrect,even when they are told up front the possible range of values they should expect to get beforehand.

Charles Dickens had a quote about Medical Students,but I think it applies to students in general.

10-30-2013, 08:06 PM

I agree!

I was initially disappointed that some HP 50g integrations required substitutions in order to accomplish the integration. Yet, I find that I feel a bit more in touch with the problems when I carry out the substitutions, and get the correct solutions.

In my field, meteorology, folks will see a digital bank thermometer display or car thermometer display that is far from the true air temperature, and accept it as true simply because a digital display seems authoritative...

In statistics, the normal distributions are often blindly applied to data that is not truly normally distributed. With the statistic apps on calculators and computers, it's easy to come up with nice tables of standard deviations and so on, and folks will make probabilistic statements that are inaccurate (especially for the tails of the distributions)...

10-30-2013, 11:25 PM

Please see the footnote on p. 229 of the WP 34S Owner's Manual (print edition). Its predecessor is on p. 204 of the pdf (v3.1). You'll find a lot of statistics in the WP 34S.

d:-)

Powered By MyBB, © 2002-2020 MyBB Group