Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pharmcat/saslmr.jl
Julia package for ANOVA type I/II/III
https://github.com/pharmcat/saslmr.jl
Last synced: about 13 hours ago
JSON representation
Julia package for ANOVA type I/II/III
- Host: GitHub
- URL: https://github.com/pharmcat/saslmr.jl
- Owner: PharmCat
- License: mit
- Created: 2024-05-05T13:05:19.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-19T20:54:40.000Z (6 months ago)
- Last Synced: 2024-05-22T21:35:12.321Z (6 months ago)
- Language: Julia
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SASLMR.jl
This program comes with absolutely no warranty. No liability is accepted for any loss and risk to public health resulting from use of this software.
[![Latest docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://pharmcat.github.io/SASLMR.jl/dev/)
[![Stable docs](https://img.shields.io/badge/docs-stable-blue.svg)](https://pharmcat.github.io/SASLMR.jl/stable/)|
SASLMR.jl is Julia package, it wrapp `sasLM` package for R project for ANOVA type I/II/III.
Install:
```
import Pkg; Pkg.add(url="https://github.com/PharmCat/SASLMR.jl.git")
```Note:
SASLMR.jl doesn't install `sasLM`. To use SASLMR.jl first install `sasLM` in your R project enviroment.
Check that R project is included in `PATH`, and check that RCall.jl builded successfully.Using:
```
using SASLMR
using StatsModels, StatsBase, DataFrames# data (DataFrame)
bedf = SASLMR.bedata()# run ANOVA
beaov = SASLMR.aov(@formula(CMAX ~ PRD + TRT + SEQ + SUBJ&SEQ), bedf; beta=true, resid=true, type = "III")# get DF
beaovdf = DataFrame(beaov.ct)# or get coeftable
ct = coeftable(beaov)
```Also functions: `aov1`, `aov2`, `aov3` can be used in the same way:
```
beaov = SASLMR.aov3(@formula(CMAX ~ PRD + TRT + SEQ + SUBJ&SEQ), bedf; beta=true, resid=true)
````AOVSumm` fields:
* heading
* ct
* parameters
* fitted
* residual
For more details see:
https://cran.r-project.org/web/packages/sasLM/sasLM.pdf
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7781810/
SASLMR.jl not cover all `sasLM` functionality... so... wellcome any PR for extending.