Questions tagged [experimental-design]

Experimental design is the methodological study of how experiments should be designed to maximize the scientist's ability to make inferences about the causal effect of an independent variable on a dependent variable.

138 questions
1
vote
1 answer

Changing the moderating variables used in a linear model in R? (Two-way ANOVA)

I am carrying out a two-way ANOVA in R to analyse an experiment. I have a long list of moderating variables I need to test for my partner company in the model (mainly numeric, continuous scale items measures). This would be the basic model of the…
1
vote
0 answers

Is there a way in R to draw from a list without replacement with the drawn value is not available for subsequent draws?

I would like to populate a matrix with values from user defined lists (this part is not important yet). The selection from these lists should be random without replacement until the list is exhausted. For example, if we have list_1 <- c(1,2,3) and…
SNA14L
  • 11
  • 2
1
vote
0 answers

Generalized Subset Design with constraints in python

I have three factors F1, F2, F3 with 3, 3, 6 corresponding levels and I want to limit the number of their combination for experimental design. As far as I have seen by searching, this can be done with pyDOE2 Generalized Subset Design like: import…
akotronis
  • 230
  • 2
  • 12
1
vote
2 answers

In R create a data.table with X trials, Y reps, and Z plots

I'm trying to crate a data.table with 3 vectors. Where vector A Trial = [a,b,c...n], vector B rep = [1,2,3,...,n] and vector C plot = [r01, r02, r03,...,n] where r= "rep" (replicates) Example: > trial <- c("a", "b", "c") > plot <-…
Mister
  • 11
  • 3
1
vote
1 answer

Bootstrap (via paramtest) in r: how to construct statistic based on a *larger* or *smaller* sample than the dataset used?

Context: I'm trying to do a fairly complicated power calculation in advance of an experiment involving a blocked treatment assignment. I have data from a previous run of the experiment. I'm thinking: Sample from the prior data with replacement to…
daaronr
  • 507
  • 1
  • 4
  • 12
1
vote
1 answer

How to create a full factorial design and choice set, if every attribute has a different number of level?

I'm Valentina and it's the first time i write here and I apologize in advance for my English. I'm using the software R. I have to create a choice experiment. I know that to determinate the maximum number of combination it's used: (Level)^Factor.…
1
vote
1 answer

Qualitative Design of Experiments - 3 Factors 3 Levels - Categorical Response Variable

I need to perform a design of experiments where I have 3 factors with 3 levels each (all numerical). But the end response is going to be - Good, Bad, Pass sort of deal. I need to find the factors/interactions that have the most significant…
1
vote
1 answer

My shuffle algorithm crashes when more trials than objects

I am trying to make an experiment where a folder is scanned for images. For each trial, a target is shown and some (7) distractor images. Afterward, in half the trials people are shown the target image and in the other half, they are shown an image…
1
vote
2 answers

Full factorial design (2^4) without replicates in R (Why I can not graph the daniel plot in R)

I'm trying to analyse a full factorial design 2^4 with center points and star points, without replicates. However, I'm trying to graph the Daniel plot, but I has couldn't. The R code…
1
vote
0 answers

Selection of the appropriate random structure in a partially non counterbalanced experimental design

We designed a study manipulating two factors: one factor (FACTOR1) has 2 levels (A,B), the second factor (FACTOR2) has three levels (C,D,E). Because in psychology we often have to carry out unreasonably time-consuming experiments we planned to split…
paovins
  • 11
  • 2
1
vote
0 answers

How to experimentally determine the scheduling quantum of a process/thread?​

So i was trying to experimentally determine the (average) time slice on my Linux 4.4.0-98-generic OS, given the hint from here. The following is my code using C++14 STL. #include #include #include int main(int argc,…
garyF
  • 521
  • 3
  • 15
1
vote
1 answer

python pandas: assign control vs. treatment groupings randomly based on %

I am working on an experiment design, where I need to split a dataframe df into a control and treatment group by % by pre-existing groupings. This is the dataframe df: df.head() customer_id | Group | many other columns ABC 1 CDE …
jeangelj
  • 4,338
  • 16
  • 54
  • 98
1
vote
1 answer

Randomly reassign participants to groups such that participants originally from same group don't end up in same group

I'm basically trying to do this Monte Carlo kind of analysis where I randomly reassign the participants in my experiment to new groups, and then reanalyze the data given the random new groups. So here's what I want to do: Participants are originally…
Russell Richie
  • 421
  • 1
  • 5
  • 15
1
vote
0 answers

Generating parallel port triggers upon detection of a vocal response

I've created an experiment in psychopy builder in which participants must vocally name pictures presented onscreen (for example, if a picture of a chair appears, the participant has to respond by saying "chair"). I've set up a code component to…
Lyam
  • 123
  • 2
  • 14
1
vote
2 answers

experimental decorator warning in angular2?

I am new to Angular2 When I renaming some file like app.states.ts to app.routes.ts then my editor is showing warning on one of my Componet. Result coming perfect, I did n't understood that why I am getting this warning. I am using WEBSTROM IDe This…
Soumya Gangamwar
  • 954
  • 4
  • 16
  • 44
1 2
3
9 10