Displaying 20 results from an estimated 10000 matches similar to: "multinomial regression model"
2008 Jan 07
0
R vglm new family writing: mix Poisson/multinomial
Hi dear R users,
1)
I would like to know if there is a simple way to define a vglm family which
would be a mix of poisson variables and bernoulli variables (0/1 response)
for idea this would be invoked like this:
vglm(...,family=mixpoissonmultinom(npoisson,n01response))
where the n's give the number of each type of response.
2)
and a simpler question : How to use constraints in rrvglm?
2009 Jul 21
0
Function for Estimating Fractional Multinomial Logit Model?
I need to estimate a model that predicts the proportional split of
travel among the vehicles of a household based on vehicle
characteristics such as age, fuel economy, and travel cost per mile. The
model estimation dataset has a record for each household vehicle with
information about the vehicle, the household, and the proportion of the
total household vehicle travel using that vehicle. I have
2009 Sep 04
1
Multinomial and Ordinal Logistic Regression - Probability calculation
Dear all,
I am new to R and would like to run a multinomial logistic regression on my dataset (3 predictors for 1 dependent variables)
I have used the vglm function from the VGAM package and got some results. Using the predict() function, I obtained the probability table I was looking for. However, I would like to fully understand how the predict() function generates the probabilities or in
2007 Mar 26
1
fitted probabilities in multinomial logistic regression are identical for each level
I was hoping for some advice regarding possible explanations for the
fitted probability values I obtained for a multinomial logistic
regression. The analysis aims to predict whether Capgras delusions
(present/absent) are associated with group (ABH, SV, homicide; values
= 1,2,3,), controlling for previous violence. What has me puzzled is
that for each combination the fitted probabilities are
2017 Dec 14
0
Distributions for gbm models
On page 409 of "Applied Predictive Modeling" by Max Kuhn, it states
that the gbm function can accomodate only two class problems when
referring to the distribution parameter.
>From gbm help re: the distribution parameter:
Currently available options are "gaussian" (squared error),
"laplace" (absolute loss), "tdist" (t-distribution
2009 Nov 04
1
compute maximum likelihood estimator for a multinomial function
Hi there
I am trying to learn how to compute mle in R for a multinomial negative
log likelihood function.
I am using for this the book by B. Bolker "Ecological models and data in
R", chapter 6: "Likelihood an all that". But he has no example for
multinomial functions.
What I did is the following:
I first defined a function for the negative log likelihood:
2013 May 07
0
extracting the residuals from models working with ordinal multinomial data
Hello
I am having some problems for extracting the residuals from models
working with ordinal multinomial data.
Either working with the polr() function or the plsRglm () function,
the residuals are "NULL". I guess this is because the data is
multinomial but I do not know how to solve it.
I have read the following in internet:
"can you tell us how residuals would be defined in
2012 Dec 18
0
R function for computing Simultaneous confidence intervals for multinomial proportions
Dear all,
Does someone know an R function implementing the method of Sison and
Glaz (1995) (see full ref below) for computing Simultaneous confidence
intervals for multinomial proportions?
As alternative method, I think to boostrap the mean of each proportion
and get in that way confidence interval of the mean.
I observed 21 times a response that could be one out of 8 categories
2007 Mar 30
1
faster computation of cumulative multinomial distribution
Dear list members,
I have a series of /unequal/ probabilities [p1,p2,...,pk], describing
mutually exclusive events, and a "remainder" class with a probability
p0=1-p1-p2-....-pk, and need to calculate, for a given number of trials
t>=k, the combined probability that each of the classes 1...k contains
at least 1 "event" (the remainder class may be empty).
To me this reaks
2007 Mar 05
3
Mixed effects multinomial regression and meta-analysis
R Experts:
I am conducting a meta-analysis where the effect measures to be pooled
are simple proportions. For example, consider this data from
Fleiss/Levin/Paik's Statistical methods for rates and proportions (2003,
p189) on smokers:
Study N Event P(Event)
1 86 83 0.965
2 93 90 0.968
3 136 129 0.949
4 82 70 0.854
Total
2009 Nov 27
0
Questions about use of multinomial for discrimination.
Dear All,
I am looking at discriminating among several individuals based on a few
variable sets (I think some variables do not make sense unless they are
entered together, so I "force" them into the models together, hence
datasets). I have done so with linear discriminant analysis (LDA) using
"MASS::lda", with acceptable results. However, one of my collaborators
2010 Feb 11
1
Rounding multinomial proportions
I present you with a function that solves a problem that has bugged me for
many years. I think the problem may be general enough to at least consider
adding this function, or a revamped version of it, to the 'stats' package,
with the other multinomial functions reside.
I'm using R to export data to text files, which are input data for an
external model written in C++. Parts of the
2010 Feb 12
1
using mle2 for multinomial model optimization
Hi there
I'm trying to find the mle fo a multinomial model ->*L(N,h,S?x)*. There
is only *N* I want to estimate, which is used in the number of successes
for the last cell probability. These successes are given by:
p^(N-x1-x2-...xi)
All the other parameters (i.e. h and S) I know from somewhere else.
Here is what I've tried to do so far for a imaginary data set:
2004 May 07
1
scores from multinomial logistic regression
Dear all,
I'm interested in extracting the score from multinomial logistic regression
models fit using multinom, to assess the stregth of assocation of the
parameter with the response (akin to the score from clogit/cox regression).
currently I'm using R 1.8.1.
Is there a function that will extract the score from a multinom object or
how i can get back to it? or from using glm?
I
2008 Jun 28
0
ungrouped data for multinomial regression
Thanks for helping me out with the thing of quotation marks. I finally
could save time running programs at the university and home.
One additional question for all of you. I'm starting to be familiar
with multinomial regression models. Actually I'm doing some exercise
with the pneumo data that appears in Faraway library. The database has
24 observations and I want to study the probability
2005 Jul 27
2
logistic regression: categorical value, and multinomial
I have two questions:
1. If I want to do a binomial logit, how to handle the
categorical response variable? Data for the response
variables are not numerical, but text.
2. What if I want to do a multinomial logit, still
with categorical response variable? The variable has 5
non-numerical response levels, I have to do it with a
multinomial logit.
Any input is highly appreciated! Thanks!
Ed
2004 Sep 23
3
multinomial logistic regression
Hi, how can I do multinomial logistic regression in R?
I think glm() can only handle binary response
variable, and polr() can only handle ordinal response
variable. how to do logistic regression with
multinomial response variable?
Thanks
__________________________________
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
2010 Jul 05
1
Memory problem in multinomial logistic regression
Dear All
I am trying to fit a multinomial logistic regression to a data set with a size of 94279 by 14 entries. The data frame has one "sample" column which is the categorical variable, and the number of different categories is 9. The size of the data set (as a csv file) is less than 10 MB.
I tried to fit a multinomial logistic regression, either using vglm() from the VGAM package or
2005 Jun 23
0
multinomial logistic regression with survey data
Hello,
Is there a function/package that can do multinomial logistic
regression using survey weights, similar to "svymlogit" in Stata? It
appears that only "svyglm" function (which does not allow multinomial
response?) is available in the "survey" package.
Thank you!
Masha Kocherginsky