Displaying 20 results from an estimated 2000 matches similar to: "How to create design matrix for LLMNL?"
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 'na' is the number of variables and 'p' is
2005 Aug 18
0
?
Hello,
I have a small 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
2007 May 27
0
[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:
>
2007 May 27
1
[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:
>>
2009 Mar 02
0
[LLVMdev] Please review the 2.5 release notes
> Please review the 2.5 release notes here: http://llvm.org/docs/ReleaseNotes.html
The description of nocapture is a bit funny:
"... pointer arguments to functions that access through but do not
return the pointer in a data structure that out lives the call"
I think it needs s/return/retain/ and s/out lives/outlives/
> In addition, many APIs have changed in this release. Some
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 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
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
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
2011 Aug 04
0
Problems with Z in rhierMnlRwMixture using bayesm
Dear All,
I am using rhierMnlRwMixture in the bayesm package for the analysis of data
from a choice experiment. I am trying to follow the margarine example set
out in the bayesm manual (p.28). However, after several attempts I keep
getting an error message with regards to my Z matrix as below.
> Error in Z %*% t(matrix(olddelta, ncol = nz)) :
>requires numeric/complex matrix/vector
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/
1999 Nov 12
1
R-0.65.1 Startup
Dear R users,
I have noticed that my R startup is extremely slow. It takes almost 3
minutes from "double-click" to R prompt. I have been running R-0.64.1 till
recently and it took about 30 sec. I still have access to R-0.64.1. When I
started it up, it took about 25 sec. Can anyone tell me if this is a bug in
R or a problem with my machine?
Note: This is after bootup with R being the
2009 Jun 11
2
How to force R to print 2 decimal places in column of a data.frame?
How to force R to print 2 decimal places in column of a data.frame? I tried to do so:
x = inp(format(rounf(inp$Tamanho, 2), nsmall = 2),)
where "INP" is data.frame and "Size" is the name of column. But has error:
Error in eval.with.vis(expr, envir, enclos) :
could not find function "inp"
Lesandro
Veja quais s?o os assuntos do momento no Yahoo! +Buscados
2000 Nov 09
3
maximum of nsize=20000k ??
Dear R-ers,
somehow it is not possible to increase nsize to more than
20000k. When I specify e.g.
> R --vsize=10M --nsize=21000K
the result is:
free total (Mb)
Ncells 99658 350000 6.7
Vcells 1219173 1310720 10.0
Maybe I have overlooked s.th....
Marcus
--
+-------------------------------------------------------
| Marcus Eger
| E-Mail: eger.m at gmx.de (NEW)
|
2011 Aug 15
2
plotting segments only and in color
Hello,
I've a question concerning the display of interval data.
A sample dataset where X is an interval between Xa and Xb
which should be displayed:
Y=c(15,14,23,18,19,9,19,13)
Xa=c(17,22,21,18,19,25,8,19)
Xb=c(22,22,29,34,19,26,17,22)
X = (Xa+Xb)/2
It's easily possible to plot the mean of the interval like:
plot(X,Y)
afterwards I can create lines for the interval with:
2017 Nov 22
2
function pointers?
We have a project that calls for the creation of a list of many
distribution objects. Distributions can be of various types, with
various parameters, but we ran into some problems. I started testing
on a simple list of rnorm-based objects.
I was a little surprised at the RAM storage requirements, here's an example:
N <- 10000
closureList <- vector("list", N)
nsize = sample(x
2011 Mar 06
4
sorting & subsetting a data.frame
Dear all
This may be obvious, but I cannot get it working. I'm trying to subset
& sort a data frame in one go.
x <- iris
x$Species1 <- as.character(x$Species)
##subsetting alone works fine
with(x, x[Sepal.Length==6.7,])
##sorting alone works fine
with(x, x[order(Sepal.Length, rev(sort(Species1))),])
##gets subsetted, but not sorted as expected
with(x, x[(Sepal.Length==6.7) &
2020 May 12
4
CentOS7 and NFS
Hi,
I need some help with NFSv4 setup/tuning. I have a dedicated nfs server
(2 x E5-2620? 8cores/16 threads each, 64GB RAM, 1x10Gb ethernet and 16x
8TB HDD) used by two servers and a small cluster (400 cores). All the
servers are running CentOS 7, the cluster is running CentOS6.
Time to time on the server I get:
?kernel: NFSD: client xxx.xxx.xxx.xxx testing state ID with
incorrect
2011 Nov 22
5
x, y for point of intersection
Hi everyone,
?
I am trying to get a point of intersection between a
polyline and a straight line ?.. and get the x and y coordinates of this point.
For exemplification consider this:
?
?
set.seed(123)
?
k1 <-rnorm(100, mean=1.77, sd=3.33)
?k1 <- sort(k1)
q1 <- rnorm(100, mean=2.37, sd=0.74)
q1 <- sort(q1, decreasing = TRUE)
plot(k1, q1, xlim <- c((min(k1)-5),
2007 Oct 28
1
tree problem
I am trying to use tree to partition a data set. The data set has 3924
observations. Partitioning seems to work for small subsets of the data,
but when I use the entire data set, no partitioning occurs. The
variables are:
RESP respondent to a survey (0 = not a respondent, 1 =
respondent)
AGE_P Age (continuous)
ORIGIN_I Hispanic Ethnicity (1 = Hispanic, 2 = non-Hispanic)
RACRECI2 Race