Post Reply 
Election predictions
11-06-2020, 07:05 PM (This post was last modified: 11-07-2020 05:19 AM by Gerson W. Barbosa.)
Post: #7
RE: Election predictions
(11-06-2020 12:37 AM)David Hayden Wrote:  Indeed, it's fun! I keep my Panamatik 34e next to my seat in front of the TV so I can run the program all the time!

I was doing something like that manually two (three?) days ago. I didn’t bother to write a program because I didn’t think it would take that long.

That’s what I’ve come up with on the 32SII:

(Edited: This 32SII version is NOT correct. Please refer to the 33s version below)

A01 LBL A
A02 +
A03 R↓
A04 STO T
A05 x⇆y
A06 STO- T
A07 +
A08 100
A09 x⇆y
A10 ×
A11 LASTx
A12 x⇆y
A13 R↑
A14 /
A15 x⇆y
A16 -
A17 RCL+ T
A18 +/-
A19 ENTER
A20 ABS
A21 /
A22 RTN

Example

NEVADA

Biden 626211 49.8%
Trump 605669 48.1%

626211 ENTER
605669 ENTER
49.8 ENTER
48.1
XEQ A
->
-1 (win still uncertain)

——

PS: There’s a mistake here. Instead of 97.8% (49.7 + 48.1) I should use 92 (% of counted votes then). Will fix that later.

——

PSS:

Fixed version:

(on the hp 33s as the ENTER key of my old HP-32SII got stuck)


E0001 LBL E
E0002 +
E0003 100
E0004 ÷
E0005 STO T
E0006 STOP
E0007 ×
E0008 ENTER
E0009 R↓
E0010 R↓
E0011 STO W
E0012 x<>y
E0013 STO- W
E0014 +
E0015 LASTx
E0016 x<>y
E0017 100
E0018 x<>y
E0019 ×
E0020 LASTx
E0021 RCL÷ T
E0022 +/-
E0023 x<>y
E0024 R↑
E0025 ÷
E0026 +
E0027 IP
E0028 ENTER
E0029 RCL+ W
E0030 +/-
E0031 SGN
E0032 RTN

Example

NEVADA

Biden 626211 49.8%
Trump 605669 48.1%
vote count percentage: 92%

626211 ENTER
605669 ENTER
49.8 ENTER
48.1
XEQ E
-> 0.979 [(49.8+48.1)/100]
92 R/S
->
109417 [votes still at stake]
-1 (win still uncertain)


I thought this would be useful again only in 2024, but I see CNN still shows 253x213...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Election predictions - David Hayden - 11-05-2020, 05:03 PM
RE: Election predictions - mfleming - 11-05-2020, 08:16 PM
RE: Election predictions - David Hayden - 11-06-2020, 12:37 AM
RE: Election predictions - Albert Chan - 11-06-2020, 02:03 PM
RE: Election predictions - Gerson W. Barbosa - 11-06-2020 07:05 PM
RE: Election predictions - Dave Shaffer - 11-07-2020, 02:20 PM
RE: Election predictions - Albert Chan - 11-06-2020, 11:57 AM
RE: Election predictions - Dave Britten - 11-06-2020, 03:48 PM
RE: Election predictions - Dave Britten - 11-07-2020, 02:52 PM
RE: Election predictions - robve - 11-08-2020, 07:52 PM
RE: Election predictions - Dave Britten - 11-08-2020, 08:15 PM
RE: Election predictions - robve - 11-09-2020, 06:23 PM
RE: Election predictions - StephenG1CMZ - 11-09-2020, 07:53 AM
RE: Election predictions - Dave Britten - 11-09-2020, 12:35 PM



User(s) browsing this thread: 2 Guest(s)