List structures in Stan


#61

this the third attempt but model is fail to fit, the result is following
please help me to fit the model

Rejecting initial value:
Log probability evaluates to log(0), i.e. negative infinity.
Stan can’t start sampling from this initial value.

Initialization between (-2, 2) failed after 100 attempts.
Try specifying initial values, reducing ranges of constrained values, or
reparameterizing the model.
[1] “Error in sampler$call_sampler(args_list[[i]]) : Initialization
failed.”
[2] “In addition: Warning message:”

[3] “In readLines(file, warn = TRUE) :”

[4] " incomplete final line found on ‘C:\Users\Muhammad\Desktop\BGMM
in stan\stan_GEE1_ind.stan’"
[1] “error occurred during calling the sampler; sampling not done”


#62

You need to either write your model so values between -2 and 2 produce a reasonable log density calculation or provide specific initial values.


#63

the model is specify in following coding

stan_GEE1_ind.stan (2.38 KB)


#64

Hello sir how are you?
I have estimate the pseudo-likelihood values in Python language now I want
to know that how I use these values to estimate the Bayesian Generalized
Method of Moment. The pseudo-likelihood is the alternative of likelihood
when the is difficult to derive because of over identification in model.
Please guide me that how I use it and estimate the Bayesian GMM.