Recent

Author Topic: LazStats - A new statistics package  (Read 13808 times)

wgmiller

  • Newbie
  • Posts: 2
LazStats - A new statistics package
« on: January 19, 2010, 06:31:14 pm »
I have converted a previous Delphi program to Lazarus.  It currently is only compiled for Windows and can be obtained at:
http://statpages.org/miller/LazStats
I do not have Linux or other platforms to attempt to compile it for these other platforms.  If any of you are willing, I would appreciate your participation.

Troodon

  • Sr. Member
  • ****
  • Posts: 484
Re: LazStats - A new statistics package
« Reply #1 on: January 19, 2010, 07:04:01 pm »
Impressive work!

I do not have Linux or other platforms to attempt to compile it for these other platforms.  If any of you are willing, I would appreciate your participation.

To develop for Linux, you can install VirtualBox for Windows as host and Linux Ubuntu as client. They are both available free of charge.
« Last Edit: January 19, 2010, 07:42:37 pm by Troodon »
Lazarus/FPC on Linux

kamischi

  • Full Member
  • ***
  • Posts: 177
Re: LazStats - A new statistics package
« Reply #2 on: January 19, 2010, 08:03:39 pm »
I had a quick try on Mc OS X: The windows unit is not available. According to this part of the lazarus wiki conversion page:

http://wiki.freepascal.org/Code_Conversion_Guide#Converting_Delphi_projects.2Fforms.2Funits_to_Lazarus

I replaced the windows unit by LCLIntf.

Also, the case sensitivity of the filesystem gives problems. BLKANOVAUNIT.lrs and many more .lrs files. After correcting them i could get the program to start. As usual, the positions of texts and boxes need adjustments. Still some more warnings and stuff, but good enough for a screen shot.

Mischi.
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

crorden

  • New Member
  • *
  • Posts: 36
Re: LazStats - A new statistics package
« Reply #3 on: January 20, 2010, 02:44:32 am »
Fantastic. OpenStat is a terrific tool. LazStats looks great. This looks like a very mature conversion - you already have the graphs and charts looking great.

Troodon

  • Sr. Member
  • ****
  • Posts: 484
Re: LazStats - A new statistics package
« Reply #4 on: January 20, 2010, 04:46:32 am »
It currently is only compiled for Windows

You may wish to follow the suggestions in this thread http://www.lazarus.freepascal.org/index.php/topic,6244.0.html to minimize the size of your executable (I got around 4.2 MB on win32 and 5.4 MB on lnx32).

Please consider adding LazStats to the Lazarus application gallery http://wiki.freepascal.org/Lazarus_Application_Gallery (BTW, perhaps the Lazarus and FPC galleries should be merged).
« Last Edit: January 20, 2010, 05:29:23 am by Troodon »
Lazarus/FPC on Linux

wgmiller

  • Newbie
  • Posts: 2
Re: LazStats - A new statistics package
« Reply #5 on: January 23, 2010, 01:18:49 am »
Chris Rorden has compiled versions for Linux (32 bit and 64 bit) as well as Mac OSX.  He also "cleaned up" the code and made valuable suggestions.  You can download these at
http://statpages.org/miller/LazStats/

tatamata

  • Hero Member
  • *****
  • Posts: 701
    • ZMSQL - SQL enhanced in-memory database
Re: LazStats - A new statistics package
« Reply #6 on: January 29, 2020, 10:25:00 am »
Hello, is LazStats still actively maintained by mr. Miller? Are there any recent forks or similar developments?
Is there any Lazarus software dealing specifically with DOE (Design Of Experiments)?
Are there any books or other materials covering specifically how to use LazStats for DOE?

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7928
Re: LazStats - A new statistics package
« Reply #7 on: January 29, 2020, 11:03:33 am »
Hello, is LazStats still actively maintained by mr. Miller? Are there any recent forks or similar developments?
Is there any Lazarus software dealing specifically with DOE (Design Of Experiments)?
Are there any books or other materials covering specifically how to use LazStats for DOE?

A newer url seems to be https://openstat.info/LazStatsMain.htm

wp

  • Hero Member
  • *****
  • Posts: 6722
Re: LazStats - A new statistics package
« Reply #8 on: January 29, 2020, 11:14:40 am »
Hello, is LazStats still actively maintained by mr. Miller?
Does not look like that, even the link in the previous post is not working any more. I finally could download the Windows (*) sources from https://openstat.info/LazStatsMain.htm. Compilation did work after some changes (replaced GraphFrm.AutoScale by .AutoScaled due to a naming conflict), but at runtime I get a grid error that "FixedRows can't be > RowCount." which can be resolved by setting "DictionaryFrm.DictGrid.RowCount := DictionaryFrm.DictGrid.FixedRows;" in TOS3MainFrm.FormShow, unit MainUnit.

Is there any Lazarus software dealing specifically with DOE (Design Of Experiments)?
I don't think so. Isn't it true that DOE in the end comes down to linear regression? In this case you could try the fitting routins built into TAChart. Or try DMath available via Online Package Manager, or JediMath (https://sourceforge.net/projects/jedimath/). Some forms require some redesign.

(*) The windows unit is used by some units. In all of them it can be removed. There is a variable named RichEdit in the code but this already has been replaced by a TMemo.
« Last Edit: January 29, 2020, 11:34:57 am by wp »
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10