![]() |
Entering,Saving,and Analysis /Fitting X Y Data on the Prime - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: Entering,Saving,and Analysis /Fitting X Y Data on the Prime (/thread-253814.html) |
Entering,Saving,and Analysis /Fitting X Y Data on the Prime - Harold A Climer - 10-25-2013 The students in my Physics Lab class did the Simple Pendulum Lab using a Vernier LabPro Interface and Photo-gate today. Re: Entering,Saving,and Analysis /Fitting X Y Data on the Prime - Eddie W. Shore - 10-25-2013 Custom names are allowed. Any matrix with a name other than M0-M9 will appear under User Variables (accessed by the Vars key).
Using custom names for matrices in programs must be local and initialized. Edited: 25 Oct 2013, 9:47 a.m.
Re: Entering,Saving,and Analysis /Fitting X Y Data on the Prime - Han - 10-25-2013 Quote: To clarify Eddie's post:
EXPORT MYPROG() Matrices can be global variables, though. If you already created a matrix named MYMATRIX, then it can be used in your program without any variable delcaration. If MYMATRIX does not exist, then the program editor will complain with a Syntax Error -- you can then just exit the program editor and create a dummy MYMATRIX and this will fix the syntax error. Lastly, one may also have MYPROG() create a global variable as well (both visible and invisible).
EXPORT MYMATRIX; // export creates a global variable named MYMATRIX; initially value is 0 Anytime a program file is edited (or even just viewed) it will get recompiled. So the flag initMyProg will determine whether or not to re-initialize the MYMATRIX or leave it intact to be reused by MYPROG().
Using EXPORT makes a global variable visible to the user, whereas leaving it out means the variable (while still global) is not visible to the user. Since we don't want users to be tinkering with the flag -- it should only be visible to the MYPROG() program -- then we do not export it.
Re: Entering,Saving,and Analysis /Fitting X Y Data on the Prime - CR Haeger - 10-25-2013 Hello, I'm new at using HP PRIME as well but have found that for STATS 2VAR App you can: Create lists (in HOME view) and sto> in a List (L0-9) or sto> as a user variable. For example, say you store L1 and Test_List as lists. In STATS 2Var SYMB view, you can refer to L1, Test_List or any of the C1-C4 Columns associated with the App. PLOT and NUM views seem to work fine. You can also refer to a range of Spreadsheet cells directly in the STATS SYMB view (ie. Spreadsheet.A1:A10).
Re: Entering,Saving,and Analysis /Fitting X Y Data on the Prime - Harold A Climer - 10-26-2013 Quote:I found all the responders answers to this question very helpful,but I forgot to ask another question or two. Where is the regression coefficient or the RMSE displayed when using the 2 Variable Statistics APP? Also where is the covariance displayed? They are shown when using the 50G. RMSE maybe not? Re: Entering,Saving,and Analysis /Fitting X Y Data on the Prime - Tim Wessman - 10-26-2013 It is a numerical value or calculation, so it will be somewhere in the NUM view. Pres STATS (F6). Toggle between X or Y specific values using the menu keys.
TW
Re: Entering,Saving,and Analysis /Fitting X Y Data on the Prime - Tim Wessman - 10-26-2013 Also, a lot don't realize the column definitions in the stat symb screen are actually formulas. Thus things like LN(my_list)+1 are perfectly acceptable there.
TW
|