Design Matrix (For Design of Experiments)

Everything related to the development of modules in jamovi
User avatar
credmontgo
Posts: 34
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: 2613
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: 34
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: 34
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: 34
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: 34
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
dregelyi
Posts: 5
Joined: Thu Mar 14, 2024 6:56 am

Re: Design Matrix (For Design of Experiments)

Post by dregelyi »

Do you have any improvement in this topic?
I am teaching DOE with Minitab and I would like to change to Jamovi.
I am seeking for main effect and interaction plot, and contour plots for the visualization. Do you have any help to perform this with Jamovi?

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

Re: Design Matrix (For Design of Experiments)

Post by credmontgo »

Nothing personally. I'm kind of waiting for the multiple data table feature in Jamovi (and some serious time to get into this). I also use Minitab and its ability to create complex Design Matrices quickly on the fly is essential. For actual research and work it's not a feature you'd need, but in teaching I need to be able to quickly create them to show students slight changes in parameters. Most of the analysis should in theory be easy in Jamovi though.
Post Reply