• Non ci sono risultati.

Email:[email protected] http://www.statistica.unimib.it/utenti/pennoni/ FulviaPennoniDepartmentofStatisticsandQuantitativeMethodsUniversityofMilano-Bicocca Optimalmodel-basedclusteringwithmultileveldata

N/A
N/A
Protected

Academic year: 2021

Condividi "Email:[email protected] http://www.statistica.unimib.it/utenti/pennoni/ FulviaPennoniDepartmentofStatisticsandQuantitativeMethodsUniversityofMilano-Bicocca Optimalmodel-basedclusteringwithmultileveldata"

Copied!
24
0
0

Testo completo

(1)

Optimal model-based clustering with

multilevel data

Fulvia Pennoni

Department of Statistics and Quantitative Methods University of Milano-Bicocca

http://www.statistica.unimib.it/utenti/pennoni/ Email: [email protected]

joint work withS. Bacci and F. Bartolucci

(2)

Outline

I Introduction

I Multilevel Latent Class(MLC) model with covariates

I Proposed predictive clusteringmethod and cluster allocation

I Simulation results to evaluate theprediction accuracy

I Applicationto the Italian data from the TIMSS & PIRLS 2011 international survey

I References

(3)

Introduction

I We deal with observed binary or polytomousitem responsesrelated to individuals when they are nested in groups

I We consider afinite-mixture latent variablemodel to account for a flexible way to find homogeneous latent classes of individuals and groups

I We address the problem ofpredictingthe allocations of the latent variables at cluster and individual level on the basis of the observed data

I Among the proposed approaches the Maximum A-Posteriori(MAP) probability is commonly employed

I We propose analternative rule for the posterior classification which allocatesjointlyindividuals and groups

(4)

General MLC model formulation and assumption

I Yh= (Yh1, . . . , Yhnh)

0 vector of dichotomous or ordinal polytomous

responsesrelated to individual i , i = 1, . . . , nh, and group j , j = 1, . . . , r for h = 1, . . . , H groups (or clusters)

I We consider a discrete latentvariable Zhi to represent the

bidimensional latent variables which identifyhomogenousclustersUh

and classesVhi

I We define two probabilities associated to Zhi: the probability of each possiblediscretestate z = 1, . . . , kZ as

qh,z = p(Zh1= z) = λh,u(z)λh1,v(z)|u(z) and the probabilities ofchangesacross states as

qhi ,z|¯z = p(Zhi = z|Zhi −1= ¯z) = λhi ,v(z)|u(z), ifu(z) =u(¯z) where λ denotes theconditional probabilityof belonging to the latent classes according to the cluster

(5)

General MLC model formulation and assumption

I We assume that λhi ,v and λhi ,v|u= p(Vhi =v|Uh=u) areconstant

for all groups and individuals

I We also considercovariates collected atgroup Whlevel as λh,u= p(Uh=u|Wh= wh) and atindividuallevel Xhi as λhi ,v|u= p(Vhi =v|Uh=u, Xhi = xhi)

I We employ a multinomial logitparameterization:

logλhi ,v|u λhi ,1|u = x0hiψ(vV), v = 2, . . . , kV, logλh,u λh,1 = w 0 hψ (U) u , u= 2, . . . , kU,

ψ(vV) and ψ(uU) are vectors ofregression coefficientson the logit of

individual and group covariates (v = 1 andu= 1 are arbitrarily chosen as reference categories)

(6)

Prediction methods: MAP

I The model is estimated by maximizing the complete log-likelihood function by theExpectation-Maximizationalgorithm

I The estimated posterior probabilities of belonging to a certain latent class for each individual and to certain latent cluster for each group are provided by suitableforward recursions

I MAP consists in selecting theclasses having the highest posterior probability, which corresponds to theconditional distributionof this variable given the observed data and it has to be done for each latent variable (at each level)

(7)

Prediction methods: MAP

I MAP is applied by either considering the marginal(denoted by suffix

(1)in the following) or theconditionalprobabilities (denoted as(2))

I In (1) the maximization is performedseparatelyfor the posterior probabilities related to the latent variables at cluster and individual level

I In (2) instead we firstpredict the latent variable for each cluster and

secondwe predict each individual-specific latent variable conditional on the value predicted for the corresponding cluster-level latent variable

(8)

Prediction method: Viterbi

I We propose tojointlyconsider the allocation of individuals and groups by adapting a suitable version of the Viterbi algorithm (Viterbi, 1967, Juan and Rabiner, 1991)

I To decode the optimal sequenceof clusters and classes at the same time the algorithm involves the following quantities:

• φiy|z= p(Yhi= yhi|Uh=u,Vhi =v): theconditional probabilityof

the response vector of individual i given the latent variables • pˆ1(z, yh): the estimated values of theconditional posterior

probabilities of belonging to a certain latent class and to the group h given the observed values

• pˆi(z, yh): the estimatedconditional posteriorprobabilities as above for each individual i = 2, . . . , nh

(9)

The proposed clustering algorithm

I The required steps are the following:

I Computethe joint posterior probabilities for 1

ˆ

p1(z,yh) = ˆφ1y|zqˆh(z); for z = 1, . . . , kZ and for every group h = 1, . . . , H II Computethe joint posterior probabilities for each i

ˆ pi(z, yh) = ˆφiy|z max ¯ z=1,...,kZ [ ˆpi −1(¯z, yh) ˆqhi(z|¯z)] for i = 2, . . . , nhand z = 1, . . . , kZ

III Findthe optimal state ˆ

z∗nh(yh) = argmax(z=1,...,kz)pˆnh(z, yh) for z = 1, . . . , kZ and i = nh

IV Predictjointly clusters and classes allocation by considering ˆ

z∗i(yh) = argmax(z=1,...,kz)[ ˆqi(z, yh) ˆqhi +1(ˆz ∗

hi +1, yh|z)], for z = 1, . . . , kZ and i = nh− 1, . . . , 1

(10)

Entropy for LMC

I Theentropyhelps to assess the separability between the latent components (Lukočien˙e and Vermunt, 2009)

I The following three entropy measures account for the degree of separation between clusters and classes

• For theclusters ENU= − H X h=1 kU X u=1 ˆ

puh(u|y ) log ˆpuh(u|y )/H

• For theclassesof individuals when the marginal(1)or the conditional(2)approach is used

ENV1= − n X i =1 kV X v =1 ˆ pih(v |y ) log ˆpih(v |y )/nh ENV2= − nh X i =1 kV X v =1 ˆ

pih(v |u, y ) log ˆpih(v |u, y )/nh.

(11)

Simulation design

1

I In order to establish a comparison between the proposed algorithm and the current one we planned two differentsimulation designs

I Thefirstaims at evaluating theprediction accuracywhen the groups don’t exist in the model generating the data and thesecondwhen the data are generated by a precise hierarchal structure with discrete latent variables for groups and individuals

I Thefirstsimulation evaluates the accuracy of MAP and Viterbi when the model ismisspecified

I The simulation designis the following:

• U ∼ N(0, 1)(clusters) andV ∼ N(µu, 1)(classes)

• H = (50,100) with nh= (10, 25, 50) • Yhijbinary variable with r = (8,10) items

(12)

Simulation design

1

(cont.)

I In thefirstsimulation design we consider the following 72 situations with kV and kU ranging from 3 to 5

(13)

Simulation design

1

(cont.)

I For each scenario by considering the estimated entropy, we compare therates of different allocation(DISagreement) within the MAP and the Viterbi for: groups and individuals when the marginal (DISU)

and conditional MAP (DISV1 and DISV2) are evaluated I We find that:

• DISU(latent clusters) rate shows a median of 0.245

• DISV1 (latent classes, marginal) rate shows a median of 0.130

• DISV2 (latent classes, conditional) rate shows a median of 0.055

(14)

Simulation design

2

I Thesecondsimulation study is carried out to evaluate the prediction accuracy according to the correct allocation rates

I The simulation designis as follows:

• UandV arediscretelatent variables withkU= 3(clusters) and

kV = 3(classes)

• Sampling weightsofUcorrespond to the weights of a the Gaussian quadrature nodes and those ofV are related to the components ofU

through an inverse logit transformation

• To createmore/less distinctiveclusters and classes, as proposed in Yu and Park (2014) we consider the Gaussian quadrature nodes with zero mean and with the following choices forσU andσV:

low σU= 0.2 σV = 0.2

intermediate σU= 1.0 σV = 1.0

high σU= 2.0 σV = 2.0

mixed 1 σU= 0.2 σV = 1.0

mixed 2 σU= 1.0 σV = 0.2

(15)

Simulation design

2

(cont.)

I The second simulation designis made of r = 8 binary items so that we evaluate the proposal with 20 scenarios and 50 different datasets

I Where thenumber of groups is H = 50,100 andnumber of individualsin each group is nh= 10, 50

(16)

Simulation design

2

(cont.) results

I The values of the index of DISagreement arelowerthan those

obtained within the first simulation study conducted with the misspecified model

I Related to the group allocations the medianrate of disagreement

DISU is equal to 0.089

I Related to the cluster allocationsDISV1 has a median value of 0.076

andDISV2 of 0.010

I Theworst casesare related to scenarios (5,7,13,15) - see bold values in the table, whereDISU may reach 0.58 andDISV1 andDISV2 may

reach 0.40

I Thehigher rateis reached when there are many individuals in each group and the latent groups are less distinctive

(17)

Application to TIMM&PIRLS Italian data

• We use the large-scale surveysTIMMS (Trends in International Mathematics and Science Study) and PIRLS (Progress in International Reading Literacy Study) conducted in 2011

• We consider theachievement scoresat the fourth grade when the Italian pupils are 9 to 10 years old

• We consider 5 ordinal itemsaccording to the 5 plausible values for each subject

• The ordered categories are: 0: student performedbelowthe low international benchmark (IB),1: student performedat or abovethe

lowIB, but below the intermediate IB,2: student performedat or above theintermediate IB, but below the high IB, 3: student performedat or abovethe intermediate IB, but below thehigh

international benchmark, 4: student performedat or abovethe

advancedIB

(18)

Application to TIMM&PIRLS Italian data

• Thecovariates are collected fromthe background parents’

questionnaires, the principals’ questionnaire of the schools and from external data archives

• The covariates (Grilli et al., 2016)are:

- gender

- homeresourcesfor learning (scores)

- earlyliteracy/numeracytasks

- Italianlanguagespoken at home (1 if yes)

- schooladequateenvironment and resources

- school issafeand orderly

- socio-economicconditionof the area where the school is located (gross value added at province level, from an external data archive)

- dummy variables for five Italiangeographicalareas (North-West, North-East, Centre, South, South-Islands)

(19)

Application (cont.) results

• We evaluate the model and the proposed prediction algorithm for

four different data structures and models: i)unidimensional responses (Maths) without covariates;ii)as i) with covariates;iii)

multidimensional ordinal responses (Maths, Reading and Science) without covariates;iv) as iii) with covariates

• We estimated each model and we applied our proposal to classify students and schools forincreasing valuesofkU and ofkV ranging from 4 to 6 and from 3 to 6, respectively

• We evaluate the corresponding allocation of students (latent clusters) to the estimated latent classes (of schools) according with the estimatedentropy values

• We report the absolute frequenciesand therelative ratesof schools and students differently classified between the MAP and the proposed approach (compared to the marginal (1) and conditional (2) MAP)

(20)

Application (cont.) results

• The entropy measures suggest that some latent classes and, less, latent clusters arevery well separated

• For the univariate response the disagreement rate related to the

school’s allocations, between MAP and Viterbi lies in the interval from 0.005 to 0.050

• This corresponds to a number of schoolsthat are differently classified from 2 to 14 with an average equal to 5 (2.5%)

• The above ratesare lower when multivariate responses are

considered and a multidimensional model is estimated: the number of schools that are differently classified ranges from 2 to 8

• The above ratesare not particularly influenced by the presence/absence of covariates

(21)

Application (cont.) results

1

(cont.)

I We report the results for the highest and lowest value ofkU andkV for each case i), ii), iii) and iv)

I #U, #V1, #V2 are the number of schools and students which are differently classified with (1) and (2) respectively

(22)

Application (cont.) results

• For the student’s allocations the marginal MAP (1) performs

strongly worsethan conditional the MAP (2), when compared with

the new proposal

• The disagreement rates under the marginal MAP (1) range from a minimum of 35 students to a maximum of 149 students when a

univariate responseis considered

• The above values are lower for themultidimensional responses: the number of students that are allocated differently ranges from 10 to 77 when compared with the marginal MAP (1)

• Under the conditional MAP (2) the differences are substantially

reduced, ranging from 0 to 11 students for the univariate model and from 0 to 3 students for the multidimensional model

(23)

Main References

I Bacci, S. and Gnaldi, M. (2015). A classification of university courses based on students satisfaction: an application of a two-level mixture item response model. Advances in Data Analysis and Classification,49, 927–940.

I Bartolucci, F. and Farcomeni, A. and Pennoni, F. (2013). Latent Markov Models for Longitudinal Data, Chapman and Hall/CRC press, Boca Raton.

I Bartolucci, F., Pennoni, F., and Vittadini, G. (2011). Assessment of school performance through a multilevel latent Markov Rasch model. Journal of Educational and Behavioral Statistics,36 491–522.

I Bray, B. C., Lanza, S. T., and Tan, X. (2015). Eliminating bias in classify-analyze approaches for latent class analysis. Structural equation modeling: a multidisciplinary journal,22, 1–11.

I Celeux, G. and Soromenho, G. (1996). An entropy criterion for assessing the number of clusters in a mixture model. Journal of Classification,13, 195–212.

I Dias, J. G. and Vermunt, J. K. (2008). A bootstrap-based aggregate classifier for model-based clustering. Computational Statistics,23, 643–659.

I Foy, P., Arora, A., and Stanco, G. M. (2013). TIMSS 2011 User Guide for the International Database. ERIC.

I Goodman, L. A. (2007). On the assignment of individuals to latent classes. Sociological Methodology,37,1–22.

(24)

Main References

I Gnaldi, M., Bacci, S., and Bartolucci, F. (2016). A multilevel finite mixture item response model to cluster examinees and schools. Advances in Data Analysis and Classification,10, 53–70.

I Grilli, L., Pennoni, F., Rampichini, C., and Romeo, I. (2016). Exploiting TIMMS&PIRLS combined data: multivariate multilevel modelling of student achievement. The Annals of Applied Statistics,10, 2405–2426.

I Juang, B. and Rabiner, L. (1991). Hidden Markov models for speach recognition Technometrics,33, 251–272.

I Lukočien˙e, O. and Vermunt, J. K. (2009) Determining the number of components in mixture models for hierarchical data. In: Fink, A., Lausen, B., Seidel, W. and Ultsch, A. (eds.), Advances in data analysis, data handling and business intelligence, 241-249. Springer: Berlin-Heidelberg.

I Pennoni, F. (2014). Issues on the Estimation of Latent Variable and Latent Class Models. Scholars’ Press, Saarbücken.

I Viterbi, A. (1967). Error bounds for convolutional codes and an asymptotically optimum de- coding algorithm. IEEE Transactions on Information Theory,13, 260–269.

I Yu, H.-T. and Park, J. (2014). Simultaneous decision on the number of latent clusters and classes for multilevel latent class models. Multivariate Behavioral Research,49, 232–244.

I Welch, L. R. (2003). Hidden Markov Models and the Baum-Welch Algorithm, IEEE Information Theory Society Newsletter,53, 1-13.

Riferimenti

Documenti correlati

A questo proposito occorre sottolineare che è stato possibile applicare uno schema di classificazione a faccette al blog Biblioatipici, proprio perché quando si è cominciato ad

- Catholic individuals show a higher probability to proceed with school and further education after the end of the compulsory school compared to non catholic individuals. - They

Per GSK3 sono stati ipotizzati due tipi di meccanismi di fosforilazione: uno che richiede una fosforilazione precedente del substrato da parte di un’altra chinasi e che sembra

 The crucial role of the protein environment in tuning the CO2-binding to the C-cluster is highlighted by the comparison of results obtained using the different

New paradigms arise: society is becoming a laboratory for collective experimentation in promoting innovation and for public engagement in science, thanks to the circulation of an

On the contrary, if we consider large portfolios, the mean-EVaR portfolio opti- mization seems to be preferable to the mean-CVaR portfolio optimization and the Markowitz

This altitudinal transect has been designed (i) to provide a robust modern reference for reliable palaeoenvironmental and quantitative interpretations of past

The universities play a key role in attaining the sustainable development goals set out in the 2030 UN Agenda, firstly because it is the universities, above all, whose task it is