Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

How to use JASP for two-level factorial design in quality control module?


I have three factors for chemical reaction which will give the result as yields.

Exp 9-13 are repetition of Exp 5.

I would like to find the main factors and confounding factors.

I would setup my generator as A B C AB AC BC ABC

The reason for experiment repetition is to find the confidence interval with 0.975 confidence of 4 degree of freedom.

I did this exercise in python and predict the yield when ratio,stir,OH conc is 2.6, 80, 44 respectively.

I want to know if I can do with JASP, I could not figure out how to use this module.


from pyDOE2 import fracfact

import numpy as np

import matplotlib.pyplot as plt

import statistics

from scipy import stats

gen = 'aa a b c ab ac bc abc'

x = fracfact(gen)

ratio = [2,3]

stir = [60, 120]

conc = [40,45]

Y = [62.4, 66.2, 39.6, 76.6, 63.4, 75.2, 32.6, 80.0]

rep = [62.1, 66.2, 64.8, 62.2, 61.1]

b = 1/len(Y) * x.T @ Y

vb = 1/len(Y)*statistics.variance(rep)

sb = vb**0.5

t_stat = stats.t.ppf(0.975, 4)

conf = t_stat*sb

gen_lab = (gen.split())[1:len(Y)]

B_new = b[1:len(Y)],B_new)




x1 = np.interp(2.6,[2,3],[-1,1])

x2 = np.interp(80,[60,120],[-1,1])

x3 = np.interp(44,[40,45],[-1,1])

yield_result = b[0] + b[1]*x1 + b[2]*x2 + 0*b[3]*x3 + b[4]*x1*x2 + b[5]*x1*x3 + 0*b[6]*x2*x3 + 0*b[7]*x1*x2*x3



  • Hi Andy,

    To analyze this kind of data you need to set up the dataset in a different way. You can use the DOE module to create a design with possible combinations of the factor levels. You can then use JASP to save this design and create a dataset with an empty response variable to fill in.

    In your case, however, you already have a design that you want to analyze. This is also possible with the DOE module, but your dataset should have the structure as in the table you shared. Under "Design analysis" you can then drag the variables to the right field. The result should look like this:

    Is this what you wanted to do? Let me know, I would also be very curious to hear whether the results you got in Python match the results in JASP!



  • Hi @JTPetter

    I am a great JASP's fan and I just discover the Quality control module.

    I use the version 0.17.1 and I found how to create a design but not how to analyse the results when they have been filled. Where is hidding the marvelous "Design Analysis" function ?

    Thanks a lot !

    Angers (Angers is the name of my city in France : i am not angry at all ;) )

  • @Andy . I don't know what "confounding factors" and "generator" mean in this context. If this is referring to an analysis of variance, things should be set up as follows, with the goal being to assess main effects and interactions.


  • Hello !

    Thanks a lot ! Sadly, in a quality control process, we have n=1 in each group, therefore we cannot run a classical ANOVA with JASP.

    The question remains...


  • Hi @Angers ,

    there was a "analyze design" tab under the factorial design in versions previous to 0.17.0. This might have been able to handle your design, but it was not fully developed, so we removed it as we continued working on this. We are now done reworking the analysis functionality and it will be included in the upcoming 0.17.2 version. This version will have a separate section for "Analyze Design" in the QC module.

    The 0.17.2 version should be released very soon, keep an eye on the website! If you're very eager to try out the new features, you can also find upcoming features in the nightly versions here: But keep in mind that these are not official releases, as explained on top of the website.



  • edited May 8

    Thanks Jonas @JTPetter !

    I am glad to learn this very good news and I look forward to discovering the new features.

    I am usign JASP with my students since 5 or 6 years and I am very grateful for the fantastic job you achieve : that's awesome, thanks a lot to all the JASP team !

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games