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

Revise format of input table #2

Open
nicholst opened this issue Jan 18, 2015 · 0 comments
Open

Revise format of input table #2

nicholst opened this issue Jan 18, 2015 · 0 comments

Comments

@nicholst
Copy link
Owner

To simplify usage, change the input table to:

  • Instead of defining K groups with K columns of dummy variables, use a single column that has integer value of the group of that subject, one of 1,...,K.

Then, instead of having to separately specify the number of groups and covariates, it can automatically inferred:

  • Number of groups, inferred from maximum integer; need to check that all K groups have observations.
  • Number of covariates inferred as number of table columns minus 3 (1 for ID#, 1 for group, 1 for filename)

This, of course, will require new code to:

  • Infer the number of columns
  • Convert integer group values into a NxK array of dummy variables

But, having done this, there will be no need to specify the number of groups and covariates on the command line.

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