Show differing choices of prior distributions for varying parameters
Example Data: Conspiracy Theories
Today’s example is from a bootstrap resample of 177 undergraduate students at a large state university in the Midwest. The survey was a measure of 10 questions about their beliefs in various conspiracy theories that were being passed around the internet in the early 2010s. Additionally, gender was included in the survey. All items responses were on a 5- point Likert scale with:
Strongly Disagree
Disagree
Neither Agree or Disagree
Agree
Strongly Agree
Please note, the purpose of this survey was to study individual beliefs regarding conspiracies. The questions can provoke some strong emotions given the world we live in currently. All questions were approved by university IRB prior to their use.
Our purpose in using this instrument is to provide a context that we all may find relevant as many of these conspiracy theories are still prevalent today.
Conspiracy Theory Questions 1-5
Questions:
The U.S. invasion of Iraq was not part of a campaign to fight terrorism, but was driven by oil companies and Jews in the U.S. and Israel.
Certain U.S. government officials planned the attacks of September 11, 2001 because they wanted the United States to go to war in the Middle East.
President Barack Obama was not really born in the United States and does not have an authentic Hawaiian birth certificate.
The current financial crisis was secretly orchestrated by a small group of Wall Street bankers to extend the power of the Federal Reserve and further their control of the world’s economy.
Vapor trails left by aircraft are actually chemical agents deliberately sprayed in a clandestine program directed by government officials.
Conspiracy Theory Questions 6-10
Questions:
Billionaire George Soros is behind a hidden plot to destabilize the American government, take control of the media, and put the world under his control.
The U.S. government is mandating the switch to compact fluorescent light bulbs because such lights make people more obedient and easier to control.
Government officials are covertly Building a 12-lane "NAFTA superhighway" that runs from Mexico to Canada through America’s heartland.
Government officials purposely developed and spread drugs like crack-cocaine and diseases like AIDS in order to destroy the African American community.
God sent Hurricane Katrina to punish America for its sins.
Model Setup Today
Today, we will revert back to the CFA model assumptions to discuss the impact of different priors
I chose CFA as it is very clear from non-Bayesian analyses what minimal identification constraints are needed
Additionally, we will use a single latent variable/factor for this lecture
\(\psi_i \sim \text{exponential}(\text{rate}_\psi)\); previously we specified \(\psi_i \sim \text{exponential}(.1)\)
Note: we aren’t including \(\theta\) just yet…
Scale identification discussion is needed
Empirical Priors in Psychometric Models
For psychometric models, the choice of empirical priors can have several pitfalls:
Not all model parameters can use empirical priors (see the last example and the next lecture on identification)
The use of such priors can make some parameter estimates move toward values that would indicate more information for \(\theta\) than what is present in the data
Empirical priors may be inappropriate when some observed variables have widely different scales (or use different distributions)
Overall, I do not recommend the use of empirical priors in psychometric analyses
I show them to sync class with other Bayesian texts
meanLambda is the estimated hyperparameter for the mean of the factor loadings with prior distribution \(N\left(\text{meanLambdaMean}, \text{meanLambdaSD} \right)\)
`sdLambda is the estimated hyper parameter for the standard deviation of the factor loadings with prior distribution \(\text{exponential}(\text{sdLambdaRate})\)
Additional Model Block Notes
\(\mu_i \sim N(\text{meanMu}, \text{sdMu})\)
meanMu is the estimated hyperparameter for the mean of the factor loadings with prior distribution \(N\left(\text{meanMuMean}, \text{meanMuSD} \right)\)
`sdMu is the estimated hyper parameter for the standard deviation of the factor loadings with prior distribution \(\text{exponential}(\text{sdMuRate})\)
psiRate is the estimated rate parameter for the unique standard deviations with prior distribution \(\text{exponential}(\text{ratePsiRate})\)
Stan Parameters Block
parameters { vector[nObs] theta; vector[nItems] mu; vector[nItems] lambda; vector<lower=0>[nItems] psi; real meanLambda; real<lower=0> sdLambda; real meanMu; real<lower=0> sdMu; real<lower=0> psiRate;}
Notes:
The rate parameters are constrained to be positive (as needed for the PDF of the exponential distribution)
Stan Data Block
data { int<lower=0> nObs; // number of observations int<lower=0> nItems; // number of items matrix[nObs, nItems] Y; // item responses in a matrix real meanLambdaMean; real<lower=0> meanLambdaSD; real<lower=0> sdLambdaRate; real meanMuMean; real<lower=0> meanMuSD; real<lower=0> sdMuRate; real<lower=0> ratePsiRate;}
Notes:
We can import values for the hyperparameters for the prior distributions of each
We are setting the hyperparameters for the loading mean and intercept mean to \(N(0,1)\)
The hyperparameters for each rate are set to .1
Connection of Empirical Priors to Multilevel Models
The empirical priors on the parameters are similar to specifying multilevel models for each
\(\lambda_i \sim N(\mu_\lambda, \sigma_\lambda)\) can be reparameterized as \(\lambda^{*}_{i} = \mu_\lambda + e_{\lambda_i}\) with \(e_{\lambda_i} \sim N(0, \sigma_\lambda)\)
\(\mu_i \sim N(\mu_\mu, \sigma_\mu)\) can be reparameterized as \(\mu^{*}_{i} = \mu_\mu + e_{\mu_i}\) with \(e_{\mu_i} \sim N(0, \sigma_\mu)\)
The rate is a bit trickier, but also can be reparameterized similarly
Moreover, these reparameterizations can lead to predicting what each parameter should be based on item-specific predictors
Comparisons with Non-Empirical Priors: \(\lambda\)
Comparisons with Non-Empirical Priors: \(\lambda\)
Comparisons with Non-Empirical Priors: \(\lambda\)
Comparisons with Non-Empirical Priors: \(\lambda\)
Comparisons with Non-Empirical Priors: \(\mu\)
Comparisons with Non-Empirical Priors: \(\mu\)
Comparisons with Non-Empirical Priors: \(\mu\)
Comparisons with Non-Empirical Priors: \(\mu\)
Comparisons with Non-Empirical Priors: \(\psi\)
Comparisons with Non-Empirical Priors: \(\psi\)
Comparisons with Non-Empirical Priors: \(\psi\)
Comparisons with Non-Empirical Priors: \(\psi\)
Comparisons with Non-Empirical Priors: \(\theta\)
Comparisons with Non-Empirical Priors: \(\theta\)
Comparisons with Non-Empirical Priors: \(\theta\)
Comparisons with Non-Empirical Priors: \(\theta\)
Empirical Priors for \(\theta\) (?)
Empirical Priors for \(\theta\)
If empirical priors can work for the item parameters, can we use empirical priors to estimate the mean/standard deviation of the latent variable \(\theta\)?
In short: No!
The reason: Empirical priors for \(\theta\) change the mean/standard deviation of the latent variable
These quantities have to be set for identification
We’ve set them to mean = 0 and standard deviation =1 (standardized factor) throughout this class
We would have to fix other parameters to estimate these values (see next lecture)