Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducing OCTO #174

Open
andkov opened this issue Mar 17, 2017 · 3 comments
Open

Reproducing OCTO #174

andkov opened this issue Mar 17, 2017 · 3 comments

Comments

@andkov
Copy link
Member

andkov commented Mar 17, 2017

@annierobi , @ampiccinin

replicating OCTO models with an older data file

@andkov
Copy link
Member Author

andkov commented Mar 24, 2017

After verifying the encoding of two dementia varialbes dementia_entry (positive diagnosis of dementia prior to entry into the study) and dementia_ever (dementia diagnosis at some point in life, but after the entry into the study), the OCTO sample produced the following tally:

from script in .\manipulation\estimation\octo\annirobie\0-prepare-data.R

> ds_wide %>%
+   dplyr::group_by(dementia_entry, dementia_ever) %>%
+   dplyr::count()
Source: local data frame [4 x 3]
Groups: dementia_entry [?]

  dementia_entry dementia_ever     n
           <dbl>         <dbl> <int>
1              0             0   477
2              0             1   126
3              1             1    98
4             NA             1     1

From the total sample, 477 individuals will not be diangosed with dementia at any point in their life. 126 respondents are diagnosed with dementia at some point, but only AFTER they have been enrolled in the study and gave the first wave of measurements. 98 individuals have entered the study already having a diagnosed dementia condition.

@andkov
Copy link
Member Author

andkov commented Mar 24, 2017

Plan for group comparison
Run 1 = 477
Run 2 = 477 + 126

andkov added a commit that referenced this issue Mar 24, 2017
saved the MPlus ready file
andkov added a commit that referenced this issue Apr 23, 2017
andkov added a commit that referenced this issue Apr 23, 2017
@annierobi now has the capacity to prepare the data, run model, and
extract estimated parameters for Portland-like models of OCTO-Twin study
@andkov
Copy link
Member Author

andkov commented May 1, 2017

@ampiccinin @annierobi , I have successfully adjusted the automation script to OCTO and have produced the output for three conditions of interests: dem_ever_0 (477 individuals), dem_entry_0 (477+126 =603 individuals) and all (477+126+98 = 701 individuals).

I have been working on processing these results so that I could provide you with three seed reports that print the results in the familiar format. I am getting very close, but i'm not there yet. For now, however, I have zipped the output files and will send them to you so you can inspect individual outputs if you'd like.

The report comparing these groups should follow shortly, maybe today, likely tomorrow.

andkov added a commit that referenced this issue May 2, 2017
@ampiccinin , @annierobi , the seed reports examining the effect of
selection criteria on model results are ready for your inspection.
Please word files in
https://github.com/IALSA/IALSA-2015-Portland/tree/master/reports/dementia-filter.
I will also send an archive with all files.  please let me know if you
have any questions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant