Re: [R] Calculating a P for trend

2018-11-29 Thread Bert Gunter
I would suggest that if at all possible, you find a local statistician (your instructor??) with whom to consult. Much of what you are doing appears likely to result in irreproducible nonsense. This list is concerned with R programming, not statistics, although they sometimes do intersect. So I thi

[R] Calculating a P for trend

2018-11-29 Thread Lisa van der Burgh
Hi all, I have a question about calculating a P for trend on my data. Let�s give an example that is similar to my own situation first: I have a continuous outcome, namely BMI. I want to investigate the effect of a specific medicine, let�s call it MedA on BMI. MedA is a variable that is catego