DIR Return Create A Forum - Home
---------------------------------------------------------
QA_Board
HTML https://qaboard.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Questions for R / RStudio (Fall 2023)
*****************************************************
#Post#: 149--------------------------------------------------
Question for Gibbi sampler problem
By: YuyangWu Date: December 11, 2023, 5:02 pm
---------------------------------------------------------
When I review the final exam. I still feel confusing that why we
set the X[1] <- rnorm(1,10,1) but in the practice exam, we set
the X[1] <- rnorm(1)
#Post#: 151--------------------------------------------------
Re: Question for Gibbi sampler problem
By: curiosity Date: December 12, 2023, 6:59 pm
---------------------------------------------------------
I think X1 and Y1 are the initial variables. In the lab, it was
my understanding that we were sampling from a Normal
Distribution with a mean of 10 and a standard deviation of 1 for
the initial variables. However, in the practice exam, initial
states were not specified. Consequently, we generated a single
random variable from a normal distribution without explicitly
stating the mean and sd.
*****************************************************