Design Matrix (For Design of Experiments)

Everything related to the development of modules in jamovi
Post Reply
User avatar
credmontgo
Posts: 33
Joined: Tue Oct 12, 2021 1:31 pm
Location: Toronto, Canada
Contact:

Design Matrix (For Design of Experiments)

Post by credmontgo »

Has anyone looked at creating a Module for creating a design matrix?

I currently teach a Ontario, Canada College Statistics course for Chemical Engineers on Design of Experiments using Minitab. The students start the course at about two-sample t tests, and work up to fractional factorial and surface response designs. In theory a Design Matrix is a simple thing to create, but having the software create one and handle some of the analysis means the students can focus on understanding, and less on equations and data entry. I could also give out pre-created files to the students, but I feel I would be teaching them to follow directions, no solve problems.

It's also entirely possible there are different/better names for all of these, and I'm not already seeing them built in.

Here is a demo of how Minitab handles these functions
https://www.youtube.com/watch?v=ysTUFl5S93w
User avatar
jonathon
Posts: 2609
Joined: Fri Jan 27, 2017 10:04 am

Re: Design Matrix (For Design of Experiments)

Post by jonathon »

hey,

is the "randomizer" module from the jamovi library relevant here? not sure.

otherwise if you've got some R skills, it should be pretty straight forward to whip up a module to do this:

https://dev.jamovi.org

kind regards

jonathon
User avatar
credmontgo
Posts: 33
Joined: Tue Oct 12, 2021 1:31 pm
Location: Toronto, Canada
Contact:

Re: Design Matrix (For Design of Experiments)

Post by credmontgo »

Yes relevant, but only for setup. The module needs to also dump output back to the data windows (or maybe easily copyable from the output back to the data). Some modelling and factorial type options would be nice too.
Yes, my fallback will be to invest in some module coding skills, but I wanted to check if there's already something out there (or a better way to teach the material) before investing the time.
RHainez
Posts: 105
Joined: Wed Feb 08, 2017 3:14 pm

Re: Design Matrix (For Design of Experiments)

Post by RHainez »

Hi,

An experimental design module would be an excellent addition to jamovi. If someone has already done that, I'd be interested in testing it. Please, let me know.

Have a nice day.
User avatar
credmontgo
Posts: 33
Joined: Tue Oct 12, 2021 1:31 pm
Location: Toronto, Canada
Contact:

Re: Design Matrix (For Design of Experiments)

Post by credmontgo »

Follow up question: Is there an easy way to run code in Rj to create a design matrix?
LucasKR
Posts: 1
Joined: Wed Nov 16, 2022 10:56 pm

Re: Design Matrix (For Design of Experiments)

Post by LucasKR »

User avatar
credmontgo
Posts: 33
Joined: Tue Oct 12, 2021 1:31 pm
Location: Toronto, Canada
Contact:

Re: Design Matrix (For Design of Experiments)

Post by credmontgo »

That looks great, thanks!
User avatar
credmontgo
Posts: 33
Joined: Tue Oct 12, 2021 1:31 pm
Location: Toronto, Canada
Contact:

Re: Design Matrix (For Design of Experiments)

Post by credmontgo »

AH, doesn't work with 2.3 yet? I'll see if I can downgrade for now
Post Reply