Displaying 20 results from an estimated 1000 matches similar to: "bayesm package not downloading via any mirror or repository"
2006 Oct 21
2
problem with mode of marginal distriubtion of rdirichlet{gtools}
Hi all,
I have a problem using rdirichlet{gtools}.
For Dir( a1, a2, ..., a_n), its mode can be found at $( a_i -1)/ (
\sum_{i}a_i - n)$;
The means are $a_i / (\sum_{i} a_i ) $;
I tried to study the above properties using rdirichlet from gtools. The code
are:
##############
library(gtools)
alpha = c(1,3,9) #totoal=13
mean.expect = c(1/13, 3/13, 9/13)
mode.expect = c(0, 2/10, 8/10) #
2012 Feb 28
2
Error: could not find function "hier.part"
Error: could not find function "hier.part"
things I have tried:
1. reinstall R (lastest version, on windows XP)
2. install package "gtools"
3. include:
library(gtools)
require(gtools)
4. how I call this function:
hier.part(c$Y, xdata, fam = "gaussian", gof = "Rsqu")
5.when I try to check what's in the package "gtools", I get (hier.part is
2007 Aug 07
1
bayesm - question about 'rscaleUsage function'
Hi all,
I have managed to get the r-scale usage algorithm to work, but I need to obtain the final results from this. As I understand it, this code is designed to generate a matrix after processing and store it somewhere?????
Here is the code.....
I get this part of the code, it all makes sense.
##
if(nchar(Sys.getenv("LONG_TEST")) != 0) {R=1000} else {R=5}
{
data(customerSat)
2007 May 10
1
Bayesm
Hi all,
Please let me know the how to include Bayesm with R-2.4.1
Thanks
Jomy
[[alternative HTML version deleted]]
2016 Dec 05
2
Suma condicionada.-
Hola comunidad,
Les consulto mi duda. Quisiera generar N números aleatorios tal que su suma
esté predeterminada a un valor k. Sé que con la distribución Dirichlet, por
ejemplo, se podrían obtener números aleatorios tal que su suma es la
unidad. Por ejemplo
MCMCpack::rdirichlet(1,rep(10,7))
genera 7 números tal que su suma es 1 (el parámetro rep(10,7) es cualquier
cosa).
Pero me pregunto si se
2012 Mar 01
1
Parameterization of Inverse Wishart distribution available in MCMCpack and bayesm libraries
Hello Everyone
Both the MCMCpack and the bayesm libraries allow us to make draws from the
Inverse Wishart distribution.
But I wanted to find out how exactly is the Inverse Wishart distribution
parameterized in these libraries.
The reason I ask is the following:
Now its generally standard to express Inverse Wishart as IW(0.5 * DOF,0.5*
Scale). (DOF-> Degree of freedom, Scale -> Scale
2008 Mar 07
0
bayesm version 2.2-0
bayesm version 2.2-0 is now available on CRAN.
Major changes include:
1. general density estimation using a Dirichlet Process Prior and a
normal base
2. linear instrumental variable models with unknown error distributions
(the Bayesian analogue of IV methods). Achieved via DP priors.
peter r
................................
Peter E. Rossi
Joseph T. and Bernice S. Lewis Professor of
2002 Oct 31
1
Re: gregmisc version 0.7.3 now available
Dear Greg,
Thanks for the new release. The decomposition of the SSQ is just what I need!
Regards,
Martin.
Martin Hoyle,
School of Life and Environmental Sciences,
University of Nottingham,
University Park,
Nottingham,
NG7 2RD,
UK
Webpage: http://myprofile.cos.com/martinhoyle
>>> gregory_r_warnes at groton.pfizer.com 10/30/02 07:16PM >>>
Version 0.7.3 of the gregmisc package
2006 Mar 28
3
How to generate a list of lists recursively (for bayesm)
Dear all,
I need to generate a list of lists as required by the bayesm-package. This means in my application that I have to generate a list which consists of 2000 elements, which are lists themselves:
list(list(y1,X1),...,list(y2000,X2000)).
The y are vectors and the X are matrices of different dimensions. I tried to solve this problem iteratively by the following code, but received an error
2009 Mar 31
0
Function rmultiregfp from package bayesm gone?
Hi,
I have been using the function rmultiregfp from the bayesm package for a
long time. In the current version of the package this function (and the
corresponding init.rmultiregfp) is no longer available, does anyone know
why?
Can someone who has the "old" bayesm still on his computer please post the
code of these two functions? Would be a great help as I have them both in a
number of
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
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
We are pleased to announce the release of version 0.0 of bayesm on CRAN.
bayesm covers many important models used in marketing
and micro-econometrics applications.
The package includes:
Bayes Regression (univariate or multivariate dep var)
Multinomial Logit
Multinomial and Multivariate Probit
Multivariate Mixtures of Normals
Hierarchical Linear Models with a normal prior and covariates
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
We are pleased to announce the release of version 0.0 of bayesm on CRAN.
bayesm covers many important models used in marketing
and micro-econometrics applications.
The package includes:
Bayes Regression (univariate or multivariate dep var)
Multinomial Logit
Multinomial and Multivariate Probit
Multivariate Mixtures of Normals
Hierarchical Linear Models with a normal prior and covariates
2005 Nov 17
0
new version of bayesm
Version 2.0-2 of bayesm is available on CRAN.
This version includes bug fixes for rhierMnlRwMixture and
rhierLinearModel.
peter rossi
_______________________________________________
R-packages mailing list
R-packages at stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-packages
2005 Nov 17
0
new version of bayesm
Version 2.0-2 of bayesm is available on CRAN.
This version includes bug fixes for rhierMnlRwMixture and
rhierLinearModel.
peter rossi
_______________________________________________
R-packages mailing list
R-packages at stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-packages
2009 Feb 13
0
Difference MNP-package and rmnpGibbs from bayesm-package
Hi all,
For my research I have to use a Multinomial Probit model. I saw that
there are two packages, that include a method to estimate my
parameters. The first one is the MNP-package of Imai and van Dyk. The
second one is part of the bayesm-package of Rossi.
The results for both packages are not the same using the same data.
Does anybody know what the difference is between these two approaches?
2011 Feb 10
0
Question about the covariate Z in rhierMnlRwMixture (bayesm)
Hello!
I am using rhierMnlRwMixture from bayesm package. I would like to use
it with a categorical covariate (Z).
I have 2 clariciation questions:
1. If the covariate is categorical, do I have to represent it as dummy
variable(s)? (e.g., 2 dummy variables for a 3-level categorical
variable)?
2. Do those dummy variables have to be centered? Help file for
rhierMnlRwMixture says: "Z should not
2005 Apr 23
0
patch release of bayesm
Folks-
a patch release of bayesm, v0.0-1, is now available on CRAN. This release corrects some errors in the help pages as well as one error in the function rhierLinearModel involving an incorrect default prior setting.
peter
................................
Peter E. Rossi
Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics
Editor, Quantitative Marketing and Economics
Rm
2005 May 20
0
Version 1.0-1 of bayesm
Version 1.0-1 of bayesm is now available on CRAN.
This is our first "production" version which include s much improved documentation as well as five data sets used in our book, Bayesian Statistics and Marketing.
peter r
................................
Peter E. Rossi
Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics
Editor, Quantitative Marketing and Economics
2005 Jun 15
0
Version 1.1-0 of bayesm
Version 1.1-0 of bayesm is now available on CRAN.
This version includes Bayesian inference for the NBD(Poisson) regression
model and a hierarchical version of the same. It also includes an additional
dataset with count data and various covariates.
Comments and suggestions for improvement are most welcome.
................................
Peter E. Rossi
Joseph T. and Bernice S. Lewis