search for: createx

Displaying 13 results from an estimated 13 matches for "createx".

Did you mean: create
2006 Aug 02
1
RE
Hi any, Can some please detail me the createX command in bayesm package? To make things easy for you to help me, let me put forward my problem Suppose I have 3 covariates (say X matrix) and my Y has 3 categories say (1,2,3). Now from the CreateX I understand that the data matrix say 'Xa' must be of dimension n* (naxp), where 'n...
2005 Aug 19
1
How to create design matrix for LLMNL?
...problem with developing design matrix X, which I use in estimation the log-likelihood of a multinomial logit model. I have the data: number of observation - 289 number of choice alternative- 3 number of choice specific variables in matrix X -4 matrix X =289x4 I tried to use the function createX, I know that I have to get design matrix 289x12 (am I right?) but it always says "bad dim" (my code and data in attachment) Where is my fault? Can I use another method in order to create design matrix? Or need it at all here in logmnl (see code in attachment)? Can anyone help me...
2005 Aug 18
0
?
...problem with developing design matrix X, which I use in estimation the log-likelihood of a multinomial logit model. I have the data: number of observation - 289 number of choice alternative- 3 number of choice specific variables in matrix X -4 matrix X =289x4 I tried to use the function createX, I know that I have to get design matrix 289x12 (am I right?) but it always says "bad dim" (my code and data in attachment) Where is my fault? Can I use another method in order to create design matrix? Or need it at all here in logmnl (see code in attachment)? Can anyone help me...
2007 Jun 20
0
Multi-variate Probit model using Bayesm
Hello, I have built a multi-variate probit model using the package "bayesm", which requires that the X data is constructed using the function "CreateX". I've gone through the documentation and run my model, but wanted to be sure about my interpretation of the results for the coefficients - beta. Steps: 1) I have 5 choices for the dependent variable Y, so p=5 2) I have 8 covariates, so the x data I read in has n rows (n=no. of respondent...
2007 Jun 21
0
Multi-variate Probit model using Bayesm in R
Hello, I have built a multi-variate probit model using the package "bayesm", which requires that the X data is constructed using the function "CreateX". I've gone through the documentation and run my model, but wanted to be sure about my interpretation of the results for the coefficients - beta. Steps: 1) I have 5 choices for the dependent variable Y, so p=5 2) I have 8 covariates, so the x data I read in has n rows (n=no. of respondent...
2015 Jul 08
3
[LLVMdev] The Trouble with Triples
> Another very annoying fact is that the Clang driver re-parses triples many > times, and sometimes they change the triple based on a CPU, and then end > up with a different CPU. I’ve recently been tasked with cleaning this up. Before starting on this full gusto, I want to make sure I’m not stepping on any toes or duplicating work. The rough plan is as follows; 1. Replace the call to
2009 Mar 02
0
[LLVMdev] Please review the 2.5 release notes
...ty, llvm_ptr_ty, llvm_ptr_ty]> used to mean the return type was i32 and the parameter types were (i8*, i8*), but now it means something different (probably that the return type is {i32, i8*, i8*}, but I'm not sure). - BinaryOperator::createAnd -> CreateAnd (and similarly for lots of other createX functions) - TargetData::getABITypeSize -> getTypePaddedSize - APFloat::convertToAPInt -> bitcastToAPInt I don't know if any of these count as "major". Thanks, Jay.
2015 Jul 09
2
[LLVMdev] The Trouble with Triples
On 9 July 2015 at 10:39, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote: > TM.createX(llvm::TargetTuple(llvm::Triple(TripleStr)), ...) Could you have a constructor for TargetTuple(string) to build a triple on its own? --renato
2007 May 27
4
[LLVMdev] New LLVMBuilder api
On Sun, 27 May 2007, Aaron Gray wrote: >> I just checked in a new LLVMBuilder class into llvm/Support/LLVMBuilder.h, > It does not seem to be on the LLVM cvsweb, is that still showing 1.9 or 2.0 > and not cvs ? It is there: http://llvm.org/cvsweb/cvsweb.cgi/llvm/include/llvm/Support/LLVMBuilder.h?rev=HEAD&content-type=text/x-cvsweb-markup -Chris -- http://nondot.org/sabre/
2007 May 27
0
[LLVMdev] New LLVMBuilder api
...ing 1.9 or >> 2.0 >> and not cvs ? > > It is there: > http://llvm.org/cvsweb/cvsweb.cgi/llvm/include/llvm/Support/LLVMBuilder.h?rev=HEAD&content-type=text/x-cvsweb-markup Ah, right, sorry, not looking properly. This is a tiny bit like .NET, but that uses emit rather than CreateX. How did the meeting go, have heard no news on the mailing list. Aaron
2007 May 27
1
[LLVMdev] New LLVMBuilder api
...gt; and not cvs ? >> >> It is there: >> http://llvm.org/cvsweb/cvsweb.cgi/llvm/include/llvm/Support/LLVMBuilder.h?rev=HEAD&content-type=text/x-cvsweb-markup > > Ah, right, sorry, not looking properly. > > This is a tiny bit like .NET, but that uses emit rather than CreateX. CreateMalloc and CreateAlloca should not the ArraySize be set to (a) 1 as default argument ? Aaron
2009 Mar 02
6
[LLVMdev] Please review the 2.5 release notes
Hi All, Please review the 2.5 release notes here: http://llvm.org/docs/ReleaseNotes.html Let me know if you have any additions, improvements, or see any oversights. If you have commit access, please just directly change the document. The release is planned to go out in about 24 hours from now! Thanks! -Chris
2011 Aug 04
0
Problems with Z in rhierMnlRwMixture using bayesm
...differently? Also below is the full code that I am running. select= c(1,2,3) id=levels(as.factor(ChoiceAtt[,1])) lgtdata=NULL nlgt=length(id) p=length(select) ind=1 for (i in 1:nlgt) { nobs=sum(ChoiceAtt[,1]==id[i]) data=ChoiceAtt y=data[,2] names(y)=NULL X=createX(p=p,na=1,Xa=data[,3:5],nd=NULL,Xd=NULL,INT=TRUE,base=1) lgtdata[[ind]]=list(y=y,X=X,id=id[i]); ind=ind+1 } nlgt=length(lgtdata) Z=NULL nlgt=length(lgtdata) for(i in 1:nlgt) { Z=rbind(Z,Demog[Demog[,1]==lgtdata[[i]]$id,3:9]) } Z=log(Z) Z[,1]=Z[,1]-mean(Z[,1]) Z[,2]=Z[,2]-mean(Z[,2...