<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://nd.psychstat.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://nd.psychstat.org/feed.php">
        <title>@ND - lab:projects:03growth_curve_modeling_with_mnar_data</title>
        <description></description>
        <link>https://nd.psychstat.org/</link>
        <image rdf:resource="https://nd.psychstat.org/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-04-21T18:33:00+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://nd.psychstat.org/lab/projects/03growth_curve_modeling_with_mnar_data/a_simulated_example_single_replication"/>
                <rdf:li rdf:resource="https://nd.psychstat.org/lab/projects/03growth_curve_modeling_with_mnar_data/index"/>
                <rdf:li rdf:resource="https://nd.psychstat.org/lab/projects/03growth_curve_modeling_with_mnar_data/mnar_data_generation"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://nd.psychstat.org/_media/wiki/dokuwiki.svg">
        <title>@ND</title>
        <link>https://nd.psychstat.org/</link>
        <url>https://nd.psychstat.org/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://nd.psychstat.org/lab/projects/03growth_curve_modeling_with_mnar_data/a_simulated_example_single_replication">
        <dc:format>text/html</dc:format>
        <dc:date>2016-01-24T14:48:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>a_simulated_example_single_replication</title>
        <link>https://nd.psychstat.org/lab/projects/03growth_curve_modeling_with_mnar_data/a_simulated_example_single_replication</link>
        <description>Model{
  # Model specification for linear growth curve model
  for (i in 1:N){
    LS[i,1:2]~dmnorm(muLS[i,1:2], Inv_cov[1:2,1:2])
    muLS[i,1]&lt;-bL[1]
    muLS[i,2]&lt;-bS[1]
    for (t in 1:5){
      y[i, t] ~ dnorm(muY[i,t], Inv_Sig_e2)
      muY[i,t]&lt;-LS[i,1]+LS[i,2]*t

      ## missing data mechanism
      m[i,t]~dbern(p[i,t])
      p[i,t]&lt;-phi(gam[t,1]+gam[t,2]*LS[i,1]+gam[t,3]*LS[i,2])
    }
  }

  #Priors for model parameter
  for (i in 1:1){
    bL[i] ~ dnorm(0, 1.0E-6)
    bS[i] ~ dnorm(0…</description>
    </item>
    <item rdf:about="https://nd.psychstat.org/lab/projects/03growth_curve_modeling_with_mnar_data/index">
        <dc:format>text/html</dc:format>
        <dc:date>2016-01-24T14:48:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>index</title>
        <link>https://nd.psychstat.org/lab/projects/03growth_curve_modeling_with_mnar_data/index</link>
        <description>Growth curve modeling with MNAR data

Manuscripts

	*  Version 1. 

References

	*  [MNAR data for a regression model]

Results

Scripts/codes

	*  MNAR data generation
	*  A simulated example (single replication)
	*  Using Mplus [Input file] [Data]

An working example


#WinBUGS codes generated by BAUW: http://bauw.psychstat.org
#USE WITH CAUTION!

Model{
  # Model specification for linear growth curve model
  for (i in 1:N){
    LS[i,1:2]~dmnorm(muLS[i,1:2], Inv_cov[1:2,1:2])
    muLS[i,1]&lt;-bL…</description>
    </item>
    <item rdf:about="https://nd.psychstat.org/lab/projects/03growth_curve_modeling_with_mnar_data/mnar_data_generation">
        <dc:format>text/html</dc:format>
        <dc:date>2016-01-24T14:48:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mnar_data_generation</title>
        <link>https://nd.psychstat.org/lab/projects/03growth_curve_modeling_with_mnar_data/mnar_data_generation</link>
        <description>library(mvtnorm)
source(&#039;/Users/zzhang4/zzy/Classes/Applied\ Bayesian\ Methods/Spring2010/rtobugs.r&#039;)
grm.linear&lt;-function(N, T, R){	
## Constants and parameters
mL&lt;-60
vL&lt;-200
mS&lt;-3
vS&lt;-3
vLS&lt;-0
vE&lt;-100

mu&lt;-c(mL,mS)
sigma&lt;-array(c(vL,vLS,vLS,vS), dim=c(2,2))

y&lt;-array(NA, dim=c(N, T))
LS&lt;-array(NA, dim=c(N, 2))
p&lt;-array(NA, dim=c(N, T))

for (i in 1:N){
  LS[i,]&lt;-rmvnorm(1, mu, sigma)
  for (j in 1:T){
    y[i, j] &lt;- LS[i,1] + LS[i,2]*(j-1) + rnorm(1, 0, sqrt(vE))
    p[i, j] &lt;- pnorm(-2 + LS[…</description>
    </item>
</rdf:RDF>
