O would like to check differences between two cohorts in terms of:
- Is there a difference in gender (chi / fisher)
- is there a difference in age ( t test)
- is there a difference in social deprivation- 4 ordinal variable (chi/ fisher)
- is there a difference in comorbidity (charlson - continous) - t test
(1) can I perform all the above tests in one line of code or do I have to write code for each one and let the test run ?
(2) for the categorical social deprivation (would you go for a logit or chi/ fisher test ?
(3) for the Comorbidity- would you go for a t test or a regression ?
i am not going to use any of these tests to predict or model but just to determine baseline differences in the two populations
i have used -table1mc- before which gives its p values but doesn’t say what test it has used.
many thanks
- Is there a difference in gender (chi / fisher)
- is there a difference in age ( t test)
- is there a difference in social deprivation- 4 ordinal variable (chi/ fisher)
- is there a difference in comorbidity (charlson - continous) - t test
(1) can I perform all the above tests in one line of code or do I have to write code for each one and let the test run ?
(2) for the categorical social deprivation (would you go for a logit or chi/ fisher test ?
(3) for the Comorbidity- would you go for a t test or a regression ?
i am not going to use any of these tests to predict or model but just to determine baseline differences in the two populations
i have used -table1mc- before which gives its p values but doesn’t say what test it has used.
many thanks
Comment