Code Monkey home page Code Monkey logo

Comments (16)

bbolker avatar bbolker commented on June 10, 2024 1

OK, I'm going to go for it. Thanks for getting us unstuck.

cran-task-views/ctv#35

from mixedmodels.

bbolker avatar bbolker commented on June 10, 2024 1

Making formatting changes would be fine. I do think I want to make at least one more pass through it before we submit it ...

from mixedmodels.

wviechtb avatar wviechtb commented on June 10, 2024 1

Just pushed a minor update:

  • Ending all sentences/bullet points with a period (checked other task views - they do this as well).
  • Added Oxford commas (had them already in various places, but now used everywhere for consistency).
  • Changed 'residuals' to 'errors' (pedantic, but for example residuals are always correlated; it is the errors that are by default assumed to be uncorrelated but that we can allow to be correlated, for example in lme()).

As far as I am concerned, this is good to go!

from mixedmodels.

jpiaskowski avatar jpiaskowski commented on June 10, 2024 1

I'm going to migrate this new package suggestion to a new issue so we can close this one. (which means we are on our way to a finished CTV!!)

from mixedmodels.

jpiaskowski avatar jpiaskowski commented on June 10, 2024

I'd like to keep working on it, even if a submission happens in that time. There's a few patches I want to smooth out and this helps familiarise myself with the content. But even so, agreed, let's proceed on a submission.

from mixedmodels.

jpiaskowski avatar jpiaskowski commented on June 10, 2024

Should we start working on this? The last edit I did to the task view (pending my pull request) was the last major things I think we needed to do to get it in working shape for the CTV committee.

from mixedmodels.

jpiaskowski avatar jpiaskowski commented on June 10, 2024

I don't mind drafting a submission, unless you want to. I also wrote up a check file that is useful for performing a few automatic checks (still on CRAN, working URLs) which we could include.

from mixedmodels.

bbolker avatar bbolker commented on June 10, 2024

I'm feeling a little bit stuck. The outline/rubric for the proposal includes a tentative list of packages: "This should encompass the "core" packages and a collection of relevant packages, ideally grouped by sections within the topic." When I start to write this out I feel like I'm recapitulating our entire proposal. Maybe we should aggregate the package list to the level-2 headings (basic, specialized, diagnostics and summary stats, data sets, presentation and prediction, inference)?

from mixedmodels.

jpiaskowski avatar jpiaskowski commented on June 10, 2024

Sure, if you have some ideas, go for it! I've found it rather challenging to organize this, as well.

It might be helpful to step back and look at the current headings:

  • Basic Model Fitting
    • linear mixed models
      • frequentist
      • Bayesian
    • generalized linear mixed models
      • frequentist
      • Bayesian
    • nonlinear mixed models
      • frequentist
      • Bayesian
    • generalized estimating equations
  • Specialized Models
    (no subheadings, only bulleted points)
  • Model diagnostics and summary statistics
    • model diagnostics
    • summary statistics
    • derivatives
  • Data sets
  • Model presentation and prediction
  • Convenience wrappers
  • Inference
    • hypothesis testing
    • prediction and estimation
    • bootstrapping
    • power analysis
  • Other
    • Commercial

Combining "Model Diagnostics and summary statistics" with "inference" may make sense. "convenience wrappers" and "model presentation..." are similar and very small -maybe combine? We may not need the subheading "commercial" for "other" since there are no other subheadings at this time. These are just some ideas, I'm not convinced these are the best options.

from mixedmodels.

jpiaskowski avatar jpiaskowski commented on June 10, 2024

Here's a first stab at the draft proposal

Mixed models are a broad class of statistical models used to analyze data where observations can be assigned a priori to discrete groups, and where the parameters describing the differences between groups are treated as random variables. They are also described as multilevel, or hierarchical, models; longitudinal data are often analyzed in this framework.

Scope: This proposed task view would includes packages that do general, generalized and nonlinear mixed model fitting (including convenience wrappers), model summary and examination of model diagnostics, inferential tasks (e.g. hypothesis testing, prediction and estimation). Packages for specialized models and cases are included (e.g. censored data) and data sets that are widely used in teaching and learning about mixed models. This proposed TV would only include models that incorporate continuous (usually although not always Gaussian) latent variables; this excludes packages that handle hidden Markov Models, finite (discrete) mixture models, latent Markov models, and similar.

Packages: Please see the draft list of proposed packages for a list of packages to include. The proposed core packages currently are:

  • lme4
  • nlme
  • brms
  • MCMCglmm
  • multilevelmod
  • geepack
  • lavaan
  • broom.mixed
  • DHARMa
  • lmerTest
  • glmmTMB
  • blme
  • rstanarm
  • ordinal
  • robustlmm

overlap: There is some overlap with the Agriculture task view regarding mixed models that include a kinship or relatedness matrix. We could point to that resource or vice versa. There is overlap with the Robust which also has a mixed models section, and with the Bayesian Inference task view.

maintainers: Ben Bolker would be the principal maintainer. Julia Piaskowski (and others) would assist.


There's actually more overlap with existing CTVs than I realised, so, it's possible that the CTV committee may not be supportive of this proposal. If so, I do not think this is a wasted effort - it can still be published, just outside of the CTV list. I think my clients would appreciate this very much.

from mixedmodels.

jpiaskowski avatar jpiaskowski commented on June 10, 2024

Wow, this is really moving along quickly! Would you like me to make formatting changes they requested today?

from mixedmodels.

bbolker avatar bbolker commented on June 10, 2024

I think all comments from CTV editors and co-maintainers are addressed. Does anyone (@jpiaskowski @palday @wviechtb @emitanaka) want to make any further edits before we comment here to turn it back over to CTV editors for onboarding/release?

from mixedmodels.

palday avatar palday commented on June 10, 2024

I updated the spelling of my name (it is an unusual constellation of L's 🙂), but I've got nothing more. Let's go! 🚀

from mixedmodels.

emitanaka avatar emitanaka commented on June 10, 2024

It looks good to me! Thanks Ben & Julia for the awesome work!

from mixedmodels.

jpiaskowski avatar jpiaskowski commented on June 10, 2024

looks good.

from mixedmodels.

wviechtb avatar wviechtb commented on June 10, 2024

New package just released: https://cran.r-project.org/package=mmrm

Essentially, it fits models of the form gls(outcome ~ time + other_fixed_effects, correlation = corSymm(form = ~ 1 | subjectid), weights=varIdent(form = ~ 1 | time)) (although one can also use other structures for the error var-cov matrix), so this is what they mean by "marginal linear model without random effects". In one sense, one could regard this as a GEE approach. Alternatively, we could put this under the Specialized models with a new entry Repeated-measures (or something like that).

from mixedmodels.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.