PGM.zip
Caterina Liberati, Riccarda Longaretti, Alessandra Michelangeli, "Measuring tolerant behavior", Journal of Economics and Statistics, forthcoming
Description of the shared files:
Case study Data: The data matrix analyzed in the Case study section is not available due to non disclosure agreement among University of Milano-Bicocca and the other Italian Universities that signed the interdisciplinary research project carried out within the Framework Convention (FC) Gender and Religions. For further details, see Decataldo et al. (2019).
Toy example Data: The data matrix analyzed in the Toy Example Data is obtained by running Matlab code ToyExample.m
PGM.zip Folder: The folder contains Matlab codes to compute the T index in case of toy example.
Matlab codes: The folder PGM should constitute a subdirectory of your working directory in which, the Matlab codes listed below, are stored.
The folder contains 5 files but the file ToyExample.m is the script that has to run in the command window. The others are functions called in the routines.
Files in PGM folder:
ToyExample.m: The script generates the X matrix of the toy example and computes the T index.
HeterogeneityIndex2.m: the function computes the Leti’s Heterogeneity Index in the script
macroF.m: The function computes the factor Fk of the Tolerance index in both cases when Xk has an odd number of columns or when Xk has an even number of columns.
cronbach.m: This function calculates the Cronbach’s alpha by a table (Leontitsis, A., 2020)
isnt.m: This function checks whether input is integer or not
References: -Decataldo A, Liberati C, Michelangeli A, Tognetti M (2019) Millenials and religion: Divergence or continuity compared to the generation of their parents? Religioni e Societ´a 1:2-19 -Alexandros Leontitsis (2020). Cronbach’s Alpha (https://www.mathworks.com/matlabcentral/fileexchange/7829-cronbach-salpha), MATLAB Central File Exchange. Retrieved May 5, 2020.
There are no views created for this resource yet.
Metadata
Field | Value |
---|---|
Format | .zip |
License | CC-BY 4.0 |
Type | data |
Version | 1 |
Authors | Liberati, Caterina and Longaretti, Riccarda Arianna and Michelangeli, Alessandra |
DOI | |
Publication Date | 2020 |
Availability | Download |
Geographic Area (controlled) | Italy |
Geographic Area (free) | Milan |
Temporal Coverage (controlled) | 2017-01-01 to 2017-12-31 |
Temporal Coverage (free) | single year |
Unit Type | Individual |
Number of Units | 3386 |
Sampled Universe | University students |
Number of Variables | 18 |
URL | https://journaldata.zbw.eu/dataset/4fae6190-e9d2-43a3-9367-1ef5989d4d8b/resource/04952bd4-41a4-4651-a5b1-c9793204c900/download/pgm.zip |
Last updated | May 5, 2020 |
Created | May 5, 2020 |