cran-task-views / MixedModels

CRAN Task View: Mixed, Multilevel, and Hierarchical Models in R
https://CRAN.R-project.org/view=MixedModels
26 stars 9 forks source link

submission plan/release-critical tasks? #4

Closed bbolker closed 1 year ago

bbolker commented 2 years ago

I feel like we should go ahead and pursue something in an initial proposal format (scope; tentative list of packages; overlap; maintainers) before worrying about finishing/cleaning/polishing, since incorporating suggestions from the task view admins might be extra work if we have done too much development on our own ...

(I'm going to be away/unavailable from now to August 21, but can tackle it when I get back.)

jpiaskowski commented 2 years ago

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.

jpiaskowski commented 2 years ago

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.

jpiaskowski commented 2 years ago

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.

bbolker commented 2 years ago

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)?

jpiaskowski commented 2 years ago

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:

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.

jpiaskowski commented 2 years ago

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:

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.

bbolker commented 2 years ago

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

https://github.com/cran-task-views/ctv/issues/35

jpiaskowski commented 2 years ago

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

bbolker commented 2 years ago

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

bbolker commented 1 year ago

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?

palday commented 1 year ago

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

emitanaka commented 1 year ago

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

jpiaskowski commented 1 year ago

looks good.

wviechtb commented 1 year ago

Just pushed a minor update:

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

wviechtb commented 1 year ago

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).

jpiaskowski commented 1 year ago

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!!)