aStat manual Open aStat

Getting started

Open a sheet, check the design aStat suggests, press Run, and read the answer.

1. Wait for R

When the page opens, the top right corner says what R is doing. The first visit downloads R, which can take a minute on a slow connection; later visits take a few seconds. When it says R is ready, you can run analyses.

2. Open your data

You can type into the sheet, paste from Excel, and undo or redo with Ctrl+Z and Ctrl+Y.

3. Lay out your data

aStat expects the layout every statistics package expects, often called "long" or "tidy" data:

CowIDTreatmentDayMilk_kg
C01Control031.2
C01Control1432.0
C02Fat030.8
C02Fat1433.1
If your sheet has one column per day (Weight_d0, Weight_d14, Weight_d28), reshape it to one row per day first. Paired t-tests are the exception: they compare two columns directly.

4. Check the suggested design

Under What this sheet looks like, aStat lists the designs that fit your columns, most likely first, with the reasons and a question only you can answer, such as whether treatments went to individual animals or to whole pens. The rules are ordinary code, not AI, so the same sheet always gets the same suggestions.

Click Use this analysis on a suggestion, or pick any analysis yourself under Set up the analysis. If something does not fit (a missing column, too few animals), aStat says what is wrong before anything runs.

5. Run and read

Press Run analysis. You get:

See Reading results for what each part means.

Mixed and generalized models

The first time you run a mixed model or a count or score model, aStat downloads the R packages it needs (lme4, lmerTest, mmrm, or MASS). This takes from a few seconds to about a minute and happens once per browser.