Chapter 5. Statisticcal Tests and Linear Regression
using Pkg;
Pkg.add("HypothesisTests");
using HypothesisTests, CSV, DataFrames, RDatasets[32m[1m Resolving[22m[39m package versions...
[32m[1m No Changes[22m[39m to `~/.julia/environments/v1.11/Project.toml`
[32m[1m No Changes[22m[39m to `~/.julia/environments/v1.11/Manifest.toml`
[92m[1mPrecompiling[22m[39m project...
[91m ✗ [39m[90mGtkObservables[39m
[91m ✗ [39mProfileView
0 dependencies successfully precompiled in 4 seconds. 518 already precompiled.
[91m2[39m dependencies errored.
For a report of the errors see `julia> err`. To retry use `pkg> precompile`df = dataset("datasets", "iris")
first(df, 5)Row
SepalLength
SepalWidth
PetalLength
PetalWidth
Species
T-tests
One-sample
Two-samples
Paired-samples
ANOVA
Models in Julia
1. Multivariate Linear Regression
2. Fixed-effects Models (fast)
3. Mediation
Row
X
M
Y
4. Moderation
Row
X
W
Y
5. Conditional Process
Row
X
M
W
Y
Last updated