Displaying 20 results from an estimated 200 matches similar to: "model.matrix troubles with AlgDesign"
2007 Aug 09
0
AlgDesign expand.formula()
Can anyone explain why AlgDesign's expand.formula help and output differ?
#From help:
# quad(A,B,C) makes ~(A+B+C)^2+I(A^2)+I(B^2)+I(C^2)
expand.formula(~quad(A+B+C))
#actually gives ~(A + B + C)^2 + I(A + B + C^2)
They don't _look_ the same...
Steve E
*******************************************************************
This email contains information which may be confidential and/or
2011 Nov 24
1
AlgDesign - $D $A $Ge $Dea
Hi,
I am wondering how I should interpreate the output of optFederov() in AlgDesign.
Specially I want to know what is $D, $A, $Ge and $Dea, which one I can use as an efficiency to say how good the optimal design is.
I only know when a orthogonal design comes, $D = 1.
I red the pdf document -- vignette("AlgDesign")
[Just type: vignette("AlgDesign") in R, you will get
2007 Mar 21
1
package:AlgDesign and .Random.seed
Dear r-helpers,
Could you please help me solve the following problem: When I run
require(AlgDesign)
trt <- LETTERS[1:5]
blk <- 10
trtblk <- 3
BIB <- optBlock(~., withinData = trt, blocksizes = rep(trtblk, blk))
In response to the last command, R complains:
Error in optBlock(~., withinData = trt, blocksizes = rep(trtblk, blk)) :
object ".Random.seed" not found
The
2007 Nov 12
2
strange `nls' behaviour
I initially thought, this should better be posted to r-devel
but alas! no response. so I try it here. sory for the
lengthy explanation but it seems unavoidable. to quickly see
the problem simply copy the litte example below and execute
f(n=5)
which crashes. called with n != 5 (and of course n>3 since
there are 3 parameters in the model...) everything is as it
should be.
in detail:
2007 Oct 09
2
AlgDesign--exact and approximate design
Hi
I am trying to generate a design using Algdesign and came across terms of
"exact design" and "approxiamte theory design", I did not find a reference
to explain what they are, could some one shed some light about this on me?
Another question is, I want to measure the main effects and at least two
interactions, variables are factors, how do I ensure this in formula,
2008 Apr 21
3
optFederov/AlgDesign - help avail?
Hello, we are needing to generate optimal (Fractional) designs for
discrete choice applications, where we will be using logistic regression
or multinomial logit as the modeling technique.
It looks like optFederov, in the AlgDesign package may work, but not
sure if this algorithm works when the variable of interest is binary or
nominal?
Anyone who are experts in this area, anyone interested
2007 Oct 10
2
how to generate and evaluate a design using Algdesign
Hi,
I have some problems when using AlgDesign->optFederov() generating
designs.
I have 6 variables, all factors. 3^2 and 4^4, I want to have a design that
can take care of main effects and two interactions within 2 pair of
variables v3-v4 and v5-v6, the following is the code
################
require(AlgDesign)
set.seed(1)
levels = c(v1=3,v2=3, v3=4,v4=4,v5=4,v6=4)
2004 Feb 04
0
AlgDesign
AlgDesign is a new package for calculating algorithmic experimental
designs. It will calculate both exact and approximate designs for a
variety of criteria. It will handle very large designs. It will also
block designs in a variety of ways, including split plotting. You should
find it at least as capable as other software for this purpose.
I'd normally submit this sort of thing to beta test,
2004 Feb 04
0
AlgDesign
AlgDesign is a new package for calculating algorithmic experimental
designs. It will calculate both exact and approximate designs for a
variety of criteria. It will handle very large designs. It will also
block designs in a variety of ways, including split plotting. You should
find it at least as capable as other software for this purpose.
I'd normally submit this sort of thing to beta test,
2004 Oct 09
2
inst directory
R CMD check on a Windows system, halts with the following;
installing inst files
FIND: Parameter format not correct
make[2]: *** [C:/AlgDesign/AlgDesign.Rcheck/AlgDesign/inst]Error 2
make[1] *** [all] Error 2
make: *** [pkg-AlgDesign] Error2
*** Installation of AlgDesign failed ****
The inst directory contains the sub directory doc with a pdf and dvi
file. Any sub directory in inst seems to
2011 Dec 11
1
nls start values
I'm using nls to fit periodic gene-expression data to sine waves. I need
to set the upper and lower boundaries, because I do not want any
negative phase and amplitude solutions. This means that I have to use
the "port" algorithm. The problem is, that depending on what start value
I choose for phase, the fit works for some cases, but not for others.
In the example below, the fit works
2004 Jun 03
5
Confidence intervals for predicted values in nls
Dear all
I have tried to estimate the confidence intervals for predicted values of a
nonlinear model fitted with nls. The function predict gives the predicted
values and the lower and upper limits of the prediction, when the class of
the object is lm or glm. When the object is derived from nls, the function
predict (or predict.nls) gives only the predicted values. The se.fit and
interval aguments
2007 Nov 06
0
strange `nls' behaviour
dear list,
I stumbled over the follwing strange behaviour/error when
using `nls' which I'm tempted (despite the implied "dangers")
to call a bug:
I've written a driver for `nls' which allows specifying the
model and the data vectors using arbitrary symbols.
these are internally mapped to consistent names, which
poses a slight complication when using `deriv' to
2017 Jan 09
1
problem with print.generic(x)deparse(substitute(x))
Hi, Peter et al.:
On 2017-01-09 4:24 AM, peter dalgaard wrote:
> On 09 Jan 2017, at 10:53 , Spencer Graves <spencer.graves at prodsyse.com> wrote:
>
>> # Define an object of class 'dum'
>> k <- 1
>> class(k) <- 'dum'
>> str(k) # as expected
>>
>> # Define print.dum
>> print.dum <- function(x, ...)
>>
2009 Nov 18
1
Link to pdf documentation from other package ?
Dear developeRs,
I have not found anything recent about how to link to a vignette or other
documentation from within Rd-files. Is this now possible with the new help
system ? For example, I would like to link to the file AlgDesign.pdf
provided within the doc directory of package AlgDesign.
Thanks for any suggestions,
regards, Ulrike
--
View this message in context:
2003 Sep 27
2
does isGeneric work differently in 1.8.0 ?
Hello,
the last command (isGeneric) in following R-code (attached) produces
different output, depending on wheter 1.8.0 alpha or 1.7.1 is used.
Is that to be expected ?
Both R Versions were started with option vanilla
---------------------------------------------------
R.1.7.1:
---------------------------------------------------
> version
_
platform i686-pc-linux-gnu
arch i686
2009 May 12
1
Can anyone suggest some r packages for Experimental Designs, specifically for choice and conjoint??? (or is intersted in helping me make 1)
Afternoon everyone,
I''ve spent the last week or so looking at all the experimental design
packages I can find in R. AlgDesign, design.conf and BHH2 being the best one
I could find.
Unfortunately none of these do a particularly good job for complex designs,
in particular for conjoint or discrete choice. (or perhaps they do, and I
can''t make them work correctly)
2005 Apr 22
3
Error when downloading and installing ALL R packages
Hi,
after updating to 2.1 (see below) I am no longer able to install all
R packages as mentioned at
<http://support.stat.ucla.edu/view.php?supportid=30>.
After finishing the download, I received the following error:
[...]
trying URL
'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/xgobi_1.2-
13.zip'
Content type 'application/zip' length 102623 bytes
opened
2007 Jan 31
2
Problems with definitions of S4-generics
Hello all,
I'd like to report a problem related to S4 classes.
Platform:
Mac G4/400 PCI (PPC-architecture)
Mac OS 10.4.8
R 2.4.1 for Mac OS X (CRAN binary, 2006-12-19) w/ R.app 1.18
Last December, Simon Urbanek confirmed that the issue is not platform
related, and that it is most likely a bug. He suggested to post my report
to "the appropriate mailing list" -- I choose r-devel.
2009 May 25
1
Blocking design
Hi,
Does anyone know how to generate block designs using the AlgDesign
package? I have a experimental design with 1024 combinations and need to
reduce it.
Thanks!
Edson
[[alternative HTML version deleted]]