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

Seeking Help with Two Small Questions #25

Open
manofcrowd opened this issue Nov 4, 2024 · 0 comments
Open

Seeking Help with Two Small Questions #25

manofcrowd opened this issue Nov 4, 2024 · 0 comments

Comments

@manofcrowd
Copy link

Dear Professor Wu,

I am a student from China studying your code to determine the etiology scores for pathogens detected in pneumonia patients. Your code has been extremely helpful! I have also read your other literature and code tutorials, but I have encountered two small problems during the replication process:

Question 1: I am not clear about the value of k_subclass. Is k a hypothetical value, or is it obtained based on actual data measurements? Could you provide an example of what the subclass of a pathogen would be in reality?

Question 2: I have studied your tutorial on Model Options for NPLCM with Regression. If I set k to 1, this indicates Non-nested models. However, if my covariates are two discrete variables (AGE GROUP, SITE), then the model options would be as follows:
model_options_reg_nonest$likelihood$Eti_formula = ~ -1 + as.factor(AGE GROUP) + as.factor(SITE)
model_options_reg_nonest$likelihood$FPR_formula = list(MBS1 = ~ -1 + as.factor(AGE GROUP) + as.factor(SITE))
Should the Eti_prior be set to c(2,2) or matrix(1, nrow = N.SITE, ncol = length(cause_list)), or matrix(1, nrow = N.SITE * N.AGE GROUP, ncol = length(cause_list))?

I am a beginner, so my questions might seem foolish—apologies for that. Regardless, thank you for sharing your R package and tutorials. If you believe that answering these questions requires a fee, please let me know. Thank you!

Best regards,

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