Re: [R] "Heuristic optimisation"?

2008-10-15 Thread paulandpen
Ajay, Bayesm deals with this very issue in choice modelling (a form of econometric modelling as outlined in the article). I think those guys (the developers of Bayesm) and the apprach they recommend for navigating the likelihood function through a bayesian approachs makes a lot of sense to me,

Re: [R] Regression with nominal data

2008-09-07 Thread paulandpen
Soren, It sounds like you are new to R so I will refer you to some packages that I think some people would find more user friendly as beginners. Zelig is excellent. You could run a series of logistic regressions coding your dependent variables as follows (a versus b, a versus c, b versus c)

Re: [R] New to R. Question about very large files

2008-08-14 Thread paulandpen
Hi Richard, It is if you use Rattle. Rattle allows you to do that for quite a few types of models and has a really nice GUI interface. It has been developed for the purposes of datamining, and given your use of the term "score" in your post, I assume in part that this is what you are looking

[R] error with .dll file and RGtk2

2008-07-24 Thread paulandpen
Hi all, I am getting the following error message. Does somebody know what needs to happen here? I have tried re-installing the RGtk2 package and also downloading a .dll file and installing it in the RGtk2 file folder Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to

Re: [R] Excel Trend Function

2008-07-13 Thread paulandpen
Hi Felipe, Daniel mentions imputation is a disputed practice. There are recommendations and rules of thumb for its use. I am not sure that imputation is disputed. I would be interested to see some links to articles recommending against its use. Paul - Original Message - From: "

Re: [R] Cluster on both categorical and numerical data

2008-06-18 Thread paulandpen
okay, when you cluster information, you can have two inputs raw data information which the algorithms converts have into a matrix and then processes a pre-processed matrix which you create yourself to input into a package essentially, packages will have a default assumption about the data yo

Re: [R] Fractional Factorial Design

2008-04-28 Thread paulandpen
- Original Message - From: "S Ellison" <[EMAIL PROTECTED]> To: "Caio Azevedo" <[EMAIL PROTECTED]>; "paulandpen" <[EMAIL PROTECTED]>; "R - discussion list" <[EMAIL PROTECTED]> Sent: Tuesday, April 29, 2008 1:48 AM Subject

Re: [R] Fractional Factorial Design

2008-04-28 Thread paulandpen
Caio, using algdesign code below (this produces a full factorial 2*3*3 full design) gen.factorial(c(2,3,3)) X1 X2 X3 1 -1 -1 -1 2 1 -1 -1 3 -1 0 -1 4 1 0 -1 5 -1 1 -1 6 1 1 -1 7 -1 -1 0 8 1 -1 0 9 -1 0 0 10 1 0 0 11 -1 1 0 12 1 1 0 13 -1 -1 1 14 1 -1 1 15 -

Re: [R] Fractional Factorial Design

2008-04-28 Thread paulandpen
alg-design will do the trick regards paul - Original Message - From: "Caio Azevedo" <[EMAIL PROTECTED]> To: "R - discussion list" <[EMAIL PROTECTED]> Sent: Monday, April 28, 2008 11:11 PM Subject: [R] Fractional Factorial Design Hi all, Does anybody know if it is possible to build

Re: [R] optFederov/AlgDesign - help avail?

2008-04-22 Thread paulandpen
of yeah, and your design needs to account for main effects and interactions if you intend to model them, so make sure to program that into algdesign as well - Original Message - From: "zubin" <[EMAIL PROTECTED]> To: Sent: Monday, April 21, 2008 9:59 PM Subject: [R] optFederov/AlgDesig

Re: [R] optFederov/AlgDesign - help avail?

2008-04-22 Thread paulandpen
I would suggest reading this attachment below. http://support.sas.com/techsup/technote/ts722d.pdf OptFedreov is the go for you, you are correct. I don't know of anybody who has come up with design principles in choice modelling that apply to logit and probit models etc. We all assume that what

Re: [R] Conjoint Analysis in R??

2007-12-06 Thread paulandpen
Faisal, can you elaborate further on your conjoint design there is bayesm which offers a hierarchical bayes approach to analysing choice data MLogit available through zelig (see below) http://gking.harvard.edu/zelig/docs/index.html MNP as a standalone package for the probit model thanks

Re: [R] cluster analysis

2007-11-02 Thread paulandpen
AMINA SHAHZADI, The eternal question. What I do is that I generate a range of solutions, profile them on variables used to cluster the data into groups and any other information I have to profile the cluster groups on and then present the solutions to a group of others to assess meaningfulness

Re: [R] query on "random.seed" not found error in code

2007-09-27 Thread paulandpen
Duncan, Worked like a charm... Cheers Paul - Original Message - From: "Duncan Murdoch" <[EMAIL PROTECTED]> To: "paulandpen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "Bob Wheeler" <[EMAIL PROTECTED]> Sent: Thursday,

[R] query on "random.seed" not found error in code

2007-09-27 Thread paulandpen
Hi, I am trying to use AlgDesign and am partially successful Two lines of code are taken from the help file 1. Line 1 (below) works fine > dat<-gen.factorial(levels=3,nVars=3,varNames=c("A","B","C")) 2. Line 2 (below) does not work fine > desD<-optFederov(~quad(A,B,C),dat,nTrials=14,eval=TRUE)

Re: [R] k-means clustering

2007-09-13 Thread paulandpen
Hi David, That area/topic you flagged is unusual to say the least in the grand scheme of what I have read in the coverage of k-means. I have been using k-means for many years, and have never come across this before (maybe out of ignorance and not keeping abreast of all the issues associated