Metida

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.

StatusCoverBuildDocs
Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.codecovTier 1Latest docs

Metida.jl is a experimental Julia package for fitting mixed-effects models with flexible covariance structure. At this moment package is in development stage.

Install:

import Pkg; Pkg.add("Metida")

Using:

using Metida, StatsBase, StatsModels, CSV, DataFrames
df = CSV.File(dirname(pathof(Metida))*"\\..\\test\\csv\\df0.csv") |> DataFrame
categorical!(df, :subject);
categorical!(df, :period);
categorical!(df, :sequence);
categorical!(df, :formulation);

lmm = LMM(@formula(var~sequence+period+formulation), df;
random = VarEffect(@covstr(formulation), CSH),
repeated = VarEffect(@covstr(formulation), DIAG),
subject = :subject)

fit!(lmm)

Copyright © 2020 Metida Author: Vladimir Arnautov mail@pharmcat.net