How do I perform a wald test on STATA to achieve the following? I have a table of that look like the one below. I am trying to write down the distribution of people with 0,1,2,3,4,5 cardiovascular disease risk factors in my sample. Under "All" I will write number of people with these risk factors and under "smoking" and "non-smoking" I will write how many of these people smoke and how many don't. Now, I want to show that the distribution of smokers and non-smokers is significantly different in each row to show that that smoking plays a role in the number of risk factors and wanted to do so with a Wald type test. I wanted help on how I could perform this.
No. of Risk Factors **** All **** Smoking ***** Not smoking
0
1
2
3
4
5
Related Posts with Wald test on STATA to show that distribution among two groups is statistically different as a result of a parameter.
Multilevel binomial logistic regression model with three levels does not convergeDear Statalist users, I am trying to fit a multilevel logistic regression model with a three-level …
ARDL and estimating a shock for dummyDear all, I am trying to estimate the effect of an observed trade shock (the entrance of China in W…
Reshape error: variable id does not uniquely identify the observationsDear All, I am trying to use the reshape command on the data attached, but I keep receiving this er…
Update Stata code for retrieving COVID data?I've greatly enjoyed running Chuck Huber's Stata code that automated the download of COVID data from…
replace the value of variableHi, I am new to Stata. In my case, I have a variable equal to 1, 2,3,4,5 and my task is to make the …
Subscribe to:
Post Comments (Atom)
0 Response to Wald test on STATA to show that distribution among two groups is statistically different as a result of a parameter.
Post a Comment