Displaying 1 result from an estimated 1 matches for "proteinb".
Did you mean:
protein
2011 Mar 23
2
Estimating correlation in multiple measures data
Dear R-helpers,
This may sound simple to you, but I'm a beginner in this, so please be
forgiving.
I have a following problem: two analytes were measured in patient's
blood on 4 occasions: ProteinA and ProteinB. How to correctly evaluate
correlation between ProteinA and ProteinB?
I tried:
x <- data.frame(Patient.ID=rep(1:10, each=4), Visit=rep(c(1:4),10),
ProteinA=rnorm(m=10, n=40), ProteinB=rnorm(m=13,s=0.7,n=40))
gls(ProteinB~ProteinA, data=x, corr=corSymm(form=~Visit|Patient.ID)
In the results...