Package: greta 0.4.5

Nicholas Tierney

greta: Simple and Scalable Statistical Modelling in R

Write statistical models in R and fit them by MCMC and optimisation on CPUs and GPUs, using Google 'TensorFlow'. greta lets you write your own model like in BUGS, JAGS and Stan, except that you write models right in R, it scales well to massive datasets, and it’s easy to extend and build on. See the website for more information, including tutorials, examples, package documentation, and the greta forum.

Authors:Nick Golding [aut], Nicholas Tierney [aut, cre], Simon Dirmeier [ctb], Adam Fleischhacker [ctb], Shirin Glander [ctb], Martin Ingram [ctb], Lee Hazel [ctb], Lionel Hertzog [ctb], Tiphaine Martin [ctb], Matt Mulvahill [ctb], Michael Quinn [ctb], David Smith [ctb], Paul Teetor [ctb], Jian Yen [ctb]

greta_0.4.5.tar.gz
greta_0.4.5.zip(r-4.5)greta_0.4.5.zip(r-4.4)greta_0.4.5.zip(r-4.3)
greta_0.4.5.tgz(r-4.4-any)greta_0.4.5.tgz(r-4.3-any)
greta_0.4.5.tar.gz(r-4.5-noble)greta_0.4.5.tar.gz(r-4.4-noble)
greta_0.4.5.tgz(r-4.4-emscripten)greta_0.4.5.tgz(r-4.3-emscripten)
greta.pdf |greta.html
greta/json (API)
NEWS

# Install greta in R:
install.packages('greta', repos = c('https://greta-dev.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/greta-dev/greta/issues

On CRAN:

109 exports 518 stars 7.54 score 45 dependencies 5 dependents 460 downloads

Last updated 3 months agofrom:15b0157af4c66dd0173733b836cdb5a5dc34a0f3

Exports:.internals%*%abindadadeltaadagradadagrad_daadamapplyas_databacksolvebernoullibetabeta_binomialbfgsbinomialcalculatecategoricalcauchycgchi_squaredchol2invchol2symmcholesky_variablecobylacolMeanscolSumscov2cordiagdirichletdirichlet_multinomialdistributiondistribution<-eigenexponentialextra_samplesfforwardsolveftrlgammagradient_descentgreta_arraygreta_notes_conda_create_errorgreta_notes_conda_create_outputgreta_notes_conda_install_errorgreta_notes_conda_install_outputgreta_notes_install_miniconda_errorgreta_notes_install_miniconda_outputgreta_notes_tf_num_errorgreta_sitrephmchypergeometricicauchiticloglogidentityilogitimultilogitinitialsinstall_greta_depsinstall_tensorflowinverse_gammaiprobitjointl_bfgs_blaplacelkj_correlationlog1pelogisticlognormalmcmcmixturemodelmomentummultinomialmultivariate_normalnegative_binomialnelder_meadnewton_cgnormalonesoptordered_variableparetopoissonpowellproximal_adagradproximal_gradient_descentrdistreinstall_greta_depsreinstall_greta_envreinstall_minicondaremove_greta_envremove_minicondarms_proprowMeansrowSumsrwmhsimplex_variablesliceslsqpstashed_samplesstudentsweeptapplytncuniformvariableweibullwishartzeros

Dependencies:abindbackportsbase64enccallrclicodacodetoolsconfigcrayondigestfutureglobalsglueherehmsjsonlitelatticelifecyclelistenvmagrittrMatrixparallellypkgconfigpngprettyunitsprocessxprogresspsR6rappdirsRcppRcppTOMLreticulaterlangrprojrootrstudioapitensorflowtfautographtfrunstidyselectvctrswhiskerwithryamlyesno

Example models

Rendered fromexample_models.Rmdusingknitr::rmarkdownon Jun 09 2024.

Last update: 2024-03-11
Started: 2017-05-22

FAQ

Rendered fromfaq.Rmdusingknitr::rmarkdownon Jun 09 2024.

Last update: 2021-12-14
Started: 2021-12-14

Get started with greta

Rendered fromget_started.Rmdusingknitr::rmarkdownon Jun 09 2024.

Last update: 2024-02-02
Started: 2017-06-20

Readme and manuals

Help Manual

Help pageTopics
convert other objects to greta arraysas_data
calculate greta arrays given fixed valuescalculate
Cholesky Factor to Symmetric Matrixchol2symm
define a distribution over datadistribution distribution<-
probability distributionsbernoulli beta beta_binomial binomial categorical cauchy chi_squared dirichlet dirichlet_multinomial distributions exponential f gamma hypergeometric inverse_gamma laplace lkj_correlation logistic lognormal multinomial multivariate_normal negative_binomial normal pareto poisson student uniform weibull wishart
extract, replace and combine greta arraysc cbind extract extract-replace-combine rbind rep replace
functions for greta arraysfunctions
greta: simple and scalable statistical modelling in Rgreta-package greta
Retrieve python installation or error details.greta_notes_conda_create_error greta_notes_conda_create_output greta_notes_conda_install_error greta_notes_conda_install_output greta_notes_install_miniconda_error greta_notes_install_miniconda_output greta_notes_tf_num_error stash-notes
Greta Situation Reportgreta_sitrep
Statistical inference on greta models.extra_samples inference initials mcmc opt stashed_samples
Install Python dependencies for gretainstall_greta_deps reinstall_greta_deps
internal greta methods.internals internals
define joint distributionsjoint
mixtures of probability distributionsmixture
greta model objectsmodel plot.greta_model print.greta_model
arithmetic, logical and relational operators for greta arraysoperators
optimisation methodsadadelta adagrad adagrad_da adam bfgs cg cobyla ftrl gradient_descent l_bfgs_b momentum nelder_mead newton_cg optimisers powell proximal_adagrad proximal_gradient_descent rms_prop slsqp tnc
Functions overloaded by greta%*% abind apply backsolve chol2inv colMeans colSums cov2cor diag eigen forwardsolve identity overloaded rdist rowMeans rowSums sweep tapply
Helpers to remove, and reinstall python environments and minicondareinstallers reinstall_greta_env reinstall_miniconda remove_greta_env remove_miniconda
MCMC samplershmc rwmh samplers slice
Simulate Responses From 'greta_model' Objectsimulate.greta_model
create data greta arraysgreta_array ones structures zeros
transformation functions for greta arraysicauchit icloglog ilogit imultilogit inverse-links iprobit log1pe transforms
create greta variablescholesky_variable ordered_variable simplex_variable variable