Displaying 20 results from an estimated 3000 matches similar to: "Function for Estimating Fractional Multinomial Logit Model?"
2003 Jun 09
2
ESRI shapefiles and EMME/2 packages
I just uploaded two packages to CRAN.
shapefiles_0.1.tar.gz - functions to read and write ESRI shapefiles
(including dbfs)
emme2_0.1.tar.gz - functions to read binary data from an EMME/2 databank
data (EMME/2 is a transportation modeling program)
Please let me know if you find any bugs or have some suggestions. Thanks.
Regards,
Benjamin Stabler
Transportation Planning Analysis Unit
Oregon
2011 Dec 21
0
Estimating a latent class multinomial logit regression with flexmix
I am trying to estimate a latent class multinomial logit regression with
flexmix.
I am not sure if I should do it as follows:
m4<-flexmix(cbind(y,1-y)~x1+x2|id,model=FLXMRglm(family="binomial"),data=NPreg,k=2)
,
where id links each row with the corresponding respondent.
Each respondent has 4 alternatives to chose from.
y takes the value 1 only for the alternative chosen;
x1 and
2003 Oct 31
4
Array Dimension Names
I would like to reference array dimensions by name in an apply and a summary
function. For example:
apply(x, "workers", sum)
Is there a better way to do this than creating a new attribute for the array
and then creating new methods for apply and summary? I don't want to name
the individual elements of each dimension (such as with dimnames) but rather
name the dimensions. Thanks
2004 Aug 05
1
R interface to Python (in Windows)
I put a copy of R 1.8.1 for Windows on our FTP site at:
ftp://ftp.odot.state.or.us/outgoing/Test/. It should be there for a few
days before it gets deleted.
Benjamin Stabler
Transportation Planning Analysis Unit
Oregon Department of Transportation
555 13th Street NE, Suite 2
Salem, OR 97301 Ph: 503-986-4104
-----Original Message-----
From: Peter Wilkinson [mailto:pwilkinson at videotron.ca]
2004 Mar 10
2
Rcmd BATCH command line arguments
I want to run Rcmd BATCH with R_DEFAULT_PACKAGE=base so it doesn't load any
packages, but it seems to reject this argument because it does not start
with a '-' or '--'. Is there a different argument that will work? Thanks.
Benjamin Stabler
Transportation Planning Analysis Unit
Oregon Department of Transportation
555 13th Street NE, Suite 2
Salem, OR 97301 Ph: 503-986-4104
2003 Jul 23
2
paste and NAs
I understand how R treats NAs but in the situation below it would be nice to
have a na.skip argument to paste so it does not convert the NAs to "NA"s and
simply skips those elements of the vector for pasting.
> x
[1] "2.13" "2.3" NA NA "2.83" NA
> paste(x, "0", sep="")
[1] "2.130" "2.30"
2004 Mar 08
3
Decision Trees
I am familiar with the rpart and tree packages for classification and
regression trees. However, quite a bit of the research in the
transportation community relating to decision trees uses the C4.5 family of
algorithms by Quinlan. Are there any plans to make a C4.5 (or a derivative
of it) available to R? If not, then I might use the WEKA Java package (
http://www.cs.waikato.ac.nz/ml/weka) that
2003 Apr 25
2
Open an r+b file connection on Windows
I am trying to open an existing binary file, seek to a position in the
middle, and then write one byte, while keeping the already existing data
after that byte. It seems to me that I am unable to open a connection to a
binary file in both read and write mode. I can open the "r+b" binary file
connection and seek around, but I can't write to the file. And looking at
the function
2007 Jul 19
2
multinomial logit estimation
Good morning,
I'd like to estimate a simple multinomial logit model in R (not a McFadden conditional logit). For instance, I'd like to estimate the probability of someone having one of eight titles in a company with the independent variables being the company characteristics. A binary logit is well documented. What about the multinomial?
Thanks,
Walt Paczkowski
2005 Sep 08
1
Multinomial Logit and p-values
Hi,
I am trying to obtain p-values for coefficient estimates in a multinomial
logit model. Although I am able to test for significance using other
methods (e.g., Wald statistics), I can't seem to get R to give me simple
p-values. I am sure there is a very simple solution to this, but the R
archives seem to have nothing on this issue. I would appreciate any help.
Thanks in advance!
Best,
2011 Dec 23
2
Latent class multinomial (or conditional) logit using R?
Hi everyone?
Does anybody know how can I estimate a
Latent class multinomial (or conditional) logit using R?
I have tried flexmix, poLCA, and
they do not seem to support this model.
thanks in advance
adan
--
View this message in context: http://r.789695.n4.nabble.com/Latent-class-multinomial-or-conditional-logit-using-R-tp4230083p4230083.html
Sent from the R help mailing list archive at
2009 Oct 08
1
unordered multinomial logistic regression (or logit model) with repeated measures (I think)
I am attempted to examine the temporal independence of my data set and think
I need an unordered multinomial logistic regression (or logit model) with
repeated measures to do so. The data in question is location of chickens.
Chickens could be in any one of 5 locations when a snapshot sample was
taken. The locations of chickens (bird) in 8 pens (pen) were scored twice a
day (AMPM) for 20 days
2012 Mar 21
1
Multinomial Logit data arrangement
Dear all,
I am having a hard time attempting to do a multinomial logit modeling in R.
I am trying to analyze a dataset whereby there are 3 scenarios with 4
difference choice parameters. In particular ? I am having a hard time
arranging this into a .csv format. What sorts of headings should I put in
the column headers to reflect the variables and parameters for the total
number of choice made
1999 Mar 15
1
multinomial logit model
Dear R users,
I would like to know if there is a package in R
that estimates multinomial logit models (without
using surrogate Poisson models)
-or even better- nested multinomial logit models?
I am using the Windows version of R (Windows 95).
To my understanding, the S package called nnet
does that, but it seems not to work in R.
Thanking in advance for any help,
Marjo Pyy-Martikainen
2009 May 26
0
NNET conditional Multinomial logit
Please,
could you tell me how to enter a mixed or a purely conditional multinomial logit model in NNET.
I know how to do a multinomial logit in NNET but I don't know how to do conditional or mixed models using this package.
I do know how to do this with VGAM - but would like to compare my results to those obtained by NNET.
Thanks.
Raffaele.
2009 Jan 07
0
Multinomial Logit Model
I'm attempting to creat multinomial logistic regression model using the
following code:
mlogit<- vglm(ME ~ HIST,family=multinomial(),na.action = na.pass)
ME (dependent variable) has three levels (0,1,2)
How do I declare a reference outcome (either 0,1,2)?
2003 Jul 15
0
Multinomial Logit with multiple groups
Hi,
I am inexperienced with ML and R so please be tolerant :)
I am trying to replicate the method I have seen in a paper without success.
If my understanding is correct (a big 'IF') it seems to use Multinomial
Logit on multiple groups of
various sizes, with 'nature' selecting the choice (the winner) - then uses
Maximum Likelihood to optimise the parameters to produce a model for
2003 Jan 24
3
Multinomial Logit Models
Hi
I am wanting to fit some multinomial logit models (multinom command in
package nnet)
Is it possible to do any model checking techniques on these models
e.g. residual, leverage etc. I cannot seem to find any commands that
will allow me to do this.
Many thanks
----------------------
L.E.Gross
L.E.Gross at maths.hull.ac.uk
2008 Apr 11
1
Multinomial Logit Regression
Hi all,
I have a dataset with a response variable with three categories (1, 2, 3)
and a lot of continuous variables. I'd like to make a MLR with these
variables. I've been watching the libraries nnet and zelig for this purpose
but I don't understand them well.
I use a training sample data to make the MLR.
train.set <- sample(1:1000,1000*0.7)
I have done this:
library(nnet)
net
2003 Jul 23
0
multinomial logit discrete choice model
Hi,
I'm struggling trying to specify a multinomial logit discrete choice model
in R.
Any help and/or code examples appreciated.
I am specifically interested in specifying a model where no universal choice
set exists and each choice set has a variable number of alternatives (one of
which is chosen) see data below.
Many Thanks,
David
PS I have asked earlier but without reply.
Is it