I'm trying to test for the significance of differences in an ordinal measure across two groups in enterprise survey data. For reference, I have the following variables:
I'm looking to use Somers' D because I'd like to test for differences (accounting for ordinality) in invest_plan between manufacturing and services firms, but I'm not too familiar with how to accomplish this via bootstrapping.
As I understand it, I'll need to create my own replicate weights (which have not been provided). Can somebody provide guidance on how to correctly implement this in Stata?
Alternatively, am I better off just doing an ordered logit like the following?
- invest_plan: 0 - Withdraw investment, 1 - Reduce Investment, 2 - Maintain investment, 3 - Expand investment
- sector_num:0 - Manufacturing, 1 - Services
I'm looking to use Somers' D because I'd like to test for differences (accounting for ordinality) in invest_plan between manufacturing and services firms, but I'm not too familiar with how to accomplish this via bootstrapping.
As I understand it, I'll need to create my own replicate weights (which have not been provided). Can somebody provide guidance on how to correctly implement this in Stata?
Alternatively, am I better off just doing an ordered logit like the following?
Code:
svyset [weight=svyweight], strata(Countrysector) svy: ologit invest_plan sector_num
Comment