ANOVA
|
02-28-2015, 05:47 PM
(This post was last modified: 03-02-2015 10:43 PM by salvomic.)
Post: #1
|
|||
|
|||
ANOVA
hi all,
I'm reading this thread, and I'd like to calculate ANOVA with Prime. Any hints, help, tricks to operate with the commands and apps that Prime has is welcome; also hints to make a simple program. It would be very interesting can use Statistic (one or two var) and Inference App for that purpose also, otherwise to have a dedicated app to analyze variance... Help is much appreciated, thanks! Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-04-2015, 06:57 PM
(This post was last modified: 03-05-2015 08:04 PM by salvomic.)
Post: #2
|
|||
|
|||
RE: ANOVA
please, advice to me some tips...
I'm starting to focalize the problem for ANOVA... I would get two results: 1. input G groups of data with items, calculating "ANOVA table" (mean, Sum of squares, degree of freedom, SSA, SSW, SST, F and so on) 2. giving the minimal useful data (summary result), obtain the same table. About 1st purpose, the user must insert items, and a good location could be "Statistics 2Var" and it's columns, so we can use C1, C2,... and treat also C1(1), C1(size(C1) and so on... Only we cannot use more than 10 groups (from C1 to C0). I would like to have a sufficient numbers of groups and don't have limit for their size (items) and make that they could be possibly of different size... However, then we should perform a cycle to count how much column are been used and so on... I wonder if there is a better way to do that, as Spreadsheet perhaps is not suited... Any opinion? After that we must created formulae (we could start from here or here; second link is in Italian, sorry), but I'm a bit confused for now and I need help... Last but not least thing: to make an inference test confronting F with Fisher (already in Prime) to validate or not H0 hypothesis... Eventually we need a nice and well ordered routine to present the results. I know that it's a not easy job, almost for me. I sincerely hope someone would collaborate, help, advice... Thanks in advance :-) ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-08-2015, 04:16 PM
Post: #3
|
|||
|
|||
RE: ANOVA
ok,
a first draft... Input data items via Statistic 1var in groups (columns) >= 2 Then use anova(a) where a is alpha, confidence level (i.e. 0.05) with a>0 and <1 Program give a message to say if the test for H0 is to accept (estimation ST > F Fisher) or to refuse, another with degree of freedom, then the value for ST (estimation) and F (with m-1 and m(n-1) d. of fr.) Code:
I need help for beta testing and a big tip to get RETURN() with multiple values: for now program give only a string, I would like it'd give numeric values with descriptive strings for ST, F, and also others (list of means, variances...) Thanks to the user DrD for the tip with the columns! Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-08-2015, 04:20 PM
Post: #4
|
|||
|
|||
RE: ANOVA
Salvomic, are you a purely HP man?
The Casio Algebra FX 2.0Plus has a great ANOVA & statistics environment. It's useful to have a comparison anyway. |
|||
03-08-2015, 04:27 PM
Post: #5
|
|||
|
|||
RE: ANOVA
(03-08-2015 04:20 PM)Gerald H Wrote: Salvomic, are you a purely HP man? hi Gerald, I'm using also TI (89 and Voyager), but mostly HP (I've HP 12C, 15C, 50g, Prime), they are good for Statistics (bu haven't got ANOVA), as my old Casio FC 200... I don't know FX 2.0plus, I'm searching for it on Internet (thanks) Also StatMate on iOS (iPhone, iPad) is a good tool... but I like much Prime, so I want also make ANOVA with it Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-08-2015, 10:07 PM
(This post was last modified: 03-14-2015 09:42 AM by salvomic.)
Post: #6
|
|||
|
|||
RE: ANOVA
Second (and 3rd, and 4th) try.
Now the program works also with groups of different numerosity. Added a new function to calc ANOVA(a) when (in Statistic 1var, D1, D2, D3) are given a list of means, a list of variances and a list of numerosity: ANOVA_list(a) a is alpha (es. 0.05). Added the calc of p-value, "post hoc" analysis test -balanced- LSD (least significant difference) and "Pooled standard deviation" (sp). Reviewed and simplified formulae. Now the program exports some useful variables: list of means of the groups, p_value, list of variances within groups, test's result, mean and variance between groups, SSG, MSG, SSE, MSE (sum square between, within and total), mean square between and within)... It gives also degrees of freedom in a msgbox and as variable. Added help inline: ANOVA_help() Code:
∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-12-2015, 06:12 PM
(This post was last modified: 03-12-2015 10:10 PM by salvomic.)
Post: #7
|
|||
|
|||
RE: ANOVA
Tim, Parisse, Han and everybody, definitely this is not the best possible program for the calculation of ANOVA (I would like only to give "my two cents", but I'd like someone in the Forum could improve it or make another more powerful program to be able to put (in a next FW update) into XCas and Inference application of the Prime.
However I don't know if it is possible to do it, so, please, let us know your opinion, if you want Thanks in advance. Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-13-2015, 12:44 AM
Post: #8
|
|||
|
|||
RE: ANOVA
(03-12-2015 06:12 PM)salvomic Wrote: Tim, Parisse, Han and everybody, definitely this is not the best possible program for the calculation of ANOVA (I would like only to give "my two cents", but I'd like someone in the Forum could improve it or make another more powerful program to be able to put (in a next FW update) into XCas and Inference application of the Prime. I have thought about various kinds of popular ANOVA calculations. My approach is to have a function that does the calculations and another that reports the results back to the caller (or client). |
|||
03-13-2015, 09:47 AM
(This post was last modified: 03-13-2015 06:09 PM by salvomic.)
Post: #9
|
|||
|
|||
RE: ANOVA
(03-13-2015 12:44 AM)Namir Wrote: I have thought about various kinds of popular ANOVA calculations. My approach is to have a function that does the calculations and another that reports the results back to the caller (or client). good idea, Namir. My program does the calculation, then put the most important result also in a few variables, so the user can use them for other calculation or for a "post hoc" analysis. A program for some kind of post hoc analysis would be good also; my program gives also two variables for test: LSD and pooled standard deviation, but no tests, for now... I thank you also for the good advice (and short programs) on this thread! have a nice day Salvo *** EDIT: then I need also hints to try writing a program for ANOVA "two factors": how better is to input data? a matrix? Statistics? ... In this case we have a table in witch the two factors are in the rows and in the columns, and we must calculate data (sum, squares, means) for rows, for columns and total, but a matrix perhaps is not so easy for this purpose (fancy a matrix with 8 rows and 10 columns...) ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-17-2015, 08:01 PM
(This post was last modified: 03-22-2015 11:02 PM by salvomic.)
Post: #10
|
|||
|
|||
RE: ANOVA
ANOVA two way (blocks and treatments)
ANOVA with blocks and treatments (2 way). Values in a matrix (anovamat). Edit it inside or outside the program. Usage: anova2(), edit matrix and input alpha significance level (i.e. 0.05) anova2_help() give short help. The program returns now also a matrix with residues and pooled stddev. Code:
∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-18-2015, 06:09 PM
(This post was last modified: 03-25-2015 10:04 AM by salvomic.)
Post: #11
|
|||
|
|||
RE: ANOVA
ANOVA one way revisited.
This version doesn't require the parameter alpha (significance level) at the prompt: input it inside of the program -> anova(), anova_synt() (and anova_help() )... Data now use Statistic 2Var, and so with ANOVA_synt() C1: means, C2: stddevs, C3: numerosity; with ANOVA() every treatment in columns C1, C2, ..., C0 (10 max), al always... This version calculates also a matrix of residues and export it. I corrected also a few typos. Code:
∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
01-07-2021, 05:22 PM
Post: #12
|
|||
|
|||
RE: ANOVA
You can try some free tool to calculate ANOVA such as https://statsjournal.com/anova-test
Let me know is it work. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)