Displaying 20 results from an estimated 7000 matches similar to: "multinom(nnet) analogy for biglm package?"
2006 Sep 22
1
How to retrieve results of most recent command?
In R, is there an automatic variable that stores the results of the most
recent command or commands? (I am thinking of a behavior like
Mathematica's % result-history substitution syntax.)
(I am using R 2.3.1 on Linux and R 2.3.1 on Windows XP.)
This is a pretty basic question, so I tried to do an extensive version
of the recommended pre-posting homework.
>
2006 Feb 22
2
does multinomial logistic model from multinom (nnet) has logLik?
I want to get the logLik to calculate McFadden.R2 ,ML.R2 and
Cragg.Uhler.R2, but the value from multinom does not have logLik.So my
quetion is : is logLik meaningful to multinomial logistic model from
multinom?If it does, how can I get it?
Thank you!
ps: I konw VGAM has function to get the multinomial logistic model
with logLik, but I prefer use the function from "official" R
2011 Apr 23
0
nnet Multinom output of ordered predictors
Hello,
I apologize if this seems like an obvious question, but I have been looking
everywhere and have yet to find an answer.
I am doing a multinomial regression with multinom() in the nnet package. I
have a 3 level ordered response (ordered()) variable and 4 predictors, 3 of
which are numerical and one which is an ordered factor (also ordered()) with
5 levels (a, b, c, d, e).
My question is in
2005 Apr 12
1
factors in multinom function (nnet)
Dear All:
I am interested in multinomial logit models (function multinon, library nnet) but I'm having troubles in choose whether to define the predictors as factors or not.
I had posted earlier this example (thanks for the reply ronggui):
worms<- data.frame(year= rep(2000:2004, c(3,3,3,3,3)),age=rep(1:3,5),
2012 Sep 13
1
cannot write to CIFS shares on a Windows box from Centos 6
Another issue that I found was that I cannot write to CIFS shares on a Windows server with Centos 6. I can write to them from Centos 5 and older Fedora versions, but not from Centos 6.
Any ideas on what needs to be changed or where I can start looking for some indication of what is wrong?
Thank you,
Ryan Palamara
ZAIS Group, LLC
2 Bridge Avenue, Suite 322
Red Bank, New Jersey 07701
Phone: (732)
2010 Mar 17
1
question about multinom function (nnet)
Dear All.
I have the following table that I want to analyze using multinom
function
freq segments sample
4271 Seg1 tumour
4311 Seg2 tumour
3515 Seg1 normal
3561 Seg2 normal
I want to compare model with both factors to the one where only sample
is present.
model1=multinom(freq~segments+sample,data=table)
model2=multinom(freq~ sample,data=table)
2008 Dec 19
0
"parm" argument in confint.multinom () nnet package
Dear R users,
The nnet package includes the multinom method for the confint function.
The R Help file (?confint) for the generic function in the stats package
and the help files for the glm and nls methods in the MASS package
indicate that one can use the "parm" argument as "a specification of
which parameters are to be given confidence intervals, either a vector
of numbers or
2012 Sep 11
2
NFS mounts group name shows as nobody
I am trying to find out why my group names are showing as nobody. I have a CentOS 6 system that is acting as a NFS server. I have some older fedora clients where the group name shows up fine, but newer CentOS 6 clients have the group name for NFS mounts show up as "nobody". The username shows up fine but the group name shows up as "nobody".
I have tried changing some setting
2007 Jan 28
2
nnet question
Hello,
I use nnet to do prediction for a continuous variable.
after that, I calculate correlation coefficient between predicted value and
real observation.
I run my code(see following) several time, but I get different correlation
coefficient each time.
Anyone know why?
In addition, How to calculate prediction accuracy for prediction of
continuous variable?
Aimin
thanks,
> m.nn.omega
2011 Apr 08
1
multinom() residual deviance
Running a binary logit model on the data
df <- data.frame(y=sample(letters[1:3], 100, repl=T),
x=rnorm(100))
reveals some residual deviance:
summary(glm(y ~ ., data=df, family=binomial("logit")))
However, running a multinomial model on that data (multinom, nnet)
reveals a residual deviance:
summary(multinom(y ~ ., data=df))
On page 203, the MASS book says that "here the
2013 Jan 20
0
multinom and stargazer
I am trying to create a LaTex table based on a multinom (nnet) object using
the stargazer command.
I have created a small data frame to demonstration the problem:
data <- data.frame(age=1:21, hight=20:40,
ed=c(1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3))
data$ed <- as.factor(data$ed)
I then make a multinomial model using the command multinom from the nnet
package:
model <- multinom(ed ~
2005 Apr 13
2
multinom and contrasts
Hi,
I found that using different contrasts (e.g.
contr.helmert vs. contr.treatment) will generate
different fitted probabilities from multinomial
logistic regression using multinom(); while the fitted
probabilities from binary logistic regression seem to
be the same. Why is that? and for multinomial logisitc
regression, what contrast should be used? I guess it's
helmert?
here is an example
2005 Jul 08
1
explained deviance in multinom
Hi:
I'm working with multinomial models with library nnet, and I'm trying to get the explained deviance (pseudo R^2) of my models.
I am assuming that:
pseudo R^2= 1 - dev(model) / dev (null)
where dev(model) is the deviance for the fitted model and dev(null) is the deviance for the null model (with the intercept only).
library(nnet)
full.model<- multinom(cbind(factor1,
2004 Feb 23
3
library nnet
DeaR useRs:
I am looking for a function which fits a multinomial model and in Baron?s
page I find the function "multinom" in package "nnet" but this package is
deprecated.
I suppose that this function is now in other package but I can't find it.
Can you help me?
Thanks.
2009 Jun 13
1
Insignificant variable improves AIC (multinom)?
Hi,
I am trying to specify a multinomial logit model using the multinom function from the nnet package. Now I add another independent variable and it halves the AIC as given by summary(multinom()). But when I call Anova(multinom()) from the car package, it tells me that this added variable is insignificant (Pr(>Chisq)=0.39). Thus, the improved AIC suggests to keep the variable but the Anova
2005 May 13
1
multinom(): likelihood of model?
Hi all,
I'm working on a multinomial (or "polytomous") logistic regression
using R and have made great progress using multinom() from the nnet
library. My response variable has three categories, and there are two
different possible predictors. I'd like to use the likelihoods of
certain models (ie, saturated, fitteds, and null) to calculate
Nagelkerke R-squared values for
2019 Jul 18
2
predict multinomial model con nnet
Hola todos
Cuando realizo las predicciones del modelo multinomial con el paquete nnet,
estas cambian cada vez que lo ejecuto ... saben por qué pasa esto ??
Gracias por la ayuda.
[[alternative HTML version deleted]]
2006 Sep 10
2
formatting data to be analysed using multinomial logistic regression (nnet)
I am looking into using the multinomial logistic regression option in the
nnet library and have two questions about formatting the data.
1. Can data be analysed in the following format or does it need to be
transformed into count data, such as the housing data in MASS?
Id Crime paranoia hallucinate toc disorg crimhist age
1 2 1 0 1 0 1 25
2 2 0 1 1 1 1 37
3 1 1 0 1 1 0 42
4 3 0
2007 Nov 02
1
How to see source code of nnet package
Hi,
I am working on a project which needs a multinomial logit
regression. So I want to reference the code of
multinom in nnet package. I found nnet package is no longer in the
CRAN list. But I cannot find the source
code in R Core source code package either.
Anyone knows how to see the source code of nnet?
Luo
2006 Jun 27
1
weights in multinom
Best R Help,
I like to estimate a Multinomial Logit Model with 10 Classes. The
problem is that the number of observations differs a lot over the 10
classes:
Class | num. Observations
A | 373
B | 631
C | 171
D | 700
E | 87
F | 249
G | 138
H | 133
I | 162
J | 407
Total: 3051
Where my data looks like:
x1 x2 x3 x4 Class
1 1,02 2 1 A
2 7,2 1 5 B
3 4,2 1 4 H
1 4,1 1 8 F
2 2,4 3 7 D
1 1,2 0 4 J
2 0,9