Dear all,

I have the 2 sets of data of Family Well-being Survey.

The first data is survey data in year 2011, while the second is survey data in year 2016. The list of variables involved in this study are :

Dependent variable : Satisfaction level of family well-being

Independent variable : Strata, Ethnic, Family Type, Education level, Family Relationship, Family Economy, Family Health, Family Safety, Family and Community, Family and Religiosity, Family and Housing and Environment.

I have applied classical ordinal regression for may data. Now, I would like to apply Bayesian ordinal regression to do a comparison between the two approaches.

I want to apply Bayesian ordinal regression (empirical Bayes ordinal regression ) using the two data set in the same time, where want to used the first data as prior (empirical Bayes) and second data to estimate the posterior.

I have applied rstanarm package for my data but i got results with an error.

So, could any one assists me how can we define the first data as prior and how can I use it to estimate the posterior. since in rstanarm package is not clear or maybe i could not understand very well?

I would be grateful if any one could reply me to share with him the data and see the reason of error.

Your cooperation is highly appreciated