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

[model choice] add a column identifying simulation scenario in modelchoice_out.lda #81

Closed
gdurif opened this issue Feb 9, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request model-choice related to the model choice methodology standalone Pure binary standalone

Comments

@gdurif
Copy link

gdurif commented Feb 9, 2021

In the file modelchoice_out.lda, could that be possible to identify the scenario under which the data was simulated (with a tag 0 for the observed data) ?

The interest would be to identify (=color) the data by scenario when rendering the LDA graphical output.

# First lines (1) are observed data
    -6.79532      1.20047      8.58463      2.05983      14.0424
    -7.17716     -1.07297      8.86666      2.23932      12.3663
    -7.65102      0.13306      7.37678      2.91073      13.4171
    -7.06504       1.0655      7.49974      2.39359      14.0281
    -6.62584     0.427253      7.98394      2.08683      13.7528
    -6.91117      1.01163        8.203      1.42321      13.7882
    -5.08759      1.36191      9.99218       3.7454      16.5691
    -6.25676      0.45838      9.07217      2.82503       14.154
    -5.86496     0.263481      7.40707      2.28433      13.6808
    -6.88967   -0.0432251      8.18993      1.85551      13.5654
@fradav fradav self-assigned this Feb 9, 2021
@fradav fradav added enhancement New feature or request model-choice related to the model choice methodology standalone Pure binary standalone labels Feb 9, 2021
@fradav
Copy link
Collaborator

fradav commented Feb 9, 2021

@fradav fradav closed this as completed Feb 9, 2021
@gdurif gdurif reopened this Feb 10, 2021
@gdurif
Copy link
Author

gdurif commented Feb 10, 2021

There is a problem with the scenario id. For instance, with 6 scenarii, there tagged from 2 to 7 instead of from 1 to 6.

Example:

lda_coord <- read.table("modelchoice_out.lda", skip = 1)
table(lda_coord$V6)

   0    2    3    4    5    6    7 
   1 2014 1981 2001 1989 2059 1956

@fradav
Copy link
Collaborator

fradav commented Feb 10, 2021

@fradav fradav closed this as completed Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request model-choice related to the model choice methodology standalone Pure binary standalone
Projects
None yet
Development

No branches or pull requests

2 participants