Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-30 Thread 王富民awaw
Hi Jason Thanks for your suggestion. I have renamed the function Levene to BrownForsythe, as well as added a comment to note that it assumes its input to be sorted ascendingly. On Tuesday, 31 October 2023 at 02:18:51 UTC+8 Jason E. Aten wrote: > > On Monday, October 30, 2023 at 3:14:29 AM UTC

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-30 Thread Jason E. Aten
On Monday, October 30, 2023 at 3:14:29 AM UTC 王富民awaw wrote: Therefore, perhaps I should not be following scipy and rename my function from Levene to BrownForsythe? Since you have made it available to the public Go community, yes, it would be a good idea to name it BrownForsythe, as it is

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-29 Thread 王富民awaw
Hi Jason Yes, I concur that the function "Levene" named in my package should really be called Brown-Forsthe. I was vacillating between this correct naming versus following the nomenclature of scipy from which my

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-29 Thread Jason E. Aten
王富民awaw: Very nice. The Levene function, though, is confusingly named. The Levene test is distinct from the Brown-Forsthe test, so mixing up the names seems odd.[1] [1] quoting

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-29 Thread 王富民awaw
Hi Jan, Martin, and Jason Thanks for your tips and encouragement for rolling our sleeves. I have put together a small statistics library: stat package - github.com/fumin/stat - Go Packages For my own needs, in addition to Brown-Forsythe, I also

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-29 Thread Jason E. Aten
For the ANOVA, I usually just call from Go into R for such things -- at least until I can validate if its the right thing to do/ meets the sensitivity/power needs of the analysis. https://statsandr.com/blog/anova-in-r/

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-24 Thread Jan
So cool! On Monday, October 23, 2023 at 5:44:29 PM UTC+2 Martin Schnabel wrote: > Hi, > > I attempted to translate the linked JS implementation for fun. Maybe > someone can use it as a starting point and correct or verify its > correctness. > > https://go.dev/play/p/Wrw2yDRof0z > > Have fun! >

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-23 Thread Martin Schnabel
Hi, I attempted to translate the linked JS implementation for fun. Maybe someone can use it as a starting point and correct or verify its correctness. https://go.dev/play/p/Wrw2yDRof0z Have fun! On 10/23/23 07:38, Jan wrote: hi, I did a quick search and I didn't find anything in Go. But

[go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-22 Thread Jan
hi, I did a quick search and I didn't find anything in Go. But looking at the definition and at one implementation in JS , it sounds something relatively easy to write and share :) You can use the R