similar to: 2k-factorial design with 10 parameters

Displaying 20 results from an estimated 6000 matches similar to: "2k-factorial design with 10 parameters"

2006 May 24
1
Problem with pasteing formulas (PR#8897)
Hi, If I create a formula with say 100 terms and then paste it: xnam <- paste("x", 1:100, sep="") fmla <- as.formula(paste("y ~ ", paste(xnam, collapse= "+"))) paste(fmla) The result seems to cut off everything after the first 500 characters and gives no warning message. I have the most recent version of R from the R website and the problem occurs
2012 Nov 07
5
Calling R object from R function
Hi, Can you please help me with this please? What I am trying to do is call a vector from R function and used in the new function So I create 4 functions with these arguments M11 <- function(TrainData,TestData,mdat,nsam) { ls <- list() I have few statments one of them is vectx <- c(,1,2,3,4,5,6,6) vectz <- c(12,34,5,6,78,9,90) and then................ ls(vectx=vtecx,vectz=vectz)
2012 May 27
7
Customized R Regression Output?
Hello R-Experts, I am facing the problem that I have to estimate several parameters for a lot of different dependent variables. One single regression looks something like this: y = beta0 + beta1 * x1 + beta2 * x2 + beta3 * x1 * x2 + beta4 * x4 + beta5 * lag(x4,-1) where y is the dependent variable and xi are the independent ones. Important to me are the different estimates of betai and their
2008 Dec 02
4
Variables inside a for
Hi! I had a database with some variables in sequence. Let me say: TX01, TX02, TX03 and TX04. But I need to run some regressions changing the variables... so: variable <- paste("TX0", 1:4, sep="") for(i in 1:4){ test[i] <- lm(variable[i] ~ INCOME, data=database) } But doesn't work... lm tries to find a variable inside database named variable[i] ... Suggestions?
2003 Jun 26
1
Correct contrast for unreplicated 2K factorial design
Hi all, I have been trying to reproduce an analysis from Douglas Montgomery?s book on design and analysis of experiments. Table 6.10 of example 6.2 on page 246, gives a table as follows: > NPK <- expand.grid(A=mp,B=mp,C=mp,D=mp) > Rate <- c(45,71,48,65,68,60,80,65,43,100,45,104,75,86,70,96) > filtration <- cbind(NPK,Rate) > filtration A B C D Rate 1 - - - - 45 2
2006 Jan 20
3
fractional factorial design in R
Hi, i need to create a fractional factorial design sufficient to estimate the main effects. The factors may have any number of levels, let's say any number from 2 to 6. I've tried to use the library conf.design , but i cannot figure out how to write the code. For example, what is the code for a design with 5 factors (2x3x3x5x2) and only main effects not confounded? thanks in advance!
2000 Dec 13
2
randomized block design and two-way factorial design
I am still a little unclear in the difference between randomized block design and two-way factorial design after consulting a few books, including John Rice Mathematical Statistics and Data Analysis. Both put observations in cells corresponding to two factors of many levels. Both use the same computer program to analyze data. It seems that randomized block design can have only one observation
2010 Aug 03
1
Help on Full Factorial Design
Hi Everyone, I found the doe.base package and the FrF2 package to do nice experimental planning and I'm very happy about this tool I was looking for such a long time. But I still try to find out how to add center points to a full factorial design. The FrF2-package has a center point option but is just supporting fractional designs? Is there a possibility to have center points within the
2008 Nov 07
2
2^2 factorial design question
Dear R Gurus: How do you put together a 2^2 (or even 2^k) factorial problem, please? Since you have 2 levels for A and B, do you put in "A+" and "A-" as factors, please? Thanks, Edna Bell
2008 Apr 28
5
Fractional Factorial Design
Hi all, Does anybody know if it is possible to build a fractional factorial design in R? That is, suppose that we want do design an experiment with 3 factors with 2, 3 and 3 levels, respectivly. However we want to consider, let's say, only 6 from all possible level combinations. Does R design such experiment? Thanks in advance, Caio [[alternative HTML version deleted]]
2004 Feb 05
2
Incomplete Factorial design
Hello, I am planning a study with the main point to evaluate the interaction of two treatments, but for ethical reasons one cell is empty, that with patients receaving no treatment at all Treatment B
2018 Mar 02
0
data analysis for partial two-by-two factorial design
This list provides help on R programming (see the posting guide linked below for details on what is/is not considered on topic), and generally avoids discussion of purely statistical issues, which is what your query appears to be. The simple answer is yes, you can fit the model as described, but you clearly need the off topic discussion as to what it does or does not mean. For that, you might try
2018 Mar 02
3
data analysis for partial two-by-two factorial design
Dear R users, I need to analyze data generated from a partial two-by-two factorial design: two levels for drug A (yes, no), two levels for drug B (yes, no); however, data points are available only for three groups, no drugA/no drugB, yes drugA/no drugB, yes drugA/yes drug B, omitting the fourth group of no drugA/yes drugB. I think we can not investigate interaction between drug A and drug B,
2003 Sep 20
1
factorial design
Hello all, I´m trying to study a factorial design, but I can´t understand why did Df, Sum Sq and Mean Sq of residuals alter when I Split the interaction? I think that Split the interaction must not alter the residuals. Am I doing something wrong? Could anyone help me? My data and functions I tried are: Y<-c(196,213,183, 192,253,199, 251,331,276,
2008 Nov 04
1
[OT] factorial design
Dear R Gurus: I vaguely remember reading that if interaction was present in a factorial design, then the main effect results were suspect. However, I was reading a text which now uses the tests for main effects even if interaction is present. Which is correct, please? Thanks, Edna Bell
2010 Feb 26
1
factorial block design with missing data
Hello! I have read somewhere (somehow, I can't seem to find it again, it's been a couple of months) that when analyzing factorial block design, the position where you put the block factor is important, even more when there are missing values. I understand that when using anova.lm, the order is sequential, so that if I want to check for a treatment effect, I should put my blocking factor
2008 Jul 06
3
Lots of huge matrices, for-loops, speed
Hello, we have 80 text files with matrices. Each matrix represents a map (rows for latitude and columns for longitude), the 80 maps represent steps in time. In addition, we have a vector x of length 80. We would like to compute a regression between matrices (response through time) and x and create maps representing coefficients, r2 etc. Problem: the 80 matrices are of the size 4000 x 3500 and we
2018 Mar 05
0
data analysis for partial two-by-two factorial design
> On Mar 5, 2018, at 8:52 AM, Ding, Yuan Chun <ycding at coh.org> wrote: > > Hi Bert, > > I am very sorry to bother you again. > > For the following question, as you suggested, I posted it in both Biostars website and stackexchange website, so far no reply. > > I really hope that you can do me a great favor to share your points about how to explain the
2018 Mar 05
2
data analysis for partial two-by-two factorial design
Hi Bert, I am very sorry to bother you again. For the following question, as you suggested, I posted it in both Biostars website and stackexchange website, so far no reply. I really hope that you can do me a great favor to share your points about how to explain the coefficients for drug A and drug B if run anova model (response variable = drug A + drug B). is it different from running three
2005 Aug 16
4
as.character and a formula
Dear list, given this formula: > fmla <- formula(y1 ~ spp1 + spp2 + spp3 + spp5) > fmla[[3]] spp1 + spp2 + spp3 + spp5 is this the intended behaviour of as.character: > as.character(fmla[[3]]) [1] "+" "spp1 + spp2 + spp3" "spp5" ? Where does the extra "+" come from? > as.character(fmla) [1] "~"