HP 50g — import statistical data into hypothesis test

12082018, 10:52 PM
(This post was last modified: 12082018 11:11 PM by DavidM.)
Post: #20




RE: HP 50g — import statistical data into hypothesis test
(12082018 07:42 PM)cdmackay Wrote: ...you could use these stack arrays to test: I was actually more hoping for an example of the ΣDAT array, as the method I'm suggesting takes care of computing the mean/sdev/count automatically. I have no idea if my data here is sensible, but here's an example of what I'm talking about: Use whatever means you're comfortable with for creating a ΣDAT array with the following contents: Code: [ Store the following program in the same directory as the above array. I've named mine ST2 for "Student's TTest 2variable": Code: ST2 Activate the appropriate form with: rightshift 5 5 ENTER 6 ENTER You'll then be shown the input form. With the value for x1 currently highlighted, press alpha, then ST2, then ENTER. That's where the magic happens. The ST2 program is run, which outputs (in order) x1, x2, s1, s2, n1, n2. These values are then automatically inserted into their corresponding fields in the form. You are then free to enter whatever you like for α and "pooled?" to continue. For reference, the above data creates the following values when run on my 50g: x1: 3 x2: 3.3 s1: 1.58113883008 s2: 1.73925271309 n1: 5 n2: 5 Hopefully my intent is clear enough, even if my sample data is totally meaningless! Does this make sense? Notes:  I have no idea if the dimensions of this sample ΣDAT are correct for this type of application  This method of "autopopulating" fields in a form doesn't work universally. Many forms have special restrictions and utility routines which keep this type of mechanism from working as it does here. 

« Next Oldest  Next Newest »

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