Displaying 1 result from an estimated 1 matches for "postimfdata".
2012 Jun 15
0
MCMCfactanal inquiries
...SE)
## calling libraries
library(MCMCpack)
library(foreign)
## opening a data set on the desktop
setwd("C:/Users/haillie/Desktop")
imfdata<- read.csv("imfdata.csv")
##calling libraries
library(reshape)
library(car)
## factanal Code ( 1 dimension with continuous variable)
postimfdata<-MCMCfactanal(~shstaff+shquota+frusanew+trshusnew+frdfgnew+trsheunew+usbanksh+eubanksh,
factors=1, data=imfdata, burnin=20000, mcmc=200000, thin=100, verbose=1000,
seed = NA, lambda.start = NA, psi.start = NA, l0 = 0, L0 = 0, a0 = 0.001,
b0 = 0.001, store.lambda = FALSE, store.scores = TRUE, std...