| SimulFRSTra {FuzzyStatTra} | R Documentation |
Simulation of trapezoidal fuzzy rating responses to a questionnaire
Description
This function generates n trapezoidal responses based on the fuzzy rating scale. They are simulated mimicking the human behavior, considering for it a finite mixture of three different procedures (for a detailed explanation of the simulation see the paper [1] below), and generated in the interval [1,k], being k the number of Likert responses of the supposed questionnaire.
Usage
SimulFRSTra(n, k, w1, w2, w3, p, q)
Arguments
n |
positive integer. It is the number of trapezoidal fuzzy numbers to be generated. |
k |
positive integer and >1. It's the number of Likert responses of the supposed questionnaire. The trapezoidal fuzzy responses will be generated in the interval [1,k]. |
w1 |
number in [0,1]. It should be fulfilled that |
w2 |
number in [0,1]. It should be fulfilled that |
w3 |
number in [0,1]. It should be fulfilled that |
p |
number >0. It is the first parameter of the beta distribution. |
q |
number >0. It is the second parameter of the beta distribution. |
Details
See examples
Value
This function returns n trapezoidal fuzzy rating responses contained in a matrix of dimension n x 4, with values in the interval [1,k]. Each trapezoidal fuzzy rating response is characterized by its four values inf0,inf1,sup1,sup0.
Note
In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.
Author(s)
Asun Lubiano <lubiano@uniovi.es>, Sara de la Rosa de Saa <rosasara@uniovi.es>
References
[1] De la Rosa de Saa, S.; Gil, M.A.; Gonzalez-Rodriguez, G.; Lopez, M.T.; Lubiano M.A.: Fuzzy rating scale-based questionnaires and their statistical analysis, IEEE Trans. Fuzzy Syst. 23(1), pp. 111-126 (2015)
See Also
SimulCASE1, SimulCASE2, SimulCASE3, SimulCASE4
Examples
# Example 1:
SimulFRSTra(100,6,0.05,0.35,0.6,2,1)