search for: logprob

Displaying 3 results from an estimated 3 matches for "logprob".

Did you mean: logprof
2005 Aug 19
1
How to create design matrix for LLMNL?
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
2010 Oct 03
2
sampling from normal distribution
Hello If i want to resampl from the tails of normal distribution , are these commans equivelant??   upper tail:qnorm(runif(n,pnorm(b),1))  if b is an upper tail boundary   or   upper tail:qnorm((1-p)+p(runif(n))  if p is the probability of each interval (the observatins are divided to intervals)   Regards [[alternative HTML version deleted]]
2013 Feb 20
0
Bayesian mixing model
...ing a new "userProb" argument, so I'd be very grateful to anyone who could help me out with this. Failing that, does anybody know of another package for Bayesian optimisation that could account for covariance in the source area geochemistry? For anyone that can help, you may need the logprobability function that BCE calls as the default when userProb is set to NULL: ########## logProbabilityBCE1 <- function (RAT, X, init.list) { with(init.list, { if (!is.null(userProb)) logp <- log(userProb(RAT, X)) else { y <- X %*% RAT if (!is.null...