Community Profile

photo

Jacob Thompson


Last seen: 7 months ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Review

View badges

Feeds

View by

Answered
How to create function handle using random output
I'm quite certain that I figured this out, thanks for the help guys. function liki = fmin(x,current,block) % y = zeros(1,16...

1 year ago | 0

Question


Is this the correct code for computing the laplace approximation of the marginal data density?
function [log_mdd, log_mdd_se] = laplace_mdd(prior_fun, log_likelihood, theta_mode, hessian) % Compute the Laplace approximatio...

1 year ago | 1 answer | 0

1

answer

Question


How to create function handle using random output
Hi all, I am trying to implement something called a "Tailored Randomized Block-MH" algorithm, which requires me to take a like...

1 year ago | 3 answers | 0

3

answers

Question


how to save PDF of kernel density?
Hi all, I have a project that requires me to compute a pdf of a kernel density hundreds of thousands (millions) of times and I...

1 year ago | 0 answers | 0

0

answers

Question


matlab unable to classify variable in parfor loop
function [a_t,b_t,R_t] = beliefs_updating(a_t1,b_t1,R_t1,x_t,y_t,gain) a_t = zeros(30,1); b_t = zeros(30,30); R_t = zeros(2,2...

3 years ago | 1 answer | 0

1

answer

Question


If statement for when matrix is close to singular
Hi all, I'm running an MCMC to estimate a model and for several parameter draws I get a warning that a matrix is close to sing...

3 years ago | 1 answer | 0

1

answer

Question


Parallel simulations of VAR
clear clc tic bet = .2; rho = .8; gam = 0.06; particles = 50000; N = particles; Time = 150; T = Time; y = zeros(partic...

4 years ago | 0 answers | 0

0

answers

Question


Can matlab assign a vector of objects?
[x,y,z] = [1,2,3] Say I want to assign the objcts x, y, and z to values 1,2,3 Can I create a vector of objects [x,y,z] and as...

4 years ago | 1 answer | 0

1

answer