Dear R members

Could someone indicate me how to simulate Likert-type data using the GAMLSS
library and how to fit that data?

LetÂ’s say, 50 random numbers in a variable that goes from -4 to +4 in steps of
1 (i.e., -4, -3, -2, -1, 0, 1, 2, 3, 4) with a mean of 2 and SD of 0.15 and
belonging to a normal distribution?

Cheers

Fer

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to