I would be very grateful if someone could help me with the code for this - I'm reporting the incidence of stroke in patients with diabetes versus no diabetes in 5 year bands, and would like to calculate the P value for trend over time if possible. I've tried the ptrend command but I'm confused about the other syntax. My data looks something like this:
Year Strokes in non-diabetics Strokes in diabetics
2002-2007 238/72243 343/4030
2007-2012 336/74945 282/4375
2012-2017 431/76741 169/4809
Thanks much in advance!
Related Posts with P value for trend
Reshape ProblemHello Statalisters, I have downloaded some information from NZ.Stat (New Zealand Quarterly Work Sta…
Graphs domain-codomain Hello all, Right now I'm using the margins and marginsplot commands to look at the graphs of two o…
Choosing reference/base periods in panel data where the base period varies across firmsHi I am looking to do two things with a panel dataset of firm-year observations. 1. I would like t…
Interaction effectI am curious about the difference between interaction (X##M) and multiplying terms (X + M + X_M, X_M…
Matching country specific data with relationship specific dataHello, I am trying to build up panel data for my gravity model. the dependent variable is trade flo…
Subscribe to:
Post Comments (Atom)
0 Response to P value for trend
Post a Comment