I would like to estimate the effect of continuous exposure on binary outcomes.
For my dataset, exposure is 'ADLScaled'; covariates are 'Age', 'sex', 'HT', 'DM', 'Stroke', and 'MI'; outcomes is 'sequela'; and weights are 'swtTrimmed'.
I have run the following R code, but I cannot get adjusted correlation.
The output is as follows, and only 'Corr.Un' is shown (Corr.Adj is not):
Balance Measures
Type Corr.Un R.Threshold.Un
Age Contin. -0.8869 Not Balanced, >0.1
sex_男 Binary 0.0013 Balanced, <0.1
HT Binary -0.5920 Not Balanced, >0.1
DM Binary -0.5876 Not Balanced, >0.1
Stroke Binary -0.5057 Not Balanced, >0.1
MI Binary -0.5535 Not Balanced, >0.1
Balance tally for treatment correlations
count
Balanced, <0.1 1
Not Balanced, >0.1 5
Variable with the greatest treatment correlation
Variable Corr.Un R.Threshold.Un
Age -0.8869 Not Balanced, >0.1
Sample sizes
Total
All 15000
I would appreciate it if you could tell me how to calculate adjusted (weighted) correlation values for continuous exposure.
The dataset is as follows: dt_sample.csv
Hello, Noah Greifer
I would like to estimate the effect of continuous exposure on binary outcomes. For my dataset, exposure is 'ADLScaled'; covariates are 'Age', 'sex', 'HT', 'DM', 'Stroke', and 'MI'; outcomes is 'sequela'; and weights are 'swtTrimmed'. I have run the following R code, but I cannot get adjusted correlation.
The output is as follows, and only 'Corr.Un' is shown (Corr.Adj is not):
Balance Measures Type Corr.Un R.Threshold.Un Age Contin. -0.8869 Not Balanced, >0.1 sex_男 Binary 0.0013 Balanced, <0.1 HT Binary -0.5920 Not Balanced, >0.1 DM Binary -0.5876 Not Balanced, >0.1 Stroke Binary -0.5057 Not Balanced, >0.1 MI Binary -0.5535 Not Balanced, >0.1
Balance tally for treatment correlations count Balanced, <0.1 1 Not Balanced, >0.1 5
Variable with the greatest treatment correlation Variable Corr.Un R.Threshold.Un Age -0.8869 Not Balanced, >0.1
Sample sizes Total All 15000
I would appreciate it if you could tell me how to calculate adjusted (weighted) correlation values for continuous exposure. The dataset is as follows: dt_sample.csv
Sincerely yours, yohei-h