Go to: CoHort Software | CoStat

Download the Free Trial Version of CoStat 6.45

Thank you for choosing to try CoStat. (This is version 6.450.)

Installation Notes:

  • Technical Support Is Free before and after you buy a license. If you can't figure something out or don't like something, please don't give up. Contact technical support. Maybe we can help.
  • Slightly Crippled - Unless you buy a license and use Help : Register to register this program, this trial version of CoStat will cover up one line of data on the screen with "CoStat (not registered)" and will suppress printing crucial statistics (it prints "not registered" instead). The line of data in the spreadsheet covered up by the red letters is still accessible (move the cursor to one of the cells and look in the data entry field above the spreadsheet). Otherwise, this is the complete version of CoStat. We are sorry about the crippling. We felt we had to do something to encourage people to buy a license and not just use the free trial versions forever. CoHort Software is a small company of people trying to make a living writing, selling, and supporting this software. If you like CoStat, please buy a license.

Install CoStat:
For all operating system (Windows, Macs, and Linux)

  1. If your computer doesn't already have Java (at least version 8),
    download and install the latest version of Java by going to www.java.com and clicking on Free Java Download.
    You only need the Java JRE, which is what that website will give you.
    You don't need the Java JDK, which is available elsewhere and usually just for software developers.
  2. Download costat6450.zip (5,691,899 bytes).
  3. For Windows or Linux, use a Zip program to unzip costat6450.zip into some directory,
    perhaps a new /programs directory on Windows (but not \Program Files or \Program Files (x86))
    or /usr/local/bin on Linux.
    Unzipping the .zip file will make a cohort6 directory which has all the files.

    On Macs, the .zip file will already be unzipped and will appear as a cohort6 folder in your Downloads folder.
    In Finder, drag the cohort6 folder to your Applications folder.

  4. For Linux, you need to make the script files exectuable. For example,
    cd cohort6
    chmod +x costat.sh
    chmod +x cotext.sh

  5. To run the program,
    • For Windows, double click on the coplot.bat, costat.bat, or cotext.bat script files in the cohort6 directory.
      .bat may not appear, but Windows batch file will appear in the Type column or if you hover over the name.
      If Windows says it is an untrusted application, click More info : Run Anyway.
    • For Macs, this is an untrusted app (we're working on that), so you need to Control click on the costat or cotext Application files or the costat.command or cotext.command files in the cohort6 directory and select Open.
    • For Linux, double click on the costat.sh or cotext.sh script files in the cohort6 directory.
If you have problems installing or running the program, see the suggestions below.


Common Download Problems

  • If your browser changes the file's name before saving it, change the name back to the name specified above.
  • If the download freezes at 99% for more than a minute, try cancelling it and starting the download again. Usually, it will go super fast the second time and get to 100%. If that doesn't work, try downloading with a different browser (if you have one) or on a different computer. If that doesn't work, please send an email to CoHortSoftware at gmail.com.


Common Problems with Installing and Running CoStat from the Command Line

Windows, Macs, or Linux says something like: "Bad command or file name: java" right after the script file tries to run java.
The Java program isn't being found. Make sure Java is installed and accessible by typing java -version from a command line. It should answer with the version number. If not, fix the Java installation.

If Java is installed but not accessible via references to 'java', edit the script to include the name of the directory where the java program file is located.

There are text buttons, not graphics icon buttons, on the toolbar just below the menu titles.
Make sure that the icon's .gif files are indeed in the cohort6 directory: for example, check to see that OpenButton.gif is present. If it isn't, try to find out where it is (on Macs and Linux, use "find / -name 'OpenButton.gif'") as that may help you determine what went wrong with your installation.
Problems running CoStat from a shortcut file or a desktop icon?
Make sure the shortcut points to the correct script file in the cohort6 directory. Also, make sure that the shortcut file makes the cohort6 directory the current directory before it runs the costat script.


What Is in the 'costat' Script/Batch Files?

Few people will need to know these details. But here they are:

Usually, the files have just one command in them. Using the Windows batch file for CoStat as an example:
java -Xmx1300m -cp .;cohort.jar com.cohort.CoStat %1 %2 %3 %4
The syntax is slightly different in the Macs/Linux shell scripts. The components are:

runs the program via the java program. If Java isn't found when you run the script file, make sure Java is correctly installed. In some circumstances, you need to add the full directory name before "java".
specifies 1300 MB as the maximum amount of memory to be allocated to the program. 1300 MB is the most you can safely allocate on computers with 32-bit operating systems or 32-bit Java.

If you get an "out of memory" error message in a CoHort program, it is more likely that something other than memory is the problem. See Memory in the CoStat manual.

However, if you are working with huge data files and want to increase the memory allocation on 64-bit operating systems with 64-bit Java, just change the number: e.g., -Xmx3000m . The highest you should set this to is about 3/4 of the amount of physical memory in your computer. Specifying more than that leads to disk thrashing.

-cp .;cohort.jar
sets the Java classpath, which tells Java where to look for the Java class files. The cohort.jar file is a compressed file which contains all of the class files from CoHort Software. All of the other files which are distributed with CoStat (for example, .aov files) should be in the same directory as cohort.jar. In the Macs and Linux script files, the path separator is ":", not ";".
the name of the Java class to be run. This is "com.cohort.CoText" or something else in the other script files. This is case sensitive in all operating systems.
%1 %2 %3 ... (or similar)
passes the parameters on the command line (e.g., a document name) to the program.


Optional Document Name on the Command Line

For CoStat, the extension of the datafile name on the command line tells CoStat what type of data file it is, so that CoStat can import the data. If the datafile name doesn't have an extension, .dt will be added. Supported file types (and the necessary extensions) are: ASCII (.asc), Comma separated value ASCII (.csv), columnar ASCII (.col), CoStat (DOS .dt and Java .dt), dBASE (.dbf), Epi-Info (.rec), Excel (.xls), Gauss (.fmt), Genstat (.gsh), HTM (.htm), HTML (.html), Instat (.wor), Lotus 1-2-3 (.wk3), MatLab (.mat), Microstat II (.mii), Minitab (.mtw), MSTAT (.dat), Paradox (.db), Quattro (.wq1), Quattro Pro for Windows (.qpw), Rich Text Format (Word, .rtf), S+ (.sdd), SAS PC (.tpt), Space separated ASCII text (.txt), SPSS/Win (.sav), Stata (.dta), Statistica (.sta), Systat (.syd), Tab separated ASCII text (.tab).

For example, "costat longley.dbf" will run CoStat and import data from the Longley dBASE file. See File : Open in the CoStat manual for details.


Problems, Comments, Questions, or Suggestions?

We want your experience with CoStat to be a good one. If you have problems, comments, questions, or suggestions, don't hesitate to contact technical support.