Package: greta 0.4.5
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:
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')) |
Bug tracker:https://github.com/greta-dev/greta/issues
Last updated 5 months agofrom:15b0157af4
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.Rmd
usingknitr::rmarkdown
on Jul 09 2024.Last update: 2024-03-11
Started: 2017-05-22
FAQ
Rendered fromfaq.Rmd
usingknitr::rmarkdown
on Jul 09 2024.Last update: 2021-12-14
Started: 2021-12-14
Get started with greta
Rendered fromget_started.Rmd
usingknitr::rmarkdown
on Jul 09 2024.Last update: 2024-02-02
Started: 2017-06-20
Readme and manuals
Help Manual
Help page | Topics |
---|---|
convert other objects to greta arrays | as_data |
calculate greta arrays given fixed values | calculate |
Cholesky Factor to Symmetric Matrix | chol2symm |
define a distribution over data | distribution distribution<- |
probability distributions | bernoulli 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 arrays | c cbind extract extract-replace-combine rbind rep replace |
functions for greta arrays | functions |
greta: simple and scalable statistical modelling in R | greta-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 Report | greta_sitrep |
Statistical inference on greta models. | extra_samples inference initials mcmc opt stashed_samples |
Install Python dependencies for greta | install_greta_deps reinstall_greta_deps |
internal greta methods | .internals internals |
define joint distributions | joint |
mixtures of probability distributions | mixture |
greta model objects | model plot.greta_model print.greta_model |
arithmetic, logical and relational operators for greta arrays | operators |
optimisation methods | adadelta 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 miniconda | reinstallers reinstall_greta_env reinstall_miniconda remove_greta_env remove_miniconda |
MCMC samplers | hmc rwmh samplers slice |
Simulate Responses From 'greta_model' Object | simulate.greta_model |
create data greta arrays | greta_array ones structures zeros |
transformation functions for greta arrays | icauchit icloglog ilogit imultilogit inverse-links iprobit log1pe transforms |
create greta variables | cholesky_variable ordered_variable simplex_variable variable |