HP Forums
Logistic Reggresion - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Logistic Reggresion (/thread-22099.html)



Logistic Reggresion - Gabrielalm - 07-29-2024 07:24 PM

Hello, I need some advice about the built in logistic reggresion function in my hp prime. I don’t understand how this function works. The function says it needs a list and a value of x0 and a value of y0. The function works for a list of x and y data ? or how it works because the list that asks for input must be as follows [1,2,3,4], and this way I can’t enter data pairs (x,y).

Thank you so much if someone can help me with my doubt.


RE: Logistic Reggresion - rawi - 07-31-2024 04:18 AM

Go to Apps - Statistics2Var.
You see a spredsheet. Type in your x-variable in Column C1 and y-variable in Column C2.
Press the Symb-Key. Set hook in first line.
Select Type Logistic. Press Plot-Key. You get a graphic of the dots + function.
Press Symb-Key. You will find your logistic function with prameters.
I hope this helps a bit.


RE: Logistic Reggresion - Wes Loewer - 08-01-2024 08:21 PM

(07-31-2024 04:18 AM)rawi Wrote:  Go to Apps - Statistics2Var.
...
I was about to write something similar about Statistics2Var, but then I realized that he was asking about the CAS function logistic_regression(). I looked at the online help screen and realized that this does not do what I expected. I haven't had time yet to look at it more thoroughly, but I will have to study it when I get a chance.


RE: Logistic Reggresion - parisse - 08-04-2024 09:34 AM

Online help example is misleading. Should be e.g.
Pcumul,Pinstant,Ptotal,Pinstantmax,tmax,R:=logistic_regression([2.,3.,4.,5.,4.5],0.0,4.0)
Input signification: cumulated production estimated at time 0: 4, instant production at times 0, 1, 2, 3, 4: 2,3,4,5,4.5
If you plot Pinstant from x=0 to 10 you will see a nice Hubbert curve.